<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Dear Nicolas
<div class="">It seems to me that this is a general limitation of LORIS that needs to be fixed on the LORIS side, rather than by modifying DICOM headers after the fact. </div>
<div class="">Do you have plans for this?</div>
<div class="">Doug</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Sep 30, 2020, at 09:30, Nicolas Brossard <<a href="mailto:nicolasbrossard.mni@gmail.com" class="">nicolasbrossard.mni@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hi Samson,
<div class=""><br class="">
</div>
<div class="">This will not be sufficient as LORIS would expect in this case different SeriesInstanceUID/echo time combinations for these images...Unfortunately, I don't think there is any way around this. </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Nicolas</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Sep 25, 2020 at 4:47 PM Samson Antel <<a href="mailto:samson@neurorx.com" class="">samson@neurorx.com</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr" class="">Hi Nicolas,
<div class=""><br class="">
</div>
<div class="">The dual echo PD/T2 sequences we are dealing with will indeed have distinct echo times.</div>
<div class=""><br class="">
</div>
<div class="">We also have some MT-On/MT-Off image pairs that were acquired on Philips scanners using a dynamic sequence.  In those cases, the images will share a SeriesInstanceUID _and_ an echo time.  However, they will contain distinct InstanceNumbers and
 TemporalPositionIdentifiers; will that be sufficient for LORIS?</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class="">Samson</div>
<div class=""><br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Sep 25, 2020 at 4:37 PM Nicolas Brossard <<a href="mailto:nicolasbrossard.mni@gmail.com" target="_blank" class="">nicolasbrossard.mni@gmail.com</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr" class="">Hi Alfredo,<br class="">
<div class=""><br class="">
</div>
<div class="">I am afraid what I said earlier was not 100% correct: each SerieInstanceUID/echo time combo has to be unique. So yeah, you could have two DICOM files associated with different modalities that have identical SeriesInstanceUIDs (in that case though,
 it is expected that the echo times will be different). I am guessing the studies you are referring to in your email fit that requirement, right?</div>
<div class=""><br class="">
</div>
<div class="">Apologies for the confusion.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Nicolas</div>
<div class=""><br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Sep 25, 2020 at 4:29 PM Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@bwh.harvard.edu" target="_blank" class="">AMORALESPINZON@bwh.harvard.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="">Hi Nicolas,
<div class=""><br class="">
</div>
<div class="">We are working on this issue but a question. Sometimes studies have dual echo and dynamic sequences (e.g., <span style="" class="">a dual-echo PD/T2 sequence produces a PD-weighted image and a T2-weighted image together</span>) that result in
 in two sequences sharing the same “ <span style="" class="">SeriesInstanceUID</span>”. This seems to be quite common, don’t you have a workaround already available in LORIS?</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Alfredo.</div>
<div class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On May 4, 2020, at 8:50 AM, Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@BWH.HARVARD.EDU" target="_blank" class="">AMORALESPINZON@BWH.HARVARD.EDU</a>> wrote:</div>
<br class="">
<div class="">
<div class="">Hi Nicolas,
<div class=""><br class="">
</div>
<div class="">Thank you for your answer. We’ll handle these cases based on LORIS requirements.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Alfredo.<br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On May 1, 2020, at 1:39 PM, Nicolas Brossard <<a href="mailto:nicolasbrossard.mni@gmail.com" target="_blank" class="">nicolasbrossard.mni@gmail.com</a>> wrote:</div>
<br class="">
<div class="">
<p class=""><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)" class="">        External Email - Use Caution        </span></p>
<div class=""><br class="">
</div>
<div dir="ltr" class="">Hi Alfredo,
<div class=""><br class="">
</div>
<div class="">You cannot insert in the database a scan archive containing two different study UIDs: all the scans inside the archive must have the same study UID, that's a LORIS requirement. I suggest you split your original archive into two archives, based
 on their study UIDs, and then upload/insert both. You could also "hack" you original archive so that all study UIDs are identical but I am not a big fan of this strategy since you are altering the original data you got from the scanner...</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Nicolas</div>
<div class=""><br class="">
</div>
<div class="">p.s: if you are not comfortable splitting archives, I can help</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, May 1, 2020 at 11:03 AM Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@bwh.harvard.edu" target="_blank" class="">AMORALESPINZON@bwh.harvard.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="">Dear LORIS-Dev Team,
<div class=""><br class="">
</div>
<div class="">In the IPMSA project some scans have acquisitions with two different <font class="">StudyInstanceUIDs. This leads to an error in the insertion pipeline. The reason for having two different </font><span class="">StudyInstanceUIDs is because some</span><font class=""> acquisitions
 failed QC and were re-acquired and added to the same study but with a <span class="">different</span> <span class="">StudyInstanceUIDs. Here are our questions:</span></font></div>
<div class=""><font class=""><span class=""><br class="">
</span></font></div>
<div class=""><font class="">1. Would it be possible to insert a study having acquisitions with two different </font><span class="">StudyInstanceUIDs?</span></div>
<div class=""><span class=""><br class="">
</span></div>
<div class=""><span class="">2. If we were to change the </span><font class="">StudyInstanceUIDs to have only one in a study, would LORIS insert they study with acquisitions having different scan date?</font></div>
<div class=""><font class=""><br class="">
</font></div>
<div class=""><font class="">Thank you for your help.</font></div>
<div class=""><font class=""><br class="">
</font></div>
<div class=""><font class="">Regards,</font></div>
<div class=""><font class="">Alfredo.</font></div>
<div class=""><br class="">
</div>
<p class="">The information in this e-mail is intended only for the person to whom it is<br class="">
addressed. If you believe this e-mail was sent to you in error and the e-mail<br class="">
contains patient information, please contact the Partners Compliance HelpLine at<br class="">
<a href="http://www.partners.org/complianceline" target="_blank" class="">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br class="">
but does not contain patient information, please contact the sender and properly<br class="">
dispose of the e-mail.</p>
</div>
_______________________________________________<br class="">
Loris-dev mailing list<br class="">
<a href="mailto:Loris-dev@bic.mni.mcgill.ca" target="_blank" class="">Loris-dev@bic.mni.mcgill.ca</a><br class="">
<a href="https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev" rel="noreferrer" target="_blank" class="">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br class="">
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>