Radiation Dose Summary for Diagnostic Procedures on FHIR
0.1.0 - ci-build International flag

Radiation Dose Summary for Diagnostic Procedures on FHIR, published by HL7 Imaging Integration Working Group. This is not an authorized publication; it is the continuous build for version 0.1.0). 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 - JSON Representation

Active as of 2021-07-17

Raw json | Download


{
  "resourceType" : "TestScript",
  "id" : "RDSP-Simulator",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: TestScript</b><a name=\"RDSP-Simulator\"> </a></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 TestScript &quot;RDSP-Simulator&quot; </p></div><p><b>url</b>: <code>https://build.fhir.org/ig/HL7/fhir-radiation-dose-summary-ig/TestScript-RDSP-Simulator.json</code></p><p><b>version</b>: 0.1.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 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 FHIR Server capabilities against an RDSP actor.</p><p><b>jurisdiction</b>: Global (Whole 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 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>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>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/Bundle-RDS-resources</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>Transaction (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code transaction = 'Transaction', stated as 'null')</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>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</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>Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')</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>Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')</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>Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')</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>Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')</td><td>Practitioner</td><td>Relete the Practitioner ${practitionerResourceId}</td><td>json</td><td>true</td><td>/${practitionerResourceId}</td></tr></table></blockquote></blockquote></div>"
  },
  "url" : "https://build.fhir.org/ig/HL7/fhir-radiation-dose-summary-ig/TestScript-RDSP-Simulator.json",
  "version" : "0.1.0",
  "name" : "TestScript_RDSP_Simulator",
  "status" : "active",
  "date" : "2021-07-17",
  "publisher" : "HL7 Imaging Integration Working Group",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/imagemgt"
        }
      ]
    },
    {
      "name" : "HL7 Imaging Integration Workgroup",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/imagemgt"
        }
      ]
    },
    {
      "name" : "Abderrazek Boufahja",
      "telecom" : [
        {
          "system" : "email",
          "value" : "abderrazek.boufahja@ge.com"
        }
      ]
    }
  ],
  "description" : "TestScript to validate the FHIR Server capabilities against an RDSP actor.",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "copyright" : "HL7 2021",
  "destination" : [
    {
      "index" : 1,
      "profile" : {
        "system" : "http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types",
        "code" : "FHIR-Server",
        "display" : "FHIR Server"
      }
    }
  ],
  "fixture" : [
    {
      "id" : "rds-post-json",
      "autocreate" : false,
      "autodelete" : false,
      "resource" : {
        "reference" : "Bundle/Bundle-RDS-resources"
      }
    }
  ],
  "variable" : [
    {
      "name" : "rdsResourceId",
      "path" : "Bundle/entry/resource/Observation/id",
      "sourceId" : "bundle-post-response"
    },
    {
      "name" : "patientResourceId",
      "path" : "Bundle/entry/resource/Patient/id",
      "sourceId" : "bundle-post-response"
    },
    {
      "name" : "deviceResourceId",
      "path" : "Bundle/entry/resource/Device/id",
      "sourceId" : "bundle-post-response"
    },
    {
      "name" : "practitionerResourceId",
      "path" : "Bundle/entry/resource/Practitioner/id",
      "sourceId" : "bundle-post-response"
    },
    {
      "name" : "imagingStudyResourceId",
      "path" : "Bundle/entry/resource/ImagingStudy/id",
      "sourceId" : "bundle-post-response"
    }
  ],
  "test" : [
    {
      "name" : "RDS-Queries-verification-POST",
      "description" : "This is a Test to validate the FHIR server capabilities according to Radiation Dose Summary searching possibilities.",
      "action" : [
        {
          "operation" : {
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code" : "transaction"
            },
            "description" : "Submit a bundle of resources creating the radiation dose summary",
            "accept" : "json",
            "contentType" : "json",
            "destination" : 1,
            "encodeRequestUrl" : true,
            "responseId" : "bundle-post-response",
            "sourceId" : "rds-post-json"
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned HTTP status is 200(OK) or 201(Created).",
            "direction" : "response",
            "operator" : "in",
            "responseCode" : "200,201",
            "warningOnly" : false
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the response body contains a Bundle",
            "direction" : "response",
            "resource" : "Bundle",
            "warningOnly" : false
          }
        }
      ]
    },
    {
      "name" : "RDS-Queries-verification-read",
      "description" : "Read the posted Observation as a Radiation Dose Summary resource",
      "action" : [
        {
          "operation" : {
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code" : "read"
            },
            "resource" : "Observation",
            "description" : "Read the Observation ${rdsResourceId}",
            "accept" : "json",
            "encodeRequestUrl" : true,
            "params" : "/${rdsResourceId}",
            "responseId" : "rds-read-response"
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned HTTP status is 200(OK) or 201(Created).",
            "direction" : "response",
            "operator" : "in",
            "responseCode" : "200,201",
            "warningOnly" : false
          }
        }
      ]
    }
  ],
  "teardown" : {
    "action" : [
      {
        "operation" : {
          "type" : {
            "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
            "code" : "delete"
          },
          "resource" : "Observation",
          "description" : "Relete the Observation ${rdsResourceId}",
          "accept" : "json",
          "encodeRequestUrl" : true,
          "params" : "/${rdsResourceId}"
        }
      },
      {
        "operation" : {
          "type" : {
            "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
            "code" : "delete"
          },
          "resource" : "ImagingStudy",
          "description" : "Relete the ImagingStudy ${imagingStudyResourceId}",
          "accept" : "json",
          "encodeRequestUrl" : true,
          "params" : "/${imagingStudyResourceId}"
        }
      },
      {
        "operation" : {
          "type" : {
            "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
            "code" : "delete"
          },
          "resource" : "Patient",
          "description" : "Relete the Patient ${patientResourceId}",
          "accept" : "json",
          "encodeRequestUrl" : true,
          "params" : "/${patientResourceId}"
        }
      },
      {
        "operation" : {
          "type" : {
            "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
            "code" : "delete"
          },
          "resource" : "Practitioner",
          "description" : "Relete the Practitioner ${practitionerResourceId}",
          "accept" : "json",
          "encodeRequestUrl" : true,
          "params" : "/${practitionerResourceId}"
        }
      }
    ]
  }
}