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

Official URL: http://hl7.org/fhir/uv/radiation-dose-summary/TestScript/RDSP-Simulator | Version: 1.0.0
Standards status: Trial-use | Maturity Level: 2 | Computable Name: TestScript_RDSP_Simulator
Copyright/Legal: HL7 2021

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

StructureDefinition Work Group: ii

url: TestScript TestScript_RDSP_Simulator

version: 1.0.0

name: TestScript_RDSP_Simulator

status: Active

date: 2021-07-17

publisher: HL7 International / Imaging Integration

contact: http://www.hl7.org/Special/committees/imagemgt, HL7 Imaging Integration Workgroup: http://www.hl7.org/Special/committees/imagemgt, Abderrazek Boufahja: abderrazek.boufahja@gehealthcare.com

description:

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

jurisdiction: Global (Whole world)

copyright:

HL7 2021

### Destinations

- | Index | Profile
* | 1 | Test script profile destination type FHIR-Server: FHIR Server

> fixture

> > id

> > rds-post-json

> autocreate: false

> autodelete: false

> resource: Bundle: type = transaction

> 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

> > - | Type | Description | Accept | ContentType | Destination | EncodeRequestUrl | ResponseId | SourceId
> > * | Test script operation code transaction: Transaction | Submit a bundle of resources creating the radiation dose summary | json | json | 1 | true | bundle-post-response | rds-post-json

> > action

> > ### Asserts

> > - | Description | Direction | Operator | ResponseCode | WarningOnly
> > * | Confirm that the returned HTTP status is 200(OK) or 201(Created). | response | in | 200,201 | false

> > action

> > ### Asserts

> > - | Description | Direction | Resource | WarningOnly
> > * | Confirm that the response body contains a Bundle | response | Bundle | false

> test

> name: RDS-Queries-verification-read

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

> > action

> > ### Operations

> > - | Type | Resource | Description | Accept | EncodeRequestUrl | Params | ResponseId
> > * | Test script operation code read: Read | Observation | Read the Observation ${rdsResourceId} | json | true | /${rdsResourceId} | rds-read-response

> > action

> > ### Asserts

> > - | Description | Direction | Operator | ResponseCode | WarningOnly
> > * | Confirm that the returned HTTP status is 200(OK) or 201(Created). | response | in | 200,201 | false

> teardown

> > action

> > ### Operations

> > - | Type | Resource | Description | Accept | EncodeRequestUrl | Params
> > * | Test script operation code delete: Delete | Observation | Relete the Observation ${rdsResourceId} | json | true | /${rdsResourceId}

> > action

> > ### Operations

> > - | Type | Resource | Description | Accept | EncodeRequestUrl | Params
> > * | Test script operation code delete: Delete | ImagingStudy | Relete the ImagingStudy ${imagingStudyResourceId} | json | true | /${imagingStudyResourceId}

> > action

> > ### Operations

> > - | Type | Resource | Description | Accept | EncodeRequestUrl | Params
> > * | Test script operation code delete: Delete | Patient | Relete the Patient ${patientResourceId} | json | true | /${patientResourceId}

> > action

> > ### Operations

> > - | Type | Resource | Description | Accept | EncodeRequestUrl | Params
> > * | Test script operation code delete: Delete | Practitioner | Relete the Practitioner ${practitionerResourceId} | json | true | /${practitionerResourceId}