Evil-DICOM icon indicating copy to clipboard operation
Evil-DICOM copied to clipboard

Unable to retrieve tag BeamDeliveryDurationLimit (300A,005C)

Open crazywill32 opened this issue 2 years ago • 1 comments

When using the selector I get an error when trying to retrieve the tag for beam duration limit.

System.InvalidCastException: 'Unable to cast object of type 'EvilDICOM.Core.Element.Unknown' to type 'EvilDICOM.Core.Element.FloatingPointDouble'.'

I ran my debugger and discovered that the DICOMObject is not correctly identifying this tag. It is being read as null values, but there is data there.

Could we get this added to the library as a supported tag?

In the mean time, any suggestions as to how to read the values?

crazywill32 avatar Mar 07 '22 15:03 crazywill32

It sounds like you have a DICOM file that uses the Implicit VR transfer syntax. In such a case, Evil DICOM would rely on a dictionary lookup found in this file (my version of EvilDICOM is a few years old so that would explain any differences you see)

image

Basically I think you just need to add that tag to the dictionary in that file.

itwouldbewise avatar Mar 13 '22 17:03 itwouldbewise