Import DICOM Data through series

I am trying to load volumes using the series names of the patient. This is my current code to load the volume of a patient.


How can I load the volume using the series description as slicer do?

How can I load the volume that corresponds the series in python program?
Or can I import this whole UI into my program?

You can read series description from the database, see this example: https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#How_to_access_top_level_tags_of_DICOM_images_imported_into_Slicer.3F_For_example.2C_to_print_the_first_patient.27s_first_study.27s_first_series.27_.220020.2C0032.22_field%3A

You can of course display the DICOM browser in your module, either as it is done in the DICOM module (in the view layout) or as a popup window (by instantiating a new ctk.ctkDICOMBrowser() widget).