[Loris-dev] LORIS Error: The target directory does not contain a single DICOM file.

Morales Pinzon, Alfredo AMORALESPINZON at bwh.harvard.edu
Mon Nov 25 10:02:32 EST 2019


Dear LorisDev team,

I am batch uploading images to imaging visits using the script batch_uploads_imageuploader but for some images I get the following error:

The target directory does not contain a single DICOM file.

I had seen this error previously due to missing dicom fields like StudyID (0020,0010) and ImagePositionPatient (0020,0032). However, after checking these particular dicom fields and setting StudyID it to '0' I am still getting the same error. What other dicom fields should I check?

Is there a log where I can exactly find the error? Does the "StudyInstanceUID" need to have a value?

I'm pasting the dcmdump of a dicom at the end of this email in case this might help figuring out what is the issue.

I am using LORIS v at 20.1.1.

Thank you in advance for your help.

Best regards,
Alfredo.

--------------------------------------------------------------------------------------

# Dicom-File-Format

# Dicom-Meta-Information-Header
# Used TransferSyntax: Little Endian Explicit
(0002,0000) UL 230                                      #   4, 1 FileMetaInformationGroupLength
(0002,0001) OB 00\01                                    #   2, 1 FileMetaInformationVersion
(0002,0002) UI =MRImageStorage                          #  26, 1 MediaStorageSOPClassUID
(0002,0003) UI [1.2.826.0.1.3680043.2.1125.1.62497394598874749597838823223385071] #  64, 1 MediaStorageSOPInstanceUID
(0002,0010) UI =LittleEndianImplicit                    #  18, 1 TransferSyntaxUID
(0002,0012) UI [1.2.276.0.7230010.3.0.3.6.0]            #  28, 1 ImplementationClassUID
(0002,0013) SH [OFFIS_DCMTK_360]                        #  16, 1 ImplementationVersionName
(0002,0016) AE [GDCM/ITK 3.17.0]                        #  16, 1 SourceApplicationEntityTitle

# Dicom-Data-Set
# Used TransferSyntax: Little Endian Implicit
(0008,0008) CS [DERIVED\SECONDARY]                      #  18, 2 ImageType
(0008,0016) UI =MRImageStorage                          #  26, 1 SOPClassUID
(0008,0018) UI [1.2.826.0.1.3680043.2.1125.1.62497394598874749597838823223385071] #  64, 1 SOPInstanceUID
(0008,0020) DA [20000101]                               #   8, 1 StudyDate
(0008,0021) DA [20000101]                               #   8, 1 SeriesDate
(0008,0022) DA [20000101]                               #   8, 1 AcquisitionDate
(0008,0030) TM (no value available)                     #   0, 0 StudyTime
(0008,0031) TM [085517]                                 #   6, 1 SeriesTime
(0008,0032) TM [085517]                                 #   6, 1 AcquisitionTime
(0008,0060) CS [MR]                                     #   2, 1 Modality
(0008,0070) LO [AAABBBCCC]                                 #   6, 1 Manufacturer
(0008,0104) LO [Anonymized]                             #  10, 1 CodeMeaning
(0008,103e) LO [t1c]                                    #   4, 1 SeriesDescription
(0008,1090) LO [nifti2dicom]                            #  12, 1 ManufacturerModelName
(0010,0010) PN [10041]                                  #   6, 1 PatientName
(0010,0020) LO [10041]                                  #   6, 1 PatientID
(0010,0021) LO [Anonymized]                             #  10, 1 IssuerOfPatientID
(0010,0030) DA [19650101]                               #   8, 1 PatientBirthDate
(0010,0040) CS [Anonymized]                             #  10, 1 PatientSex
(0010,1010) AS [Anonymized]                             #  10, 1 PatientAge
(0010,1030) DS (no value available)                     #   0, 0 PatientWeight
(0010,2150) LO [Anonymized]                             #  10, 1 CountryOfResidence
(0010,2152) LO [Anonymized]                             #  10, 1 RegionOfResidence
(0010,21f0) LO [Anonymized]                             #  10, 1 PatientReligiousPreference
(0012,0050) LO [baseline]                               #   8, 1 ClinicalTrialTimePointID
(0012,0062) CS [Yes]                                    #   4, 1 PatientIdentityRemoved
(0012,0063) LO [Genentech]                              #  10, 1 DeidentificationMethod
(0018,0050) DS [3]                                      #   2, 1 SliceThickness
(0018,0088) DS [3]                                      #   2, 1 SpacingBetweenSlices
(0020,000d) UI (no value available)                     #   0, 0 StudyInstanceUID
(0020,000e) UI [1.2.826.0.1.3680043.2.1143.2737712182581015462892759360372011946] #  64, 1 SeriesInstanceUID
(0020,0010) SH [0]                                      #   2, 1 StudyID
(0020,0011) IS [901]                                    #   4, 1 SeriesNumber
(0020,0012) IS [1]                                      #   2, 1 AcquisitionNumber
(0020,0013) IS [1]                                      #   2, 1 InstanceNumber
(0020,0020) CS [L\R]                                    #   4, 2 PatientOrientation
(0020,0032) DS [-116.48152160645\-118.93698120117\-275.82513427734] #  50, 3 ImagePositionPatient
(0020,0037) DS [1\0\0\0\1\0]                            #  12, 6 ImageOrientationPatient
(0020,0052) UI [1.2.826.0.1.3680043.2.1143.263896814292546686535778822643473818] #  64, 1 FrameOfReferenceUID
(0028,0002) US 1                                        #   2, 1 SamplesPerPixel
(0028,0004) CS [MONOCHROME2]                            #  12, 1 PhotometricInterpretation
(0028,0010) US 256                                      #   2, 1 Rows
(0028,0011) US 256                                      #   2, 1 Columns
(0028,0030) DS [1\1]                                    #   4, 2 PixelSpacing
(0028,0100) US 16                                       #   2, 1 BitsAllocated
(0028,0101) US 16                                       #   2, 1 BitsStored
(0028,0102) US 15                                       #   2, 1 HighBit
(0028,0103) US 1                                        #   2, 1 PixelRepresentation
(0032,1033) LO [Anonymized]                             #  10, 1 RequestingService
(0040,0280) ST [Anonymized]                             #  10, 1 CommentsOnThePerformedProcedureStep
(0400,0563) LO [Anonymized]                             #  10, 1 ModifyingSystem
(0400,0564) LO [Anonymized]                             #  10, 1 SourceOfPreviousValues
(0400,0565) CS [Anonymized]                             #  10, 1 ReasonForTheAttributeModification
(1110,21b0) ?? 0a\00                                    #   2, 1 Unknown Tag & Data
(7fe0,0010) OW 0000\0000\0000\0000\0000\0000\0000\0000\0000\0000\0000\0000\0000... # 131072, 1 PixelData


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 Partners Compliance HelpLine at
http://www.partners.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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20191125/84da579a/attachment-0001.html>


More information about the Loris-dev mailing list