Hello,
Is there an easy way to access the DICOM top-level tags for a given SOP. I have an Sop object and what I would like to do is make a list of all the top level attributes. I can easily query a given attribute but what I would like to do is enumerate the attributes present in the SOP.
From what I can see, the only way to do it is if I have access to the underlying InstanceXML or the DicomAttributeCollection. However, there does not seems to be an easy way to access them from a given Sop object.
So, is there any way to load the attribute list from a given Sop in an easy way without writing a custom loader? I would think there should be some way as convering a DICOM instance to XML or something similar is a common functionality found in a DICOM library.
Cheers,
xarg