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

## Testing and Conformance

Page standards status: Informative

This chapter describes testing data and testing plan, and provide some samples for developers.

1. Test Plan - Test plans for different actors
2. Test Data - Test data that can be used
3. Resources Samples - Samples of resources profiled following this IG

### Test Plan

#### Scenario 1: RDSR summary to FHIR

##### Actors

- Radiation Dose Summary Producer (RDSP) actor
- FHIR server
- Radiation Dose Summary Consumer (RDSC) actor

##### Roles

Actors | Roles
--- | ---
Radiation Dose Summary Producer (RDSP) actor | Produce the Radiation Dose Summary resource
FHIR server | Host and Manage the Radiation Dose Summary resource Manage the contextual resources (Patient, Device, ImagingStudy, etc.)
Radiation Dose Summary Consumer (RDSC) actor | Consume Radiation Dose Summary resource (O) Produce Radiation Summary Report

##### Steps

Here are the different steps that needs to be performed:

- The RDSP actor gathers an RDSR from an irradiating modality (a CT RDSR, an X-Ray RDSR or an RRDSR)
- The RDSP actor collects the identifiers of the Patient, the Device, the Practitioner, and the ImagingStudy from the FHIR Server
- The RDSP actor constructs the Radiation Dose Summary resource and POST it to the FHIR server
- The RDSC actor queries the FHIR server and collects radiation summary information
- Optionally, the RDSC actor enhances the FHIR server with the Radiation Summary Report.

##### Validation

- The generated Radiation Summary resources shall pass the validation tool testing, using the FHIR validator
- The sharing of the Radiation Dose Summary resources from the RDSP actor to the FHIR server can be validated through the test script TestScript_RDS_Sharing_Verification
- The accessibility of the FHIR server through searching capabilities can be validated with the test script TestScript_RDSC_Simulator
- The capacity of the FHIR server to accept transactions with the Bundle of resources of Radiation Dose Summary can be tested with the test script TestScript_RDSP_Simulator

#### Scenario 2: Grouping RDSP and FHIR Server

##### Actors

- Radiation Dose Summary Producer (RDSP) actor grouped with FHIR server
- Radiation Dose Summary Consumer (RDSC) actor

##### Roles

Actors | Roles
--- | ---
Radiation Dose Summary Producer (RDSP) actor grouped with FHIR server | Produce internally the Radiation Dose Summary resource Host and Manage the Radiation Dose Summary resource Manage the contextual resources (Patient, Device, ImagingStudy, etc.)
Radiation Dose Summary Consumer (RDSC) actor | Consume Radiation Dose Summary resource

##### Steps

Here are the different steps that needs to be performed:

- The (RDSP actor, FHIR server) gathers an RDSR from an irradiating modality (a CT RDSR, an X-Ray RDSR or an RRDSR)
- The (RDSP actor, FHIR server) constructs and exposes the resources related to the Patient, ImagingStudy, Practitioner, Device and Radiation Dose Summary resources.
- The RDSC actor queries the (RDSP actor, FHIR server) and collects radiation summary information

##### Validation

- The generated Radiation Summary resources shall pass the validation tool testing, using the FHIR validator
- The accessibility of the FHIR server through searching capabilities can be validated with the test script TestScript_RDSC_Simulator

### Test Data

Some RDSRs and RRDSRs can be downloaded from IHE google drive, and can be used in the generation of the Radiation Dose Summary resources. Here are the links to these DICOM objects:

- REM samples (CT RDSRs and X-Ray RDSRs)
- REM-NM samples (RRDSRs)

Also, examples of RDSRs and RRDSRs can be accessed through the IHE Connectathon Samples sharing.

### Resources samples

#### Radiation Dose Summary Consumer search query samples

Here are some examples of queries and searching use cases that can be performed by the RDSC actor:

Query Description | Query URL
--- | ---
Search all the Dose summaries within the FHIR Server | GET /fhir/Observation?code=73569-6
View specific Dose Summary | GET /fhir/Observation/19
Access Device dose summaries | GET /fhir/Observation?code=73569-6&device=22
Search Dose Summary of a patient through the last year | GET /fhir/Observation?code=73569-6&patient=8&date=gt2020-01-01
Search Dose Summary related to the study | GET /fhir/Observation?code=73569-6&part-of=1232

#### Radiation Dose Summary Profile samples

##### CT sample

Here is an example of the Radiation Dose Summary Profile resource related to CT exam, and its dependencies:

- RadiationDoseSummary-139
- ImagingStudy-342
- Patient-56
- Practitioner-33
- ModalityDevice-539

A sample of Dose Summary Report profile exists with relationship to Indications profile and Pregnancy Status:

- RadiationSummaryReport-1
- Indications-1
- PregnancyStatus-1

##### X-Ray sample

Here is an example of the Radiation Dose Summary Profile resource related to XA exam, and its dependencies:

- RadiationDoseSummary-545
- ImagingStudy-344
- Patient-56
- Practitioner-33
- ModalityDevice-12

##### NM sample

Here is an example of the Radiation Dose Summary Profile resource related to Radiopharmaceutical administration, and its dependencies:

- RadiationDoseSummary-122
- ImagingStudy-22
- Patient-56
- Practitioner-33