# Import DICOM files

**URL:** <https://discourse.slicer.org/t/import-dicom-files/14203>\
**Category:** Support\
**Created:** [October 22, 2020, 2:00pm UTC](https://discourse.slicer.org/t/import-dicom-files/14203 "2020-10-22T14:00:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marianaslicer](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/marianaslicer/32/8555_2.png) [@marianaslicer](https://discourse.slicer.org/u/marianaslicer)\
**Post date:** [October 22, 2020, 2:00pm UTC](https://discourse.slicer.org/t/import-dicom-files/14203/1 "2020-10-22T14:00:02Z")

</div>

Operating system: windows 7  
Slicer version: 4.11.20200930

Hi slicers,

I want to load the dicom data from patient UID from DICOM database.  
I have already the series seriesUIDs and now I want to get the same output as:

dicomWidget.detailsPopup.offerLoadables(seriesUIDs, ‘SeriesUIDList’)  
dicomWidget.detailsPopup.examineForLoading()  
dicomWidget.detailsPopup.loadCheckedLoadables()

But since I’m working with 3Dslicer version 4.11 I would like to know how I get that.  
Any idea? I would really appreciate your help.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 25, 2020, 5:21am UTC](https://discourse.slicer.org/t/import-dicom-files/14203/2 "2020-10-25T05:21:22Z")

</div>

DICOM infrastructure has been greatly improved in Slicer-4.11 and you don’t need to use GUI widget classes to load DICOM data.

If you already have the series UID then you can load them like this:

```python
from DICOMLib import DICOMUtils
loadedVolumeNodes = DICOMUtils.loadSeriesByUID(seriesUIDs)

```

You can find up-to-date examples for current Slicer version in the current script repository:

> **[Documentation/Nightly/ScriptRepository - Slicer Wiki](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#How_to_load_DICOM_files_into_the_scene_from_a_folder)**
