# DICOM Information from Scalar Volume Node

**URL:** <https://discourse.slicer.org/t/dicom-information-from-scalar-volume-node/27170>\
**Category:** Support\
**Tags:** dicom, python\
**Created:** [January 10, 2023, 4:26pm UTC](https://discourse.slicer.org/t/dicom-information-from-scalar-volume-node/27170 "2023-01-10T16:26:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kleingeo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kleingeo/32/6772_2.png) [@kleingeo](https://discourse.slicer.org/u/kleingeo)\
**Post date:** [January 10, 2023, 4:26pm UTC](https://discourse.slicer.org/t/dicom-information-from-scalar-volume-node/27170/1 "2023-01-10T16:26:41Z")

</div>

I have a `vtkMRMLScalarVolumeNode` that is imported from a DICOM database. Is there a way to obtain the DICOM information from the scalar volume node? It seems like all DICOM information is lost in the volume itself, but I am unaware about how to get it back.

---

<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:** [January 10, 2023, 6:26pm UTC](https://discourse.slicer.org/t/dicom-information-from-scalar-volume-node/27170/2 "2023-01-10T18:26:45Z")

</div>

Yes, the list of instance UIDs (per-slice) is stored as an attribute on the volume node. You can query the database or open the original instances to get all the data.

[https://slicer.readthedocs.io/en/latest/developer\_guide/script\_repository.html#access-top-level-tags-of-dicom-images-imported-into-slicer](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#access-top-level-tags-of-dicom-images-imported-into-slicer)

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [January 11, 2023, 1:53pm UTC](https://discourse.slicer.org/t/dicom-information-from-scalar-volume-node/27170/3 "2023-01-11T13:53:51Z")

</div>

Also there is DICOM information in the subject hierarchy items created.

For example this is the study level DICOM information, but you have info on the patient, series, and instance levels too, clicking on the other items.

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/1/b1568d7066ffb26c5d9880be361f8311c4b9aa76.png)
