- XNAT 1.7 or 1.8
- Container service plugin installed (this is done by default in XNAT 1.8)
- Docker installed on XNAT server
-
Building the data type plugin
cd plugin ./gradlew jar
-
Copy the plugin to the XNAT plugin directory
cp build/libs/xnat-dicomqc-plugin-0.0.1.jar $XNAT_HOME/plugins
-
Restart the XNAT server
For example on Redhat/Centos sudo systemctl restart tomcat
- Install the data type
- Log in to XNAT as administrator. From the menu select
Administer->Data Types - Select
Set up additional data type - Select
xnat_dicomqc:DICOMQCData - Enter
DICOMQCDatafor the singular and plural names, otherwise just clickNextleaving other options unchanged DICOMQCDatashould now be listed in the data types list
- Install the Docker image
- From the menu select
Administer->Plugin Settings - Select
Images and commands - Select
Add new image - For
Image Nameentermartincraig/xnat-dicomqc. Leave version blank - Select
Pull image
- Add the command definition if required
Note that there is a bug in some versions of XNAT that means the command definition is not correctly extracted
from the Docker image. Under Administer->Plugin Settings, look for DICOMQC under Command Configurations. If
it is not present you will need to do the following:
- Under
Images and Commandsexpand hidden images - Find
martincraig/xnat-dicomqcand clickAdd Command - Delete any text, and paste the contents of
docker/dicom_qc_cmd.jsoninto the window - Click
Save command
- Enable the command for the XNAT server
This can be done under Images and Commands on the Plugin Settings page
- Enable the command for a project
Select a project and click Project Settings from the menu. The DICOMQC command should be listed and can
be enabled. Default settings can also be added
- Upload project QC definition
This is an Excel document describing the tests to be run. It should be uploaded as a file at the project level
in the folder dicomqc with the file name dicomqc_conf.xlsx. An example configuration file can be found
in the config directory.
- Run the command
Select an MR session, click Run Container and select DICOMQC