Hello!
I have been running XNAT for a while with crSessionData, mrSessionData, ctSessionData, etc. I understand that XNAT only registers a fixed set of image-session types (CR/CT/MR/PET/PET-MR) in element security by default.
I now have imported a new DICOM modality DX scan using DQR plugin, and dxSessionData is not registered.
My approach to check if a study has been imported is if it appears in the project-scoped listing GET /data/projects/{id}/experiments. But it seems that the project-scoped listing omits data types with no xdat_element_security registration (DX) -- while the global listing (/data/experiments?project=) includes them (this was only observed empirically, I couldn't find it in the XNAT docs)?
My first question would be if there's an API -based way of registering it in element security (not through the UI). But this seems a whack-a-mole issue i.e. we'll have to do this for every new modality added.
Otherwise, can I keep using the global listing endpoint to count imported studies?
PS I tried using the DQR API before, but found it to be unreliable for very large imports
Thank you very much in advance!
Alex