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: TestScript_RDSP_Simulator

Generated Narrative

Resource "RDSP-Simulator"

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: http://www.hl7.org/Special/committees/imagemgt, HL7 Imaging Integration Workgroup: http://www.hl7.org/Special/committees/imagemgt, Abderrazek Boufahja: abderrazek.boufahja@ge.com

description: TestScript to validate the FHIR Server capabilities against an RDSP actor.

jurisdiction: World (m49.htm#001)

copyright: HL7 2021

Destinations

-IndexProfile
*1FHIR Server (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types code FHIR-Server = 'FHIR Server', stated as 'FHIR Server')

fixture

autocreate: false

autodelete: false

resource: Bundle/Bundle-RDS-resources

variable

name: rdsResourceId

path: Bundle/entry/resource/Observation/id

sourceId: bundle-post-response

variable

name: patientResourceId

path: Bundle/entry/resource/Patient/id

sourceId: bundle-post-response

variable

name: deviceResourceId

path: Bundle/entry/resource/Device/id

sourceId: bundle-post-response

variable

name: practitionerResourceId

path: Bundle/entry/resource/Practitioner/id

sourceId: bundle-post-response

variable

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

Operations

-TypeDescriptionAcceptContentTypeDestinationEncodeRequestUrlResponseIdSourceId
*Transaction (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code transaction = 'Transaction', stated as 'null')Submit a bundle of resources creating the radiation dose summaryjsonjson1truebundle-post-responserds-post-json

action

Asserts

-DescriptionDirectionOperatorResponseCodeWarningOnly
*Confirm that the returned HTTP status is 200(OK) or 201(Created).responsein200,201false

action

Asserts

-DescriptionDirectionResourceWarningOnly
*Confirm that the response body contains a BundleresponseBundlefalse

test

name: RDS-Queries-verification-read

description: Read the posted Observation as a Radiation Dose Summary resource

action

Operations

-TypeResourceDescriptionAcceptEncodeRequestUrlParamsResponseId
*Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')ObservationRead the Observation ${rdsResourceId}jsontrue/${rdsResourceId}rds-read-response

action

Asserts

-DescriptionDirectionOperatorResponseCodeWarningOnly
*Confirm that the returned HTTP status is 200(OK) or 201(Created).responsein200,201false

teardown

action

Operations

-TypeResourceDescriptionAcceptEncodeRequestUrlParams
*Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')ObservationRelete the Observation ${rdsResourceId}jsontrue/${rdsResourceId}

action

Operations

-TypeResourceDescriptionAcceptEncodeRequestUrlParams
*Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')ImagingStudyRelete the ImagingStudy ${imagingStudyResourceId}jsontrue/${imagingStudyResourceId}

action

Operations

-TypeResourceDescriptionAcceptEncodeRequestUrlParams
*Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')PatientRelete the Patient ${patientResourceId}jsontrue/${patientResourceId}

action

Operations

-TypeResourceDescriptionAcceptEncodeRequestUrlParams
*Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null')PractitionerRelete the Practitioner ${practitionerResourceId}jsontrue/${practitionerResourceId}