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 - XML Representation

Raw xml | Download



<TestScript xmlns="http://hl7.org/fhir">
  <id value="RDS-sharing-verification"/>
  <text>
    <status value="generated"/>
    <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>
  </text>
  <url
       value="https://build.fhir.org/ig/HL7/fhir-radiation-dose-summary-ig/TestScript-RDS-sharing-verification.json"/>
  <version value="0.1.0"/>
  <name value="TestScript_RDS_Sharing_Verification"/>
  <status value="active"/>
  <date value="2021-07-17"/>
  <publisher value="HL7 Imaging Integration Working Group"/>
  <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@ge.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>