# How to get the relevant information after dicom loading is completed?

**URL:** <https://discourse.slicer.org/t/how-to-get-the-relevant-information-after-dicom-loading-is-completed/11125>\
**Category:** Development\
**Created:** [April 15, 2020, 12:30pm UTC](https://discourse.slicer.org/t/how-to-get-the-relevant-information-after-dicom-loading-is-completed/11125 "2020-04-15T12:30:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shicong](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/shicong/32/6562_2.png) [@Shicong](https://discourse.slicer.org/u/Shicong)\
**Post date:** [April 15, 2020, 12:30pm UTC](https://discourse.slicer.org/t/how-to-get-the-relevant-information-after-dicom-loading-is-completed/11125/1 "2020-04-15T12:30:39Z")

</div>

How to get the relevant information in the code, such as serial number, sex, name, admission time, etc., when loading the dicom number. Is there an interface in the code?  
Such as the sequence in the picture ：

 ![图片](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/6/863ca02029fceb4b516f9cbc3df94a6037ddf1a9.png)

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [April 15, 2020, 2:41pm UTC](https://discourse.slicer.org/t/how-to-get-the-relevant-information-after-dicom-loading-is-completed/11125/2 "2020-04-15T14:41:41Z")

</div>

Yes, see the example here:

[https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#How\_to\_access\_tag\_of\_a\_volume\_loaded\_from\_DICOM.3F\_For\_example.2C\_get\_the\_patient\_position\_stored\_in\_a\_volume:](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#How_to_access_tag_of_a_volume_loaded_from_DICOM.3F_For_example.2C_get_the_patient_position_stored_in_a_volume:)

---

<div class="post-metadata">

**Author:** ![Shicong](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/shicong/32/6562_2.png) [@Shicong](https://discourse.slicer.org/u/Shicong)\
**Post date:** [April 16, 2020, 1:52am UTC](https://discourse.slicer.org/t/how-to-get-the-relevant-information-after-dicom-loading-is-completed/11125/3 "2020-04-16T01:52:44Z")

</div>

thank you very much and have a good day at work!
