<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="">
Hi Nicolas,
<div class=""><br class="">
</div>
<div class="">I am following up on this issue. I can share some dicom files through the loris sftp if needed.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Alfredo.<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jan 14, 2021, at 2:33 PM, Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@BWH.HARVARD.EDU" class="">AMORALESPINZON@BWH.HARVARD.EDU</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Nicolas,
<div class=""><br class="">
</div>
<div class="">We uploaded another study in LORIS with 7.554 visits. Out of those visits, 825 don't have any images uploaded and 1.700 have missing images. I am checking the log files but most of the time they don’t have an ERROR or WARNING message which makes
 finding issues very time consuming .</div>
<div class=""><br class="">
</div>
<div class="">So far these are my findings:</div>
<div class=""><br class="">
</div>
<div class="">For the 825 visit where no images were uploaded this is what I can see in the logs:</div>
<div class=""><br class="">
</div>
<div class="">
<table cellspacing="0" border="0" class="">
<colgroup width="428" class=""></colgroup><colgroup width="105" class=""></colgroup>
<tbody class="">
<tr class="">
<td height="21" align="left" class="" style="border: 1px solid rgb(0, 0, 0);">Error</td>
<td align="left" class="" style="border: 1px solid rgb(0, 0, 0);">Cases</td>
</tr>
<tr class="">
<td height="21" align="left" class="" style="border: 1px solid rgb(0, 0, 0);">'inserting into the database: 0'</td>
<td align="right" class="" style="border: 1px solid rgb(0, 0, 0);">350</td>
</tr>
<tr class="">
<td height="21" align="left" class="" style="border: 1px solid rgb(0, 0, 0);">'Visit label does not exist’ (Issues on Alfredo’s side)</td>
<td align="right" class="" style="border: 1px solid rgb(0, 0, 0);">265</td>
</tr>
<tr class="">
<td height="21" align="left" class="" style="border: 1px solid rgb(0, 0, 0);">'inserting into the database: 0' & 'Visit label does not exist' </td>
<td align="right" class="" style="border: 1px solid rgb(0, 0, 0);">12</td>
</tr>
<tr class="">
<td height="21" align="left" class="" style="border: 1px solid rgb(0, 0, 0);">patient-name doesn\'t match</td>
<td align="right" class="" style="border: 1px solid rgb(0, 0, 0);">99</td>
</tr>
<tr class="">
<td height="21" align="left" class="" style="border: 1px solid rgb(0, 0, 0);">The \'PatientName\' DICOM field cannot be extracted</td>
<td align="right" class="" style="border: 1px solid rgb(0, 0, 0);">19</td>
</tr>
<tr class="">
<td height="21" align="left" class="" style="border: 1px solid rgb(0, 0, 0);">You can\'t use it with data from multiple studies</td>
<td align="right" class="" style="border: 1px solid rgb(0, 0, 0);">23</td>
</tr>
<tr class="">
<td height="21" align="left" class="" style="border: 1px solid rgb(0, 0, 0);">Dicom to Minc conversion failed</td>
<td align="right" class="" style="border: 1px solid rgb(0, 0, 0);">10</td>
</tr>
<tr class="">
<td height="21" align="left" class="" style="border: 1px solid rgb(0, 0, 0);">Log not created</td>
<td align="right" class="" style="border: 1px solid rgb(0, 0, 0);">1</td>
</tr>
<tr class="">
<td height="21" align="left" class="" style="border: 1px solid rgb(0, 0, 0);">Unknown</td>
<td align="right" class="" style="border: 1px solid rgb(0, 0, 0);">46</td>
</tr>
</tbody>
</table>
<div class=""><br class="">
</div>
</div>
<div class="">For the 350 cases where the logs say <font size="3" class=""><span style="caret-color: rgb(0, 0, 0);" class="">'inserting into the database: 0’</span></font><span style="caret-color: rgb(0, 0, 0);" class=""> I have found so far the following messages:</span></div>
<div class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class="">
</span></div>
<div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class="">- No data could be converted into valid MINC files.</span></font></div>
<div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class="">- The candidate info validation has failed.</span></font></div>
<div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class="">
</span></font></div>
<div class=""><font class="">I check 5 cases with the instructions you provided in a previous email and all the conversion to dcm2minc worked. I reran 2 of those cases, and the log files suggested to run the following command (with different parameters for
 each case):</font></div>
<div class=""><font class=""><br class="">
</font></div>
<div class=""><font class="">===</font></div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">\/data_\/ipmsa\/loris_data\/IPMSA\/bin\/mri/uploadNeuroDB/tarchiveLoader.pl -globLocation -profile prod \/data_\/ipmsa\/loris_data\/IPMSA\/data\/tarchive\/DCM_2014\-02\-04_ImagingUpload\-22\-30\-pKguhD\.tar
 -uploadID 44052 -verbose</span></div>
</div>
<div class=""><font class="">===</font></div>
<div class=""><font class=""><br class="">
</font></div>
<div class=""><font class="">After the execution the images were properly uploaded for one case and the other one is missing a flair image.</font></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><font class="">For the 1.700 that have missing images I have been looking at some log files but I haven’t found warnings or errors, as happened previously with the missing t1c in a previous study.</font></div>
<div class=""><font class=""><br class="">
</font></div>
<div class=""><font class="">What do you suggest to help me go through all these cases? We can start working with some examples and figure out what is happening and how can we fixed.</font></div>
<div class=""><font class=""><br class="">
</font></div>
<div class=""><font class="">Based on this current situation, I strongly suggest to improve the error and warning logging in the uploading process for LORIS. </font></div>
<div class=""><font class=""><br class="">
</font></div>
<div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class="">Best,</span></font></div>
<div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class="">Alfredo.</span></font></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
<div>The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at http://www.massgeneralbrigham.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.</div></body>
</html>