Radiation Dose Summary for Diagnostic Procedures on FHIR
1.0.0 - STU 1

Radiation Dose Summary for Diagnostic Procedures on FHIR, published by HL7 International / Imaging Integration. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-radiation-dose-summary-ig/ and changes regularly. See the Directory of published versions

## : TestScript_RDS_Sharing_Verification - XML Representation

Page standards status: Trial-use | Maturity Level: 2

Raw xml | Download

    <TestScript xmlns="http://hl7.org/fhir">
      <id value="RDS-sharing-verification"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: TestScript RDS-sharing-verification</b></p><a name="RDS-sharing-verification"> </a><a name="hcRDS-sharing-verification"> </a><p><b>StructureDefinition Work Group</b>: ii</p><p><b>url</b>: <a href="TestScript-RDS-sharing-verification.html">TestScript TestScript_RDS_Sharing_Verification</a></p><p><b>version</b>: 1.0.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 International / Imaging Integration</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@gehealthcare.com">abderrazek.boufahja@gehealthcare.com</a></p><p><b>description</b>: </p><div><p>TestScript to validate the sharing data between RDSP actor and a FHIR Server.</p>
    </div><p><b>jurisdiction</b>: <span title="Codes:{http://unstats.un.org/unsd/methods/m49/m49.htm 001}">Global (Whole world)</span></p><p><b>copyright</b>: </p><div><p>HL7 2021</p>
    </div><h3>Destinations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Index</b></td><td><b>Profile</b></td></tr><tr><td style="display: none">*</td><td>1</td><td><a href="http://terminology.hl7.org/6.5.0/CodeSystem-testscript-profile-destination-types.html#testscript-profile-destination-types-FHIR-Server">Test script profile destination type FHIR-Server</a>: 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 style="display: none">-</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 style="display: none">*</td><td><a href="http://terminology.hl7.org/6.5.0/CodeSystem-testscript-operation-codes.html#testscript-operation-codes-search">Test script operation code search</a>: Search</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 style="display: none">-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</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 style="display: none">-</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 style="display: none">*</td><td><a href="http://terminology.hl7.org/6.5.0/CodeSystem-testscript-operation-codes.html#testscript-operation-codes-search">Test script operation code search</a>: Search</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 style="display: none">-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</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 style="display: none">-</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 style="display: none">*</td><td><a href="http://terminology.hl7.org/6.5.0/CodeSystem-testscript-operation-codes.html#testscript-operation-codes-search">Test script operation code search</a>: Search</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 style="display: none">-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</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 style="display: none">-</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 style="display: none">*</td><td><a href="http://terminology.hl7.org/6.5.0/CodeSystem-testscript-operation-codes.html#testscript-operation-codes-search">Test script operation code search</a>: Search</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 style="display: none">-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</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 style="display: none">-</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 style="display: none">*</td><td><a href="http://terminology.hl7.org/6.5.0/CodeSystem-testscript-operation-codes.html#testscript-operation-codes-search">Test script operation code search</a>: Search</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 style="display: none">-</td><td><b>Description</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</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>
      </text>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
        <valueCode value="ii"/>
      </extension>
      <url
           value="http://hl7.org/fhir/uv/radiation-dose-summary/TestScript/RDS-sharing-verification"/>
      <version value="1.0.0"/>
      <name value="TestScript_RDS_Sharing_Verification"/>
      <status value="active"/>
      <date value="2021-07-17"/>
      <publisher value="HL7 International / Imaging Integration"/>
      <contact>
        <telecom>
          <system value="url"/>
          <value value="http://www.hl7.org/Special/committees/imagemgt"/>
        </telecom>
      </contact>
      <contact>
        <name value="HL7 Imaging Integration Workgroup"/>
        <telecom>
          <system value="url"/>
          <value value="http://www.hl7.org/Special/committees/imagemgt"/>
        </telecom>
      </contact>
      <contact>
        <name value="Abderrazek Boufahja"/>
        <telecom>
          <system value="email"/>
          <value value="abderrazek.boufahja@gehealthcare.com"/>
        </telecom>
      </contact>
      <description
                   value="TestScript to validate the sharing data between RDSP actor and a FHIR Server."/>
      <jurisdiction>
        <coding>
          <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
          <code value="001"/>
        </coding>
      </jurisdiction>
      <copyright value="HL7 2021"/>
      <destination>
        <index value="1"/>
        <profile>
          <system
                  value="http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types"/>
          <code value="FHIR-Server"/>
          <display value="FHIR Server"/>
        </profile>
      </destination>
      <variable>
        <name value="patientIdentifier"/>
        <defaultValue value="PAT3421"/>
        <description
                     value="Enter the patient identifier as used in the RDSR: tag(0010,0020) Patient ID"/>
      </variable>
      <variable>
        <name value="deviceIdentifier"/>
        <defaultValue value="767ER"/>
        <description
                     value="Enter the Device identifier as used in the RDSR: tag(0018,1000) Device Serial Number"/>
      </variable>
      <variable>
        <name value="practitionerFamily"/>
        <defaultValue value="Moore"/>
        <description
                     value="Enter the Practitioner family name as used in the RDSR: TID 1020(Person Participant).EV (113871, DCM, Person ID)"/>
      </variable>
      <variable>
        <name value="practitionerGiven"/>
        <defaultValue value="John"/>
        <description
                     value="Enter the Practitioner given name as used in the RDSR: TID 1020(Person Participant).EV (113871, DCM, Person ID)"/>
      </variable>
      <variable>
        <name value="studyInstanceUID"/>
        <defaultValue value="1.2.840.121.3.32.0.1.25"/>
        <description
                     value="Enter the Study Instance UID identifying the image study: tag(0020,000D) Study Instance UID"/>
      </variable>
      <variable>
        <name value="patientResourceId"/>
        <path value="Bundle/entry/resource/Patient/id"/>
        <sourceId value="patient-search-response"/>
      </variable>
      <variable>
        <name value="deviceResourceId"/>
        <path value="Bundle/entry/resource/Device/id"/>
        <sourceId value="device-search-response"/>
      </variable>
      <variable>
        <name value="practitionerResourceId"/>
        <path value="Bundle/entry/resource/Practitioner/id"/>
        <sourceId value="practitioner-search-response"/>
      </variable>
      <variable>
        <name value="imagingStudyResourceId"/>
        <path value="Bundle/entry/resource/ImagingStudy/id"/>
        <sourceId value="imagingstudy-search-response"/>
      </variable>
      <test>
        <name value="RDS_Sharing_Verification"/>
        <description
                     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."/>
        <action>
          <operation>
            <type>
              <system
                      value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
              <code value="search"/>
            </type>
            <resource value="Patient"/>
            <description
                         value="Search for matching Patient related to the identifier ${patientIdentifier}"/>
            <accept value="json"/>
            <encodeRequestUrl value="true"/>
            <params value="?identifier=${patientIdentifier}"/>
            <responseId value="patient-search-response"/>
          </operation>
        </action>
        <action>
          <assert>
            <description
                         value="Confirm that the total number of response is greater than 1."/>
            <expression value="Bundle.total.toInteger() &gt;= 1"/>
            <warningOnly value="false"/>
          </assert>
        </action>
      </test>
      <test>
        <name value="search_device"/>
        <description value="Search by device identifier"/>
        <action>
          <operation>
            <type>
              <system
                      value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
              <code value="search"/>
            </type>
            <resource value="Device"/>
            <description
                         value="Search for matching Device related to the identifier ${deviceIdentifier}"/>
            <accept value="json"/>
            <encodeRequestUrl value="true"/>
            <params value="?identifier=${deviceIdentifier}"/>
            <responseId value="device-search-response"/>
          </operation>
        </action>
        <action>
          <assert>
            <description
                         value="Confirm that the total number of response is greater than 1."/>
            <expression value="Bundle.total.toInteger() &gt;= 1"/>
            <warningOnly value="false"/>
          </assert>
        </action>
      </test>
      <test>
        <name value="search_practitioner"/>
        <description value="Search by practitioner name"/>
        <action>
          <operation>
            <type>
              <system
                      value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
              <code value="search"/>
            </type>
            <resource value="Practitioner"/>
            <description
                         value="Search for matching Practitioner related to the family name ${practitionerFamily} and the given name ${practitionerGiven}"/>
            <accept value="json"/>
            <encodeRequestUrl value="true"/>
            <params
                    value="?family=${practitionerFamily}&amp;given=${practitionerGiven}"/>
            <responseId value="practitioner-search-response"/>
          </operation>
        </action>
        <action>
          <assert>
            <description
                         value="Confirm that the total number of response is greater than 1."/>
            <expression value="Bundle.total.toInteger() &gt;= 1"/>
            <warningOnly value="false"/>
          </assert>
        </action>
      </test>
      <test>
        <name value="search_ImagingStudy"/>
        <description value="Search by ImagingStudy identifier"/>
        <action>
          <operation>
            <type>
              <system
                      value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
              <code value="search"/>
            </type>
            <resource value="ImagingStudy"/>
            <description
                         value="Search for matching ImagingStudy related to the studyInstanceUID ${studyInstanceUID}"/>
            <accept value="json"/>
            <encodeRequestUrl value="true"/>
            <params value="?identifier=urn:oid:${studyInstanceUID}"/>
            <responseId value="imagingstudy-search-response"/>
          </operation>
        </action>
        <action>
          <assert>
            <description
                         value="Confirm that the total number of response is greater than 1."/>
            <expression value="Bundle.total.toInteger() &gt;= 1"/>
            <warningOnly value="false"/>
          </assert>
        </action>
      </test>
      <test>
        <name value="search_rds"/>
        <description
                     value="Search Radiation Dose Summary resource by patient, device and part-of parameters"/>
        <action>
          <operation>
            <type>
              <system
                      value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
              <code value="search"/>
            </type>
            <resource value="Observation"/>
            <description
                         value="Search for matching Radiation Dose Summary related to the described parameters"/>
            <accept value="json"/>
            <encodeRequestUrl value="true"/>
            <params
                    value="?code=73569-6&amp;device=${deviceResourceId}&amp;patient=${patientResourceId}&amp;part-of=${imagingStudyResourceId}"/>
            <responseId value="rds-search-response"/>
          </operation>
        </action>
        <action>
          <assert>
            <description
                         value="Confirm that the total number of response is greater than 1."/>
            <expression value="Bundle.total.toInteger() &gt;= 1"/>
            <warningOnly value="false"/>
          </assert>
        </action>
      </test>
    </TestScript>