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

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

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @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:id [ fhir:v "RDS-sharing-verification"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div "<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>\n</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>\n</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>"^^rdf:XMLLiteral
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "ii"     ]
      ] ) ; #
      fhir:url [ fhir:v "http://hl7.org/fhir/uv/radiation-dose-summary/TestScript/RDS-sharing-verification"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "1.0.0"] ; #
      fhir:name [ fhir:v "TestScript_RDS_Sharing_Verification"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:date [ fhir:v "2021-07-17"^^xsd:date] ; #
      fhir:publisher [ fhir:v "HL7 International / Imaging Integration"] ; #
      fhir:contact ( [
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://www.hl7.org/Special/committees/imagemgt" ]     ] )
      ] [
    fhir:name [ fhir:v "HL7 Imaging Integration Workgroup" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://www.hl7.org/Special/committees/imagemgt" ]     ] )
      ] [
    fhir:name [ fhir:v "Abderrazek Boufahja" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "abderrazek.boufahja@gehealthcare.com" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "TestScript to validate the sharing data between RDSP actor and a FHIR Server."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "001" ]     ] )
      ] ) ; #
      fhir:copyright [ fhir:v "HL7 2021"] ; #
      fhir:destination ( [
    fhir:index [ fhir:v 1 ] ;
    fhir:profile [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "FHIR-Server" ] ;
    fhir:display [ fhir:v "FHIR Server" ]     ]
      ] ) ; #
      fhir:variable ( [
    fhir:name [ fhir:v "patientIdentifier" ] ;
    fhir:defaultValue [ fhir:v "PAT3421" ] ;
    fhir:description [ fhir:v "Enter the patient identifier as used in the RDSR: tag(0010,0020) Patient ID" ]
      ] [
    fhir:name [ fhir:v "deviceIdentifier" ] ;
    fhir:defaultValue [ fhir:v "767ER" ] ;
    fhir:description [ fhir:v "Enter the Device identifier as used in the RDSR: tag(0018,1000) Device Serial Number" ]
      ] [
    fhir:name [ fhir:v "practitionerFamily" ] ;
    fhir:defaultValue [ fhir:v "Moore" ] ;
    fhir:description [ fhir:v "Enter the Practitioner family name as used in the RDSR: TID 1020(Person Participant).EV (113871, DCM, Person ID)" ]
      ] [
    fhir:name [ fhir:v "practitionerGiven" ] ;
    fhir:defaultValue [ fhir:v "John" ] ;
    fhir:description [ fhir:v "Enter the Practitioner given name as used in the RDSR: TID 1020(Person Participant).EV (113871, DCM, Person ID)" ]
      ] [
    fhir:name [ fhir:v "studyInstanceUID" ] ;
    fhir:defaultValue [ fhir:v "1.2.840.121.3.32.0.1.25" ] ;
    fhir:description [ fhir:v "Enter the Study Instance UID identifying the image study: tag(0020,000D) Study Instance UID" ]
      ] [
    fhir:name [ fhir:v "patientResourceId" ] ;
    fhir:path [ fhir:v "Bundle/entry/resource/Patient/id" ] ;
    fhir:sourceId [ fhir:v "patient-search-response" ]
      ] [
    fhir:name [ fhir:v "deviceResourceId" ] ;
    fhir:path [ fhir:v "Bundle/entry/resource/Device/id" ] ;
    fhir:sourceId [ fhir:v "device-search-response" ]
      ] [
    fhir:name [ fhir:v "practitionerResourceId" ] ;
    fhir:path [ fhir:v "Bundle/entry/resource/Practitioner/id" ] ;
    fhir:sourceId [ fhir:v "practitioner-search-response" ]
      ] [
    fhir:name [ fhir:v "imagingStudyResourceId" ] ;
    fhir:path [ fhir:v "Bundle/entry/resource/ImagingStudy/id" ] ;
    fhir:sourceId [ fhir:v "imagingstudy-search-response" ]
      ] ) ; #
      fhir:test ( [
    fhir:name [ fhir:v "RDS_Sharing_Verification" ] ;
    fhir:description [ fhir:v "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:action [
    fhir:operation [
    fhir:type [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "search" ]         ] ;
    fhir:resource [ fhir:v "Patient" ] ;
    fhir:description [ fhir:v "Search for matching Patient related to the identifier ${patientIdentifier}" ] ;
    fhir:accept [ fhir:v "json" ] ;
    fhir:encodeRequestUrl [ fhir:v true ] ;
    fhir:params [ fhir:v "?identifier=${patientIdentifier}" ] ;
    fhir:responseId [ fhir:v "patient-search-response" ]       ]     ] [
    fhir:assert [
    fhir:description [ fhir:v "Confirm that the total number of response is greater than 1." ] ;
    fhir:expression [ fhir:v "Bundle.total.toInteger() >= 1" ] ;
    fhir:warningOnly [ fhir:v false ]       ]     ] )
      ] [
    fhir:name [ fhir:v "search_device" ] ;
    fhir:description [ fhir:v "Search by device identifier" ] ;
        ( fhir:action [
    fhir:operation [
    fhir:type [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "search" ]         ] ;
    fhir:resource [ fhir:v "Device" ] ;
    fhir:description [ fhir:v "Search for matching Device related to the identifier ${deviceIdentifier}" ] ;
    fhir:accept [ fhir:v "json" ] ;
    fhir:encodeRequestUrl [ fhir:v true ] ;
    fhir:params [ fhir:v "?identifier=${deviceIdentifier}" ] ;
    fhir:responseId [ fhir:v "device-search-response" ]       ]     ] [
    fhir:assert [
    fhir:description [ fhir:v "Confirm that the total number of response is greater than 1." ] ;
    fhir:expression [ fhir:v "Bundle.total.toInteger() >= 1" ] ;
    fhir:warningOnly [ fhir:v false ]       ]     ] )
      ] [
    fhir:name [ fhir:v "search_practitioner" ] ;
    fhir:description [ fhir:v "Search by practitioner name" ] ;
        ( fhir:action [
    fhir:operation [
    fhir:type [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "search" ]         ] ;
    fhir:resource [ fhir:v "Practitioner" ] ;
    fhir:description [ fhir:v "Search for matching Practitioner related to the family name ${practitionerFamily} and the given name ${practitionerGiven}" ] ;
    fhir:accept [ fhir:v "json" ] ;
    fhir:encodeRequestUrl [ fhir:v true ] ;
    fhir:params [ fhir:v "?family=${practitionerFamily}&given=${practitionerGiven}" ] ;
    fhir:responseId [ fhir:v "practitioner-search-response" ]       ]     ] [
    fhir:assert [
    fhir:description [ fhir:v "Confirm that the total number of response is greater than 1." ] ;
    fhir:expression [ fhir:v "Bundle.total.toInteger() >= 1" ] ;
    fhir:warningOnly [ fhir:v false ]       ]     ] )
      ] [
    fhir:name [ fhir:v "search_ImagingStudy" ] ;
    fhir:description [ fhir:v "Search by ImagingStudy identifier" ] ;
        ( fhir:action [
    fhir:operation [
    fhir:type [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "search" ]         ] ;
    fhir:resource [ fhir:v "ImagingStudy" ] ;
    fhir:description [ fhir:v "Search for matching ImagingStudy related to the studyInstanceUID ${studyInstanceUID}" ] ;
    fhir:accept [ fhir:v "json" ] ;
    fhir:encodeRequestUrl [ fhir:v true ] ;
    fhir:params [ fhir:v "?identifier=urn:oid:${studyInstanceUID}" ] ;
    fhir:responseId [ fhir:v "imagingstudy-search-response" ]       ]     ] [
    fhir:assert [
    fhir:description [ fhir:v "Confirm that the total number of response is greater than 1." ] ;
    fhir:expression [ fhir:v "Bundle.total.toInteger() >= 1" ] ;
    fhir:warningOnly [ fhir:v false ]       ]     ] )
      ] [
    fhir:name [ fhir:v "search_rds" ] ;
    fhir:description [ fhir:v "Search Radiation Dose Summary resource by patient, device and part-of parameters" ] ;
        ( fhir:action [
    fhir:operation [
    fhir:type [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "search" ]         ] ;
    fhir:resource [ fhir:v "Observation" ] ;
    fhir:description [ fhir:v "Search for matching Radiation Dose Summary related to the described parameters" ] ;
    fhir:accept [ fhir:v "json" ] ;
    fhir:encodeRequestUrl [ fhir:v true ] ;
    fhir:params [ fhir:v "?code=73569-6&device=${deviceResourceId}&patient=${patientResourceId}&part-of=${imagingStudyResourceId}" ] ;
    fhir:responseId [ fhir:v "rds-search-response" ]       ]     ] [
    fhir:assert [
    fhir:description [ fhir:v "Confirm that the total number of response is greater than 1." ] ;
    fhir:expression [ fhir:v "Bundle.total.toInteger() >= 1" ] ;
    fhir:warningOnly [ fhir:v false ]       ]     ] )
      ] ) . #