/xnat-fhir-plugin

Extending XNAT with FHIR datatypes and FHIR compatible REST API

Primary LanguageJavaGNU Affero General Public License v3.0AGPL-3.0

XNAT FHIR Plugin

XNAT FHIR Plugin provides a Schema and a REST implementing the HL7 FHIR protocol.

This project is being unarchived with the aim of bringing it up to date for use on XNAT 1.8+

Build

git clone git@github.com:somnonetz/xnat-fhir-plugin.git && cd xnat-fhir-plugin
./gradlew clean xnatPluginJar

Installation

Please follow the instructions in the official XNAT documentation.

Data Import

FHIR Profile Patient

Since in XNAT one subject means one patient, we should only create one FHIR Patient per subject to keep the reliability of our data. If there are more than one patient (as Experiment) in a subject, by search only the first object will be returnen. To import data by .csv file we need to take care of data type validation and error messages if failed. To create patient data per REST API we need to have a project with ID "fhir", which is defaultly used to insert the new subject/experiment.

Change Logs

  • 14-07-2023 "search" in REST API wants a string parameter as "subject ID", not an integer ID.

Authors

Maryna Khvastova, Michael Witt, Sabina Mollenhauer, Tabea Herrmann, Isabella Kaupp Rivadeneira, James Bowden, Yufei Zhu

Acknowledgements

XNAT FHIR Plugin is developed at CBMI (HTW Berlin - University of Applied Sciences) and MI (UMG, Universitätsmedizin Göttingen).