I am adding some private tags with VR "LO" to an already existing DICOM file. With something like:
dcm.add_new("70d12000", "LO", "Private tag content")
Getting the following output when printing the DICOM object:
(70d1, 2000) Private tag data LO: 'Private tag content'
However, when I write the DICOM file and try to load it again it is loaded with "UN" VR.
(70d1, 2000) Private tag data UN: Array of 20 elements
This only happens in some cases. Do you know how to fix this error to be able to load them again as LO?