Radiation Dose Summary for Diagnostic Procedures on FHIR
0.1.0 - STU 1 Ballot

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

: TestScript_RDS_Sharing_Verification - TTL Representation

Raw ttl | Download


@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 "RDS-sharing-verification"];
  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 \"RDS-sharing-verification\" </p></div><p><b>url</b>: <code>https://build.fhir.org/ig/HL7/fhir-radiation-dose-summary-ig/TestScript-RDS-sharing-verification.json</code></p><p><b>version</b>: 0.1.0</p><p><b>name</b>: TestScript_RDS_Sharing_Verification</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 sharing data between RDSP actor and a FHIR Server.</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>: patientIdentifier</p><p><b>defaultValue</b>: PAT3421</p><p><b>description</b>: Enter the patient identifier as used in the RDSR: tag(0010,0020) Patient ID</p></blockquote><blockquote><p><b>variable</b></p><p><b>name</b>: deviceIdentifier</p><p><b>defaultValue</b>: 767ER</p><p><b>description</b>: Enter the Device identifier as used in the RDSR: tag(0018,1000) Device Serial Number</p></blockquote><blockquote><p><b>variable</b></p><p><b>name</b>: practitionerFamily</p><p><b>defaultValue</b>: Moore</p><p><b>description</b>: Enter the Practitioner family name as used in the RDSR: TID 1020(Person Participant).EV (113871, DCM, Person ID)</p></blockquote><blockquote><p><b>variable</b></p><p><b>name</b>: practitionerGiven</p><p><b>defaultValue</b>: John</p><p><b>description</b>: Enter the Practitioner given name as used in the RDSR: TID 1020(Person Participant).EV (113871, DCM, Person ID)</p></blockquote><blockquote><p><b>variable</b></p><p><b>name</b>: studyInstanceUID</p><p><b>defaultValue</b>: 1.2.840.121.3.32.0.1.25</p><p><b>description</b>: Enter the Study Instance UID identifying the image study: tag(0020,000D) Study Instance UID</p></blockquote><blockquote><p><b>variable</b></p><p><b>name</b>: patientResourceId</p><p><b>path</b>: Bundle/entry/resource/Patient/id</p><p><b>sourceId</b>: patient-search-response</p></blockquote><blockquote><p><b>variable</b></p><p><b>name</b>: deviceResourceId</p><p><b>path</b>: Bundle/entry/resource/Device/id</p><p><b>sourceId</b>: device-search-response</p></blockquote><blockquote><p><b>variable</b></p><p><b>name</b>: practitionerResourceId</p><p><b>path</b>: Bundle/entry/resource/Practitioner/id</p><p><b>sourceId</b>: practitioner-search-response</p></blockquote><blockquote><p><b>variable</b></p><p><b>name</b>: imagingStudyResourceId</p><p><b>path</b>: Bundle/entry/resource/ImagingStudy/id</p><p><b>sourceId</b>: imagingstudy-search-response</p></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: RDS_Sharing_Verification</p><p><b>description</b>: This is a test to validate the sharing of data between RDSP actor and a FHIR Server. The RDSP actor gathers an RDSR from an irradiating modality (a CT RDSR, an X-Ray RDSR or an RRDSR). Once Data collected, the RDSP will collect the right IDs for the patient, practitioner, ImagingStudy and Device from the FHIR Server, then it will generate the radiation summary resources and share them with the FHIR Server. You can refer to the complete description under : http://hl7.org/fhir/uv/radiation-dose-summary/testing.html#scenario-1-rdsr-summary-to-fhir. This test is executed after this workflow is performed, and the scripts will check the data are well received by the FHIR Server.</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>Search (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code search = 'Search', stated as 'null')</td><td>Patient</td><td>Search for matching Patient related to the identifier ${patientIdentifier}</td><td>json</td><td>true</td><td>?identifier=${patientIdentifier}</td><td>patient-search-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>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() &gt;= 1</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: search_device</p><p><b>description</b>: Search by device 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><td><b>ResponseId</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>Device</td><td>Search for matching Device related to the identifier ${deviceIdentifier}</td><td>json</td><td>true</td><td>?identifier=${deviceIdentifier}</td><td>device-search-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>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() &gt;= 1</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: search_practitioner</p><p><b>description</b>: Search by practitioner name</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>Search (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code search = 'Search', stated as 'null')</td><td>Practitioner</td><td>Search for matching Practitioner related to the family name ${practitionerFamily} and the given name ${practitionerGiven}</td><td>json</td><td>true</td><td>?family=${practitionerFamily}&amp;given=${practitionerGiven}</td><td>practitioner-search-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>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() &gt;= 1</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: search_ImagingStudy</p><p><b>description</b>: Search by ImagingStudy 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><td><b>ResponseId</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>ImagingStudy</td><td>Search for matching ImagingStudy related to the studyInstanceUID ${studyInstanceUID}</td><td>json</td><td>true</td><td>?identifier=urn:oid:${studyInstanceUID}</td><td>imagingstudy-search-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>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() &gt;= 1</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: search_rds</p><p><b>description</b>: Search Radiation Dose Summary resource by patient, device and part-of parameters</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>Search (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code search = 'Search', stated as 'null')</td><td>Observation</td><td>Search for matching Radiation Dose Summary related to the described parameters</td><td>json</td><td>true</td><td>?code=73569-6&amp;device=${deviceResourceId}&amp;patient=${patientResourceId}&amp;part-of=${imagingStudyResourceId}</td><td>rds-search-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>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() &gt;= 1</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-RDS-sharing-verification.json"];
  fhir:TestScript.version [ fhir:value "0.1.0"];
  fhir:TestScript.name [ fhir:value "TestScript_RDS_Sharing_Verification"];
  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 sharing data between RDSP actor and a FHIR Server."];
  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 "patientIdentifier" ];
     fhir:TestScript.variable.defaultValue [ fhir:value "PAT3421" ];
     fhir:TestScript.variable.description [ fhir:value "Enter the patient identifier as used in the RDSR: tag(0010,0020) Patient ID" ]
  ], [
     fhir:index 1;
     fhir:TestScript.variable.name [ fhir:value "deviceIdentifier" ];
     fhir:TestScript.variable.defaultValue [ fhir:value "767ER" ];
     fhir:TestScript.variable.description [ fhir:value "Enter the Device identifier as used in the RDSR: tag(0018,1000) Device Serial Number" ]
  ], [
     fhir:index 2;
     fhir:TestScript.variable.name [ fhir:value "practitionerFamily" ];
     fhir:TestScript.variable.defaultValue [ fhir:value "Moore" ];
     fhir:TestScript.variable.description [ fhir:value "Enter the Practitioner family name as used in the RDSR: TID 1020(Person Participant).EV (113871, DCM, Person ID)" ]
  ], [
     fhir:index 3;
     fhir:TestScript.variable.name [ fhir:value "practitionerGiven" ];
     fhir:TestScript.variable.defaultValue [ fhir:value "John" ];
     fhir:TestScript.variable.description [ fhir:value "Enter the Practitioner given name as used in the RDSR: TID 1020(Person Participant).EV (113871, DCM, Person ID)" ]
  ], [
     fhir:index 4;
     fhir:TestScript.variable.name [ fhir:value "studyInstanceUID" ];
     fhir:TestScript.variable.defaultValue [ fhir:value "1.2.840.121.3.32.0.1.25" ];
     fhir:TestScript.variable.description [ fhir:value "Enter the Study Instance UID identifying the image study: tag(0020,000D) Study Instance UID" ]
  ], [
     fhir:index 5;
     fhir:TestScript.variable.name [ fhir:value "patientResourceId" ];
     fhir:TestScript.variable.path [ fhir:value "Bundle/entry/resource/Patient/id" ];
     fhir:TestScript.variable.sourceId [ fhir:value "patient-search-response" ]
  ], [
     fhir:index 6;
     fhir:TestScript.variable.name [ fhir:value "deviceResourceId" ];
     fhir:TestScript.variable.path [ fhir:value "Bundle/entry/resource/Device/id" ];
     fhir:TestScript.variable.sourceId [ fhir:value "device-search-response" ]
  ], [
     fhir:index 7;
     fhir:TestScript.variable.name [ fhir:value "practitionerResourceId" ];
     fhir:TestScript.variable.path [ fhir:value "Bundle/entry/resource/Practitioner/id" ];
     fhir:TestScript.variable.sourceId [ fhir:value "practitioner-search-response" ]
  ], [
     fhir:index 8;
     fhir:TestScript.variable.name [ fhir:value "imagingStudyResourceId" ];
     fhir:TestScript.variable.path [ fhir:value "Bundle/entry/resource/ImagingStudy/id" ];
     fhir:TestScript.variable.sourceId [ fhir:value "imagingstudy-search-response" ]
  ];
  fhir:TestScript.test [
     fhir:index 0;
     fhir:TestScript.test.name [ fhir:value "RDS_Sharing_Verification" ];
     fhir:TestScript.test.description [ fhir:value "This is a test to validate the sharing of data between RDSP actor and a FHIR Server. The RDSP actor gathers an RDSR from an irradiating modality (a CT RDSR, an X-Ray RDSR or an RRDSR). Once Data collected, the RDSP will collect the right IDs for the patient, practitioner, ImagingStudy and Device from the FHIR Server, then it will generate the radiation summary resources and share them with the FHIR Server. You can refer to the complete description under : http://hl7.org/fhir/uv/radiation-dose-summary/testing.html#scenario-1-rdsr-summary-to-fhir. This test is executed after this workflow is performed, and the scripts will check the data are well received by the FHIR Server." ];
     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 "Patient" ];
         fhir:TestScript.setup.action.operation.description [ fhir:value "Search for matching Patient related to the identifier ${patientIdentifier}" ];
         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 "?identifier=${patientIdentifier}" ];
         fhir:TestScript.setup.action.operation.responseId [ fhir:value "patient-search-response" ]       ]     ], [
       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 1;
     fhir:TestScript.test.name [ fhir:value "search_device" ];
     fhir:TestScript.test.description [ fhir:value "Search by device 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 "Device" ];
         fhir:TestScript.setup.action.operation.description [ fhir:value "Search for matching Device related to the identifier ${deviceIdentifier}" ];
         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 "?identifier=${deviceIdentifier}" ];
         fhir:TestScript.setup.action.operation.responseId [ fhir:value "device-search-response" ]       ]     ], [
       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 "search_practitioner" ];
     fhir:TestScript.test.description [ fhir:value "Search by practitioner name" ];
     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 "Practitioner" ];
         fhir:TestScript.setup.action.operation.description [ fhir:value "Search for matching Practitioner related to the family name ${practitionerFamily} and the given name ${practitionerGiven}" ];
         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 "?family=${practitionerFamily}&given=${practitionerGiven}" ];
         fhir:TestScript.setup.action.operation.responseId [ fhir:value "practitioner-search-response" ]       ]     ], [
       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 "search_ImagingStudy" ];
     fhir:TestScript.test.description [ fhir:value "Search by ImagingStudy 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 "ImagingStudy" ];
         fhir:TestScript.setup.action.operation.description [ fhir:value "Search for matching ImagingStudy related to the studyInstanceUID ${studyInstanceUID}" ];
         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 "?identifier=urn:oid:${studyInstanceUID}" ];
         fhir:TestScript.setup.action.operation.responseId [ fhir:value "imagingstudy-search-response" ]       ]     ], [
       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 "search_rds" ];
     fhir:TestScript.test.description [ fhir:value "Search Radiation Dose Summary resource by patient, device and part-of parameters" ];
     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 for matching Radiation Dose Summary related to the described parameters" ];
         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=${deviceResourceId}&patient=${patientResourceId}&part-of=${imagingStudyResourceId}" ];
         fhir:TestScript.setup.action.operation.responseId [ fhir:value "rds-search-response" ]       ]     ], [
       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 ]       ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.