-
Notifications
You must be signed in to change notification settings - Fork 22
Remove study card from imports
Lots of studies in Shanoir are not using study cards but in the import form, the user is asked to have one. This adds unecessary tasks and it happens a lot. In order to make it easier and after talking about it with the consortium, we agreed to remove study cards from imports.
For all kinds of (MR) imports the behavior should be harmonized (Web + ShUp):
- display the information from the DICOMs: InstitutionName, InstitutionAddress, Manufacturer, ManufacturerModelName, StationName, DeviceSerialNumber, MagneticFieldStrength
- use the above information to pre-select, center + equipment
- auto-create (propose) new center + new equipment
- add a filter text field for the acquisition equipment, that users can filter on using device serial numbers
We will add a field in study's detail:
Whenever a user wants to import data into this study, depending on this field, the import form will change a bit.
If the study card is mandatory:
Just like before
If the study card is optional (no -> yes):
If the study card is disabled:
From the DICOM's serialNumber, we can find an already existing equipment which belongs to a center. This means that from a single value we can find both equipment and center.
If the serialNumber doesn't match any existing equipment (and center), we look for institution name and institution address to help create a new center. If those fields are empty, we pre-fill the form with 'Unknown center'. We also pre-fill the equipment with the serialNumber.
The GUI of ShanoirUploader also needs to be updated. From the study's detail we can get the study card nature (disabled, mandatory, optional) and adapt the GUI accordingly.
If the study card is set at mandatory:
If the study card is set at optional:
We'll add the possibility to create centers and equipment, just like in shanoir web
If the study card is set at disabled: