I noticed that just by reading a dicom file,
dcm = DObject.read("some_file.dcm")
is setting some tags like (PatientID, StudyInstanceUID, SeriesInstanceUID) to nil.
There is any way to stop that and read all of the tags without removing any?
I do not want any anonymization or tags removal, just to replace PatientID, keep all other tags as they are and save to a different file.
Is this possible?
Environment:
Ruby 1.9.3
dicom 0.9.6