DICOM Information from Scalar Volume Node

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.

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

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