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_RDS_Sharing_Verification

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

TestScript to validate the sharing data between RDSP actor and a FHIR Server.

StructureDefinition Work Group: ii

url: TestScript TestScript_RDS_Sharing_Verification

version: 1.0.0

name: TestScript_RDS_Sharing_Verification

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 sharing data between RDSP actor and a FHIR Server.

jurisdiction: Global (Whole world)

copyright:

HL7 2021

### Destinations

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

> variable

> name: patientIdentifier

> defaultValue: PAT3421

> description: Enter the patient identifier as used in the RDSR: tag(0010,0020) Patient ID

> variable

> name: deviceIdentifier

> defaultValue: 767ER

> description: Enter the Device identifier as used in the RDSR: tag(0018,1000) Device Serial Number

> variable

> name: practitionerFamily

> defaultValue: Moore

> description: Enter the Practitioner family name as used in the RDSR: TID 1020(Person Participant).EV (113871, DCM, Person ID)

> variable

> name: practitionerGiven

> defaultValue: John

> description: Enter the Practitioner given name as used in the RDSR: TID 1020(Person Participant).EV (113871, DCM, Person ID)

> variable

> name: studyInstanceUID

> defaultValue: 1.2.840.121.3.32.0.1.25

> description: Enter the Study Instance UID identifying the image study: tag(0020,000D) Study Instance UID

> variable

> name: patientResourceId

> path: Bundle/entry/resource/Patient/id

> sourceId: patient-search-response

> variable

> name: deviceResourceId

> path: Bundle/entry/resource/Device/id

> sourceId: device-search-response

> variable

> name: practitionerResourceId

> path: Bundle/entry/resource/Practitioner/id

> sourceId: practitioner-search-response

> variable

> name: imagingStudyResourceId

> path: Bundle/entry/resource/ImagingStudy/id

> sourceId: imagingstudy-search-response

> test

> name: RDS_Sharing_Verification

> description: 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.

> > action

> > ### Operations

> > - | Type | Resource | Description | Accept | EncodeRequestUrl | Params | ResponseId
> > * | Test script operation code search: Search | Patient | Search for matching Patient related to the identifier ${patientIdentifier} | json | true | ?identifier=${patientIdentifier} | patient-search-response

> > action

> > ### Asserts

> > - | Description | Expression | WarningOnly
> > * | Confirm that the total number of response is greater than 1. | Bundle.total.toInteger() >= 1 | false

> test

> name: search_device

> description: Search by device identifier

> > action

> > ### Operations

> > - | Type | Resource | Description | Accept | EncodeRequestUrl | Params | ResponseId
> > * | Test script operation code search: Search | Device | Search for matching Device related to the identifier ${deviceIdentifier} | json | true | ?identifier=${deviceIdentifier} | device-search-response

> > action

> > ### Asserts

> > - | Description | Expression | WarningOnly
> > * | Confirm that the total number of response is greater than 1. | Bundle.total.toInteger() >= 1 | false

> test

> name: search_practitioner

> description: Search by practitioner name

> > action

> > ### Operations

> > - | Type | Resource | Description | Accept | EncodeRequestUrl | Params | ResponseId
> > * | Test script operation code search: Search | Practitioner | Search for matching Practitioner related to the family name ${practitionerFamily} and the given name ${practitionerGiven} | json | true | ?family=${practitionerFamily}&given=${practitionerGiven} | practitioner-search-response

> > action

> > ### Asserts

> > - | Description | Expression | WarningOnly
> > * | Confirm that the total number of response is greater than 1. | Bundle.total.toInteger() >= 1 | false

> test

> name: search_ImagingStudy

> description: Search by ImagingStudy identifier

> > action

> > ### Operations

> > - | Type | Resource | Description | Accept | EncodeRequestUrl | Params | ResponseId
> > * | Test script operation code search: Search | ImagingStudy | Search for matching ImagingStudy related to the studyInstanceUID ${studyInstanceUID} | json | true | ?identifier=urn:oid:${studyInstanceUID} | imagingstudy-search-response

> > action

> > ### Asserts

> > - | Description | Expression | WarningOnly
> > * | Confirm that the total number of response is greater than 1. | Bundle.total.toInteger() >= 1 | false

> test

> name: search_rds

> description: Search Radiation Dose Summary resource by patient, device and part-of parameters

> > action

> > ### Operations

> > - | Type | Resource | Description | Accept | EncodeRequestUrl | Params | ResponseId
> > * | Test script operation code search: Search | Observation | Search for matching Radiation Dose Summary related to the described parameters | json | true | ?code=73569-6&device=${deviceResourceId}&patient=${patientResourceId}&part-of=${imagingStudyResourceId} | rds-search-response

> > action

> > ### Asserts

> > - | Description | Expression | WarningOnly
> > * | Confirm that the total number of response is greater than 1. | Bundle.total.toInteger() >= 1 | false