This page is part of the Radiation Dose Summary for Diagnostic Procedures on FHIR (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
a fhir:TestScript;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "RDSC-Simulator"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"RDSC-Simulator\" </p></div><p><b>url</b>: <code>https://build.fhir.org/ig/HL7/fhir-radiation-dose-summary-ig/TestScript-RDSC-Simulator.json</code></p><p><b>version</b>: 0.1.0</p><p><b>name</b>: TestScript_RDSC_Simulator</p><p><b>status</b>: active</p><p><b>date</b>: 2021-07-17</p><p><b>publisher</b>: HL7 Imaging Integration Working Group</p><p><b>contact</b>: <a href=\"http://www.hl7.org/Special/committees/imagemgt\">http://www.hl7.org/Special/committees/imagemgt</a>, HL7 Imaging Integration Workgroup: <a href=\"http://www.hl7.org/Special/committees/imagemgt\">http://www.hl7.org/Special/committees/imagemgt</a>, Abderrazek Boufahja: <a href=\"mailto:abderrazek.boufahja@ge.com\">abderrazek.boufahja@ge.com</a></p><p><b>description</b>: TestScript to validate the FHIR Server searching capabilities.</p><p><b>jurisdiction</b>: World <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (m49.htm#001)</span></p><p><b>copyright</b>: HL7 2021</p><h3>Destinations</h3><table class=\"grid\"><tr><td>-</td><td><b>Index</b></td><td><b>Profile</b></td></tr><tr><td>*</td><td>1</td><td>FHIR Server (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types code FHIR-Server = 'FHIR Server', stated as 'FHIR Server')</td></tr></table><blockquote><p><b>variable</b></p><p><b>name</b>: rdsResourceId</p><p><b>defaultValue</b>: 2535717</p><p><b>description</b>: Enter the resource ID of the Observation describing a Radiation Dose Summary, registered in your server.</p></blockquote><blockquote><p><b>variable</b></p><p><b>name</b>: patientId</p><p><b>expression</b>: Observation.subject.reference.replaceMatches('.*Patient/','').replaceMatches('/_history.*','')</p><p><b>sourceId</b>: rds-read-response</p></blockquote><blockquote><p><b>variable</b></p><p><b>name</b>: deviceId</p><p><b>expression</b>: Observation.device.reference.replaceMatches('.*Device/','').replaceMatches('/_history.*','')</p><p><b>sourceId</b>: rds-read-response</p></blockquote><blockquote><p><b>variable</b></p><p><b>name</b>: practitionerId</p><p><b>expression</b>: Observation.performer.reference.replaceMatches('.*Practitioner/','').replaceMatches('/_history.*','')</p><p><b>sourceId</b>: rds-read-response</p></blockquote><blockquote><p><b>variable</b></p><p><b>name</b>: imagingStudyId</p><p><b>expression</b>: Observation.partOf.reference.replaceMatches('.*(MedicationAdministration|MedicationDispense|MedicationStatement|Procedure|Immunization|ImagingStudy)/','').replaceMatches('/_history.*','')</p><p><b>sourceId</b>: rds-read-response</p></blockquote><blockquote><p><b>variable</b></p><p><b>name</b>: date</p><p><b>path</b>: Observation/effectiveDateTime/@value</p><p><b>sourceId</b>: rds-read-response</p></blockquote><blockquote><p><b>variable</b></p><p><b>name</b>: identifier</p><p><b>path</b>: Observation/identifier/value</p><p><b>sourceId</b>: rds-read-response</p></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Observation_read</p><p><b>description</b>: Read provided Observation - the radiation dose summary</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Params</b></td><td><b>ResponseId</b></td></tr><tr><td>*</td><td>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>Observation</td><td>Read the Radiation Dose Summary observation ${rdsResourceId}</td><td>json</td><td>true</td><td>/${rdsResourceId}</td><td>rds-read-response</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Operator</b></td><td><b>ResponseCode</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 200(OK) or 201(Created).</td><td>response</td><td>in</td><td>200,201</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Operator</b></td><td><b>Path</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned Observation is not empty.</td><td>response</td><td>notEmpty</td><td>Observation/id</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Observation_search_patient</p><p><b>description</b>: Search radiation dose summary by patient</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Params</b></td></tr><tr><td>*</td><td>Search (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code search = 'Search', stated as 'null')</td><td>Observation</td><td>Search Radiation Dose Summary using the patientId ${patientId}</td><td>json</td><td>true</td><td>?code=73569-6&patient=${patientId}</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the total number of response is greater than 1.</td><td>Bundle.total.toInteger() >= 1</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Observation_search_device</p><p><b>description</b>: Search radiation dose summary by device</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Params</b></td></tr><tr><td>*</td><td>Search (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code search = 'Search', stated as 'null')</td><td>Observation</td><td>Search Radiation Dose Summary using the deviceId ${deviceId}</td><td>json</td><td>true</td><td>?code=73569-6&device=${deviceId}</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the total number of response is greater than 1.</td><td>Bundle.total.toInteger() >= 1</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Observation_search_partof</p><p><b>description</b>: Search radiation dose summary by part-of</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Params</b></td></tr><tr><td>*</td><td>Search (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code search = 'Search', stated as 'null')</td><td>Observation</td><td>Search Radiation Dose Summary using the ImagingStudy ID ${imagingStudyId}</td><td>json</td><td>true</td><td>?code=73569-6&part-of=${imagingStudyId}</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the total number of response is greater than 1.</td><td>Bundle.total.toInteger() >= 1</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Observation_search_identifier</p><p><b>description</b>: Search radiation dose summary by identifier</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Params</b></td></tr><tr><td>*</td><td>Search (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code search = 'Search', stated as 'null')</td><td>Observation</td><td>Search Radiation Dose Summary using the identifier of the Observation ${identifier}</td><td>json</td><td>true</td><td>?code=73569-6&identifier=${identifier}</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the total number of response is greater than 1.</td><td>Bundle.total.toInteger() >= 1</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Observation_search_date</p><p><b>description</b>: Search radiation dose summary by date</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Params</b></td></tr><tr><td>*</td><td>Search (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code search = 'Search', stated as 'null')</td><td>Observation</td><td>Search Radiation Dose Summary using the date of the Observation ${date}</td><td>json</td><td>true</td><td>?code=73569-6&date=${date}</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the total number of response is greater than 1.</td><td>Bundle.total.toInteger() >= 1</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Observation_read_patient</p><p><b>description</b>: Read patient resource</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Params</b></td><td><b>ResponseId</b></td></tr><tr><td>*</td><td>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>Patient</td><td>Read the Patient ${patientId}</td><td>json</td><td>true</td><td>/${patientId}</td><td>patient-read-response</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Operator</b></td><td><b>ResponseCode</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 200(OK) or 201(Created).</td><td>response</td><td>in</td><td>200,201</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Operator</b></td><td><b>Path</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned Patient is not empty.</td><td>response</td><td>notEmpty</td><td>id</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Observation_read_device</p><p><b>description</b>: Read device resource</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Params</b></td><td><b>ResponseId</b></td></tr><tr><td>*</td><td>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>Device</td><td>Read the Device ${deviceId}</td><td>json</td><td>true</td><td>/${deviceId}</td><td>device-read-response</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Operator</b></td><td><b>ResponseCode</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 200(OK) or 201(Created).</td><td>response</td><td>in</td><td>200,201</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Operator</b></td><td><b>Path</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned Device is not empty.</td><td>response</td><td>notEmpty</td><td>id</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Observation_read_practitioner</p><p><b>description</b>: Read practitioner resource</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Params</b></td><td><b>ResponseId</b></td></tr><tr><td>*</td><td>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>Practitioner</td><td>Read the Practitioner ${practitionerId}</td><td>json</td><td>true</td><td>/${practitionerId}</td><td>practitioner-read-response</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Operator</b></td><td><b>ResponseCode</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 200(OK) or 201(Created).</td><td>response</td><td>in</td><td>200,201</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Operator</b></td><td><b>Path</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned Practitioner is not empty.</td><td>response</td><td>notEmpty</td><td>id</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Observation_read_imagingstudy</p><p><b>description</b>: Read imagingstudy resource</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>EncodeRequestUrl</b></td><td><b>Params</b></td><td><b>ResponseId</b></td></tr><tr><td>*</td><td>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>ImagingStudy</td><td>Read the ImagingStudy ${imagingStudyId}</td><td>json</td><td>true</td><td>/${imagingStudyId}</td><td>imagingstudy-read-response</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Operator</b></td><td><b>ResponseCode</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned HTTP status is 200(OK) or 201(Created).</td><td>response</td><td>in</td><td>200,201</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Operator</b></td><td><b>Path</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>Confirm that the returned ImagingStudy is not empty.</td><td>response</td><td>notEmpty</td><td>id</td><td>false</td></tr></table></blockquote></blockquote></div>"
];
fhir:TestScript.url [ fhir:value "https://build.fhir.org/ig/HL7/fhir-radiation-dose-summary-ig/TestScript-RDSC-Simulator.json"];
fhir:TestScript.version [ fhir:value "0.1.0"];
fhir:TestScript.name [ fhir:value "TestScript_RDSC_Simulator"];
fhir:TestScript.status [ fhir:value "active"];
fhir:TestScript.date [ fhir:value "2021-07-17"^^xsd:date];
fhir:TestScript.publisher [ fhir:value "HL7 Imaging Integration Working Group"];
fhir:TestScript.contact [
fhir:index 0;
fhir:ContactDetail.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "url" ];
fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/imagemgt" ] ]
], [
fhir:index 1;
fhir:ContactDetail.name [ fhir:value "HL7 Imaging Integration Workgroup" ];
fhir:ContactDetail.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "url" ];
fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/imagemgt" ] ]
], [
fhir:index 2;
fhir:ContactDetail.name [ fhir:value "Abderrazek Boufahja" ];
fhir:ContactDetail.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "email" ];
fhir:ContactPoint.value [ fhir:value "abderrazek.boufahja@ge.com" ] ]
];
fhir:TestScript.description [ fhir:value "TestScript to validate the FHIR Server searching capabilities."];
fhir:TestScript.jurisdiction [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ];
fhir:Coding.code [ fhir:value "001" ] ]
];
fhir:TestScript.copyright [ fhir:value "HL7 2021"];
fhir:TestScript.destination [
fhir:index 0;
fhir:TestScript.destination.index [ fhir:value "1"^^xsd:integer ];
fhir:TestScript.destination.profile [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types" ];
fhir:Coding.code [ fhir:value "FHIR-Server" ];
fhir:Coding.display [ fhir:value "FHIR Server" ] ]
];
fhir:TestScript.variable [
fhir:index 0;
fhir:TestScript.variable.name [ fhir:value "rdsResourceId" ];
fhir:TestScript.variable.defaultValue [ fhir:value "2535717" ];
fhir:TestScript.variable.description [ fhir:value "Enter the resource ID of the Observation describing a Radiation Dose Summary, registered in your server." ]
], [
fhir:index 1;
fhir:TestScript.variable.name [ fhir:value "patientId" ];
fhir:TestScript.variable.expression [ fhir:value "Observation.subject.reference.replaceMatches('.*Patient/','').replaceMatches('/_history.*','')" ];
fhir:TestScript.variable.sourceId [ fhir:value "rds-read-response" ]
], [
fhir:index 2;
fhir:TestScript.variable.name [ fhir:value "deviceId" ];
fhir:TestScript.variable.expression [ fhir:value "Observation.device.reference.replaceMatches('.*Device/','').replaceMatches('/_history.*','')" ];
fhir:TestScript.variable.sourceId [ fhir:value "rds-read-response" ]
], [
fhir:index 3;
fhir:TestScript.variable.name [ fhir:value "practitionerId" ];
fhir:TestScript.variable.expression [ fhir:value "Observation.performer.reference.replaceMatches('.*Practitioner/','').replaceMatches('/_history.*','')" ];
fhir:TestScript.variable.sourceId [ fhir:value "rds-read-response" ]
], [
fhir:index 4;
fhir:TestScript.variable.name [ fhir:value "imagingStudyId" ];
fhir:TestScript.variable.expression [ fhir:value "Observation.partOf.reference.replaceMatches('.*(MedicationAdministration|MedicationDispense|MedicationStatement|Procedure|Immunization|ImagingStudy)/','').replaceMatches('/_history.*','')" ];
fhir:TestScript.variable.sourceId [ fhir:value "rds-read-response" ]
], [
fhir:index 5;
fhir:TestScript.variable.name [ fhir:value "date" ];
fhir:TestScript.variable.path [ fhir:value "Observation/effectiveDateTime/@value" ];
fhir:TestScript.variable.sourceId [ fhir:value "rds-read-response" ]
], [
fhir:index 6;
fhir:TestScript.variable.name [ fhir:value "identifier" ];
fhir:TestScript.variable.path [ fhir:value "Observation/identifier/value" ];
fhir:TestScript.variable.sourceId [ fhir:value "rds-read-response" ]
];
fhir:TestScript.test [
fhir:index 0;
fhir:TestScript.test.name [ fhir:value "Observation_read" ];
fhir:TestScript.test.description [ fhir:value "Read provided Observation - the radiation dose summary" ];
fhir:TestScript.test.action [
fhir:index 0;
fhir:TestScript.test.action.operation [
fhir:TestScript.setup.action.operation.type [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-operation-codes" ];
fhir:Coding.code [ fhir:value "read" ] ];
fhir:TestScript.setup.action.operation.resource [ fhir:value "Observation" ];
fhir:TestScript.setup.action.operation.description [ fhir:value "Read the Radiation Dose Summary observation ${rdsResourceId}" ];
fhir:TestScript.setup.action.operation.accept [ fhir:value "json" ];
fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.setup.action.operation.params [ fhir:value "/${rdsResourceId}" ];
fhir:TestScript.setup.action.operation.responseId [ fhir:value "rds-read-response" ] ] ], [
fhir:index 1;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the returned HTTP status is 200(OK) or 201(Created)." ];
fhir:TestScript.setup.action.assert.direction [ fhir:value "response" ];
fhir:TestScript.setup.action.assert.operator [ fhir:value "in" ];
fhir:TestScript.setup.action.assert.responseCode [ fhir:value "200,201" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ], [
fhir:index 2;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the returned Observation is not empty." ];
fhir:TestScript.setup.action.assert.direction [ fhir:value "response" ];
fhir:TestScript.setup.action.assert.operator [ fhir:value "notEmpty" ];
fhir:TestScript.setup.action.assert.path [ fhir:value "Observation/id" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ]
], [
fhir:index 1;
fhir:TestScript.test.name [ fhir:value "Observation_search_patient" ];
fhir:TestScript.test.description [ fhir:value "Search radiation dose summary by patient" ];
fhir:TestScript.test.action [
fhir:index 0;
fhir:TestScript.test.action.operation [
fhir:TestScript.setup.action.operation.type [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-operation-codes" ];
fhir:Coding.code [ fhir:value "search" ] ];
fhir:TestScript.setup.action.operation.resource [ fhir:value "Observation" ];
fhir:TestScript.setup.action.operation.description [ fhir:value "Search Radiation Dose Summary using the patientId ${patientId}" ];
fhir:TestScript.setup.action.operation.accept [ fhir:value "json" ];
fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.setup.action.operation.params [ fhir:value "?code=73569-6&patient=${patientId}" ] ] ], [
fhir:index 1;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the total number of response is greater than 1." ];
fhir:TestScript.setup.action.assert.expression [ fhir:value "Bundle.total.toInteger() >= 1" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ]
], [
fhir:index 2;
fhir:TestScript.test.name [ fhir:value "Observation_search_device" ];
fhir:TestScript.test.description [ fhir:value "Search radiation dose summary by device" ];
fhir:TestScript.test.action [
fhir:index 0;
fhir:TestScript.test.action.operation [
fhir:TestScript.setup.action.operation.type [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-operation-codes" ];
fhir:Coding.code [ fhir:value "search" ] ];
fhir:TestScript.setup.action.operation.resource [ fhir:value "Observation" ];
fhir:TestScript.setup.action.operation.description [ fhir:value "Search Radiation Dose Summary using the deviceId ${deviceId}" ];
fhir:TestScript.setup.action.operation.accept [ fhir:value "json" ];
fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.setup.action.operation.params [ fhir:value "?code=73569-6&device=${deviceId}" ] ] ], [
fhir:index 1;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the total number of response is greater than 1." ];
fhir:TestScript.setup.action.assert.expression [ fhir:value "Bundle.total.toInteger() >= 1" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ]
], [
fhir:index 3;
fhir:TestScript.test.name [ fhir:value "Observation_search_partof" ];
fhir:TestScript.test.description [ fhir:value "Search radiation dose summary by part-of" ];
fhir:TestScript.test.action [
fhir:index 0;
fhir:TestScript.test.action.operation [
fhir:TestScript.setup.action.operation.type [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-operation-codes" ];
fhir:Coding.code [ fhir:value "search" ] ];
fhir:TestScript.setup.action.operation.resource [ fhir:value "Observation" ];
fhir:TestScript.setup.action.operation.description [ fhir:value "Search Radiation Dose Summary using the ImagingStudy ID ${imagingStudyId}" ];
fhir:TestScript.setup.action.operation.accept [ fhir:value "json" ];
fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.setup.action.operation.params [ fhir:value "?code=73569-6&part-of=${imagingStudyId}" ] ] ], [
fhir:index 1;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the total number of response is greater than 1." ];
fhir:TestScript.setup.action.assert.expression [ fhir:value "Bundle.total.toInteger() >= 1" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ]
], [
fhir:index 4;
fhir:TestScript.test.name [ fhir:value "Observation_search_identifier" ];
fhir:TestScript.test.description [ fhir:value "Search radiation dose summary by identifier" ];
fhir:TestScript.test.action [
fhir:index 0;
fhir:TestScript.test.action.operation [
fhir:TestScript.setup.action.operation.type [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-operation-codes" ];
fhir:Coding.code [ fhir:value "search" ] ];
fhir:TestScript.setup.action.operation.resource [ fhir:value "Observation" ];
fhir:TestScript.setup.action.operation.description [ fhir:value "Search Radiation Dose Summary using the identifier of the Observation ${identifier}" ];
fhir:TestScript.setup.action.operation.accept [ fhir:value "json" ];
fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.setup.action.operation.params [ fhir:value "?code=73569-6&identifier=${identifier}" ] ] ], [
fhir:index 1;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the total number of response is greater than 1." ];
fhir:TestScript.setup.action.assert.expression [ fhir:value "Bundle.total.toInteger() >= 1" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ]
], [
fhir:index 5;
fhir:TestScript.test.name [ fhir:value "Observation_search_date" ];
fhir:TestScript.test.description [ fhir:value "Search radiation dose summary by date" ];
fhir:TestScript.test.action [
fhir:index 0;
fhir:TestScript.test.action.operation [
fhir:TestScript.setup.action.operation.type [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-operation-codes" ];
fhir:Coding.code [ fhir:value "search" ] ];
fhir:TestScript.setup.action.operation.resource [ fhir:value "Observation" ];
fhir:TestScript.setup.action.operation.description [ fhir:value "Search Radiation Dose Summary using the date of the Observation ${date}" ];
fhir:TestScript.setup.action.operation.accept [ fhir:value "json" ];
fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.setup.action.operation.params [ fhir:value "?code=73569-6&date=${date}" ] ] ], [
fhir:index 1;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the total number of response is greater than 1." ];
fhir:TestScript.setup.action.assert.expression [ fhir:value "Bundle.total.toInteger() >= 1" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ]
], [
fhir:index 6;
fhir:TestScript.test.name [ fhir:value "Observation_read_patient" ];
fhir:TestScript.test.description [ fhir:value "Read patient resource" ];
fhir:TestScript.test.action [
fhir:index 0;
fhir:TestScript.test.action.operation [
fhir:TestScript.setup.action.operation.type [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-operation-codes" ];
fhir:Coding.code [ fhir:value "read" ] ];
fhir:TestScript.setup.action.operation.resource [ fhir:value "Patient" ];
fhir:TestScript.setup.action.operation.description [ fhir:value "Read the Patient ${patientId}" ];
fhir:TestScript.setup.action.operation.accept [ fhir:value "json" ];
fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.setup.action.operation.params [ fhir:value "/${patientId}" ];
fhir:TestScript.setup.action.operation.responseId [ fhir:value "patient-read-response" ] ] ], [
fhir:index 1;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the returned HTTP status is 200(OK) or 201(Created)." ];
fhir:TestScript.setup.action.assert.direction [ fhir:value "response" ];
fhir:TestScript.setup.action.assert.operator [ fhir:value "in" ];
fhir:TestScript.setup.action.assert.responseCode [ fhir:value "200,201" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ], [
fhir:index 2;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the returned Patient is not empty." ];
fhir:TestScript.setup.action.assert.direction [ fhir:value "response" ];
fhir:TestScript.setup.action.assert.operator [ fhir:value "notEmpty" ];
fhir:TestScript.setup.action.assert.path [ fhir:value "id" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ]
], [
fhir:index 7;
fhir:TestScript.test.name [ fhir:value "Observation_read_device" ];
fhir:TestScript.test.description [ fhir:value "Read device resource" ];
fhir:TestScript.test.action [
fhir:index 0;
fhir:TestScript.test.action.operation [
fhir:TestScript.setup.action.operation.type [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-operation-codes" ];
fhir:Coding.code [ fhir:value "read" ] ];
fhir:TestScript.setup.action.operation.resource [ fhir:value "Device" ];
fhir:TestScript.setup.action.operation.description [ fhir:value "Read the Device ${deviceId}" ];
fhir:TestScript.setup.action.operation.accept [ fhir:value "json" ];
fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.setup.action.operation.params [ fhir:value "/${deviceId}" ];
fhir:TestScript.setup.action.operation.responseId [ fhir:value "device-read-response" ] ] ], [
fhir:index 1;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the returned HTTP status is 200(OK) or 201(Created)." ];
fhir:TestScript.setup.action.assert.direction [ fhir:value "response" ];
fhir:TestScript.setup.action.assert.operator [ fhir:value "in" ];
fhir:TestScript.setup.action.assert.responseCode [ fhir:value "200,201" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ], [
fhir:index 2;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the returned Device is not empty." ];
fhir:TestScript.setup.action.assert.direction [ fhir:value "response" ];
fhir:TestScript.setup.action.assert.operator [ fhir:value "notEmpty" ];
fhir:TestScript.setup.action.assert.path [ fhir:value "id" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ]
], [
fhir:index 8;
fhir:TestScript.test.name [ fhir:value "Observation_read_practitioner" ];
fhir:TestScript.test.description [ fhir:value "Read practitioner resource" ];
fhir:TestScript.test.action [
fhir:index 0;
fhir:TestScript.test.action.operation [
fhir:TestScript.setup.action.operation.type [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-operation-codes" ];
fhir:Coding.code [ fhir:value "read" ] ];
fhir:TestScript.setup.action.operation.resource [ fhir:value "Practitioner" ];
fhir:TestScript.setup.action.operation.description [ fhir:value "Read the Practitioner ${practitionerId}" ];
fhir:TestScript.setup.action.operation.accept [ fhir:value "json" ];
fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.setup.action.operation.params [ fhir:value "/${practitionerId}" ];
fhir:TestScript.setup.action.operation.responseId [ fhir:value "practitioner-read-response" ] ] ], [
fhir:index 1;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the returned HTTP status is 200(OK) or 201(Created)." ];
fhir:TestScript.setup.action.assert.direction [ fhir:value "response" ];
fhir:TestScript.setup.action.assert.operator [ fhir:value "in" ];
fhir:TestScript.setup.action.assert.responseCode [ fhir:value "200,201" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ], [
fhir:index 2;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the returned Practitioner is not empty." ];
fhir:TestScript.setup.action.assert.direction [ fhir:value "response" ];
fhir:TestScript.setup.action.assert.operator [ fhir:value "notEmpty" ];
fhir:TestScript.setup.action.assert.path [ fhir:value "id" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ]
], [
fhir:index 9;
fhir:TestScript.test.name [ fhir:value "Observation_read_imagingstudy" ];
fhir:TestScript.test.description [ fhir:value "Read imagingstudy resource" ];
fhir:TestScript.test.action [
fhir:index 0;
fhir:TestScript.test.action.operation [
fhir:TestScript.setup.action.operation.type [
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-operation-codes" ];
fhir:Coding.code [ fhir:value "read" ] ];
fhir:TestScript.setup.action.operation.resource [ fhir:value "ImagingStudy" ];
fhir:TestScript.setup.action.operation.description [ fhir:value "Read the ImagingStudy ${imagingStudyId}" ];
fhir:TestScript.setup.action.operation.accept [ fhir:value "json" ];
fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "true"^^xsd:boolean ];
fhir:TestScript.setup.action.operation.params [ fhir:value "/${imagingStudyId}" ];
fhir:TestScript.setup.action.operation.responseId [ fhir:value "imagingstudy-read-response" ] ] ], [
fhir:index 1;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the returned HTTP status is 200(OK) or 201(Created)." ];
fhir:TestScript.setup.action.assert.direction [ fhir:value "response" ];
fhir:TestScript.setup.action.assert.operator [ fhir:value "in" ];
fhir:TestScript.setup.action.assert.responseCode [ fhir:value "200,201" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ], [
fhir:index 2;
fhir:TestScript.test.action.assert [
fhir:TestScript.setup.action.assert.description [ fhir:value "Confirm that the returned ImagingStudy is not empty." ];
fhir:TestScript.setup.action.assert.direction [ fhir:value "response" ];
fhir:TestScript.setup.action.assert.operator [ fhir:value "notEmpty" ];
fhir:TestScript.setup.action.assert.path [ fhir:value "id" ];
fhir:TestScript.setup.action.assert.warningOnly [ fhir:value "false"^^xsd:boolean ] ] ]
].
# - ontology header ------------------------------------------------------------
a owl:Ontology;
owl:imports fhir:fhir.ttl.