SIEMENS CSA header

I tried reading the CSA header from an instance by using the tags, without success. When calling instances/{id}/tags, Orthanc returns

"0029,1010" :   
{ 
    "Name" : "CSAImageHeaderInfo",                                           
    "PrivateCreator" : "SIEMENS CSA HEADER",                                 
    "Type" : "Null",              
    "Value" : null                                                           
}

which clearly indicates that it’s empty (None). However, when I download this instance and I try the same using pydicom

ds = pydicom.read_file(dcm)
ds[0x0029, 0x1010].value
>>> b'...'

it does work. Does Orthanc delete this content?

Hello,

The Null value does not mean that the content is empty, but that it is not supported by this route. You should try the /instances/{...}/content/0029-1010 route.

Anyway, if you don’t provide a sample DICOM file, we cannot provide any further support.

Regards,
Sébastien-

1 Like

Oh, I didn’t know about this route. It works perfectly now. Thank you!