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_RDSP_Simulator - 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 "RDSP-Simulator"] ; #
      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 RDSP-Simulator</b></p><a name=\"RDSP-Simulator\"> </a><a name=\"hcRDSP-Simulator\"> </a><p><b>StructureDefinition Work Group</b>: ii</p><p><b>url</b>: <a href=\"TestScript-RDSP-Simulator.html\">TestScript TestScript_RDSP_Simulator</a></p><p><b>version</b>: 1.0.0</p><p><b>name</b>: TestScript_RDSP_Simulator</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 FHIR Server capabilities against an RDSP actor.</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>fixture</b></p><blockquote><p><b>id</b></p>rds-post-json</blockquote><p><b>autocreate</b>: false</p><p><b>autodelete</b>: false</p><p><b>resource</b>: <a href=\"Bundle-Bundle-RDS-resources.html\">Bundle: type = transaction</a></p></blockquote><blockquote><p><b>variable</b></p><p><b>name</b>: rdsResourceId</p><p><b>path</b>: Bundle/entry/resource/Observation/id</p><p><b>sourceId</b>: bundle-post-response</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>: bundle-post-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>: bundle-post-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>: bundle-post-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>: bundle-post-response</p></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: RDS-Queries-verification-POST</p><p><b>description</b>: This is a Test to validate the FHIR server capabilities according to Radiation Dose Summary searching possibilities.</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>Description</b></td><td><b>Accept</b></td><td><b>ContentType</b></td><td><b>Destination</b></td><td><b>EncodeRequestUrl</b></td><td><b>ResponseId</b></td><td><b>SourceId</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-transaction\">Test script operation code transaction</a>: Transaction</td><td>Submit a bundle of resources creating the radiation dose summary</td><td>json</td><td>json</td><td>1</td><td>true</td><td>bundle-post-response</td><td>rds-post-json</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>Direction</b></td><td><b>Operator</b></td><td><b>ResponseCode</b></td><td><b>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</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 style=\"display: none\">-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Resource</b></td><td><b>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Confirm that the response body contains a Bundle</td><td>response</td><td>Bundle</td><td>false</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: RDS-Queries-verification-read</p><p><b>description</b>: Read the posted Observation as a Radiation Dose Summary resource</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-read\">Test script operation code read</a>: Read</td><td>Observation</td><td>Read the 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 style=\"display: none\">-</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 style=\"display: none\">*</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><blockquote><p><b>teardown</b></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></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-delete\">Test script operation code delete</a>: Delete</td><td>Observation</td><td>Relete the Observation ${rdsResourceId}</td><td>json</td><td>true</td><td>/${rdsResourceId}</td></tr></table></blockquote><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></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-delete\">Test script operation code delete</a>: Delete</td><td>ImagingStudy</td><td>Relete the ImagingStudy ${imagingStudyResourceId}</td><td>json</td><td>true</td><td>/${imagingStudyResourceId}</td></tr></table></blockquote><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></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-delete\">Test script operation code delete</a>: Delete</td><td>Patient</td><td>Relete the Patient ${patientResourceId}</td><td>json</td><td>true</td><td>/${patientResourceId}</td></tr></table></blockquote><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></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-delete\">Test script operation code delete</a>: Delete</td><td>Practitioner</td><td>Relete the Practitioner ${practitionerResourceId}</td><td>json</td><td>true</td><td>/${practitionerResourceId}</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/RDSP-Simulator"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "1.0.0"] ; #
      fhir:name [ fhir:v "TestScript_RDSP_Simulator"] ; #
      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 FHIR Server capabilities against an RDSP actor."] ; #
      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:fixture ( [
    fhir:id [ fhir:v "rds-post-json" ] ;
    fhir:autocreate [ fhir:v false ] ;
    fhir:autodelete [ fhir:v false ] ;
    fhir:resource [
    fhir:reference [ fhir:v "Bundle/Bundle-RDS-resources" ]     ]
      ] ) ; #
      fhir:variable ( [
    fhir:name [ fhir:v "rdsResourceId" ] ;
    fhir:path [ fhir:v "Bundle/entry/resource/Observation/id" ] ;
    fhir:sourceId [ fhir:v "bundle-post-response" ]
      ] [
    fhir:name [ fhir:v "patientResourceId" ] ;
    fhir:path [ fhir:v "Bundle/entry/resource/Patient/id" ] ;
    fhir:sourceId [ fhir:v "bundle-post-response" ]
      ] [
    fhir:name [ fhir:v "deviceResourceId" ] ;
    fhir:path [ fhir:v "Bundle/entry/resource/Device/id" ] ;
    fhir:sourceId [ fhir:v "bundle-post-response" ]
      ] [
    fhir:name [ fhir:v "practitionerResourceId" ] ;
    fhir:path [ fhir:v "Bundle/entry/resource/Practitioner/id" ] ;
    fhir:sourceId [ fhir:v "bundle-post-response" ]
      ] [
    fhir:name [ fhir:v "imagingStudyResourceId" ] ;
    fhir:path [ fhir:v "Bundle/entry/resource/ImagingStudy/id" ] ;
    fhir:sourceId [ fhir:v "bundle-post-response" ]
      ] ) ; #
      fhir:test ( [
    fhir:name [ fhir:v "RDS-Queries-verification-POST" ] ;
    fhir:description [ fhir:v "This is a Test to validate the FHIR server capabilities according to Radiation Dose Summary searching possibilities." ] ;
        ( fhir:action [
    fhir:operation [
    fhir:type [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "transaction" ]         ] ;
    fhir:description [ fhir:v "Submit a bundle of resources creating the radiation dose summary" ] ;
    fhir:accept [ fhir:v "json" ] ;
    fhir:contentType [ fhir:v "json" ] ;
    fhir:destination [ fhir:v 1 ] ;
    fhir:encodeRequestUrl [ fhir:v true ] ;
    fhir:responseId [ fhir:v "bundle-post-response" ] ;
    fhir:sourceId [ fhir:v "rds-post-json" ]       ]     ] [
    fhir:assert [
    fhir:description [ fhir:v "Confirm that the returned HTTP status is 200(OK) or 201(Created)." ] ;
    fhir:direction [ fhir:v "response" ] ;
    fhir:operator [ fhir:v "in" ] ;
    fhir:responseCode [ fhir:v "200,201" ] ;
    fhir:warningOnly [ fhir:v false ]       ]     ] [
    fhir:assert [
    fhir:description [ fhir:v "Confirm that the response body contains a Bundle" ] ;
    fhir:direction [ fhir:v "response" ] ;
    fhir:resource [ fhir:v "Bundle" ] ;
    fhir:warningOnly [ fhir:v false ]       ]     ] )
      ] [
    fhir:name [ fhir:v "RDS-Queries-verification-read" ] ;
    fhir:description [ fhir:v "Read the posted Observation as a Radiation Dose Summary resource" ] ;
        ( fhir:action [
    fhir:operation [
    fhir:type [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "read" ]         ] ;
    fhir:resource [ fhir:v "Observation" ] ;
    fhir:description [ fhir:v "Read the Observation ${rdsResourceId}" ] ;
    fhir:accept [ fhir:v "json" ] ;
    fhir:encodeRequestUrl [ fhir:v true ] ;
    fhir:params [ fhir:v "/${rdsResourceId}" ] ;
    fhir:responseId [ fhir:v "rds-read-response" ]       ]     ] [
    fhir:assert [
    fhir:description [ fhir:v "Confirm that the returned HTTP status is 200(OK) or 201(Created)." ] ;
    fhir:direction [ fhir:v "response" ] ;
    fhir:operator [ fhir:v "in" ] ;
    fhir:responseCode [ fhir:v "200,201" ] ;
    fhir:warningOnly [ fhir:v false ]       ]     ] )
      ] ) ; #
      fhir:teardown [
        ( fhir:action [
    fhir:operation [
    fhir:type [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "delete" ]         ] ;
    fhir:resource [ fhir:v "Observation" ] ;
    fhir:description [ fhir:v "Relete the Observation ${rdsResourceId}" ] ;
    fhir:accept [ fhir:v "json" ] ;
    fhir:encodeRequestUrl [ fhir:v true ] ;
    fhir:params [ fhir:v "/${rdsResourceId}" ]       ]     ] [
    fhir:operation [
    fhir:type [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "delete" ]         ] ;
    fhir:resource [ fhir:v "ImagingStudy" ] ;
    fhir:description [ fhir:v "Relete the ImagingStudy ${imagingStudyResourceId}" ] ;
    fhir:accept [ fhir:v "json" ] ;
    fhir:encodeRequestUrl [ fhir:v true ] ;
    fhir:params [ fhir:v "/${imagingStudyResourceId}" ]       ]     ] [
    fhir:operation [
    fhir:type [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "delete" ]         ] ;
    fhir:resource [ fhir:v "Patient" ] ;
    fhir:description [ fhir:v "Relete the Patient ${patientResourceId}" ] ;
    fhir:accept [ fhir:v "json" ] ;
    fhir:encodeRequestUrl [ fhir:v true ] ;
    fhir:params [ fhir:v "/${patientResourceId}" ]       ]     ] [
    fhir:operation [
    fhir:type [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "delete" ]         ] ;
    fhir:resource [ fhir:v "Practitioner" ] ;
    fhir:description [ fhir:v "Relete the Practitioner ${practitionerResourceId}" ] ;
    fhir:accept [ fhir:v "json" ] ;
    fhir:encodeRequestUrl [ fhir:v true ] ;
    fhir:params [ fhir:v "/${practitionerResourceId}" ]       ]     ] )
      ] . #