Series failures

32 views
Skip to first unread message

PSS Team

unread,
Oct 8, 2026, 5:50:47 PM (14 days ago) Oct 8
to xnat_discussion
Hello XNAT team, 

I noticed few images are being in conflict as shown in the image, please provide any guidance on how to process these images into XNAT. Our XNAT is on v1.10.0

xnat img.png


Thanks
PSS


PSS Team

unread,
Oct 13, 2026, 3:19:47 PM (9 days ago) Oct 13
to xnat_discussion
Hello XNAT team, 

Bumping this up to see if there is any recommendation to this issue, we are on a time sensitive study to read this image. Any advise that helps.

Thanks
Giresh

akluiber

unread,
Oct 15, 2026, 3:29:55 PM (7 days ago) Oct 15
to xnat_discussion
When I encounter this, the issue has often been that two acquisitions (e.g. inspiration and expiration with lung studies) in an exam may be split into two studies, with their own StudyInstanceUIDs. One study is archived into the session which is then associated with that StudyInstanceUID. The next study then throws up this error in the prearchive because it's detecting a potential conflict. I think you can overwrite the session's UID/StudyInstanceUID via this dialogue and merge both into the same session. They both still display in the viewer.

akluiber

unread,
Oct 15, 2026, 3:35:57 PM (7 days ago) Oct 15
to xnat_discussion
I should add, I've also encountered plenty of times where a research site exports the same images for the same subject multiple times with UID randomization in their local anonymization protocol, and then sends them all.

Obviously only you can determine whether these images actually belong in that subject/session, or whether you need to investigate the potential conflict further. 

Simon Doran

unread,
Oct 16, 2026, 5:17:23 AM (6 days ago) Oct 16
to xnat_discussion
Hi Both,

  When the error message talks about "invalid modification of session UID", this means, as Alex noted, that the DICOM tag StudyInstanceUID from the file(s) you are trying to import second doesn't match the corresponding tag in images already imported for that subject and image session in XNAT. In my experience, any time I've ever tried to force DICOM files with different StudyInstanceUIDs into the same session, it has ended in tears. The XNAT warning is there for a reason and my advice would be "just don't do it".

  DICOM is a framework that is built around relationships between files (images) that contain various UIDs. For example, all files with the same SeriesInstanceUID tag belong together, and that's how XNAT know to separate the incoming data into different scans (aka DICOM series). It's the same with StudyInstanceUIDs. Even if you can force files with different StudyInstanceUIDs into the same imaging session in XNAT, I wouldn't like to guarantee that things won't get screwed up in the OHIF viewer somewhere, because it will look at the DICOM StudyInstanceUID for various operations. Things involving regions-of-interest (masks/labelmaps and contours) make extensive use of these UID relationships.

  Alex notes that, as data importer, you will be the person who has to take a decision whether the images should be in the same session. Be very aware that this is quite a responsibility and any actions should be appropriately documented if you are in a clinical trial context. Note that the error message you pasted is telling you that the scan number is duplicated between the two imaging sessions with different UIDs, so if you were to try and force the two sets of files together, you would need to resolve this. The way I would personally solve this issue is to import the two studies as two different sessions with linked session labels. Yes, they might have occurred while the patient was still lying in the same position in the scanner at the same time, but the equipment vendor clearly took the decision that it regarded the studies as different. In your case, is there really anything wrong with organising XNAT such that you have Visit1_inspiration and Visit1_expiration as two session labels that will display adjacent to each other in the XNAT listing, with the same date attached? 

  [@Alex, you mention research sites. I know that it's difficult, but we try to push back very hard, if necessary with the support of the trial sponsor and Chief Investigator, against the sites that do the type of thing you described and send "poor quality data". FWIW I've always regarded UID randomisation (and also date shifting) as a very dangerous thing when it comes to clinical trials. We strongly believe in an appropriate risk assessment that balances the risk of reidentification by a "motivated attacker" (which is very unlikely when running a clinical trial with only a small team accessing the data) with the much more significant risk that the patient ID or visit number on a trial is registered incorrectly because of DICOM UID or date issues. The clinical trials use case is very different from the UID randomisation that is needed when publishing data in an open access repository like TCIA, precisely because the risk balance is very different.]

  Best wishes,

Simon  

Simon Doran

unread,
Oct 16, 2026, 5:21:02 AM (6 days ago) Oct 16
to xnat_discussion
@PSS Team, sorry I forgot to say that, practically, the way you solve this in XNAT is to go to the prearchive, select the conflicted study and press the "Review and Archive" button. The screen that comes up will allow you to change the name of the imaging session. Then the archive operation will work fine with no conflicts.
Reply all
Reply to author
Forward
0 new messages