I've operated under the assumption that it is not possible to target DICOM tags in sequences for remove/keep/modify operations - except by reconstructing entire sequences.
For example, I often replace the image UID in ReferencedImageSequence with anonymized UID so that my anonymized series consistently refer to each other after anonymization. I find I have to construct the entire ReferencedImageSequence with my changes and use a modify with 'Replace' in the JSON - RATHER than being able to target the specific tag in the ReferencedImageSequence I want to replace.
works: 'Replace' = entire sequence including parts I don't need to modify
does not work: 'Replace' = just the part of the sequence I want to change
Is that correct? Is there a way I can construct the Remove/Modify JSON in such a way to eliminate/replace a particular tag within a sequence (ex. a UID within ReferencedImageSequence) while still keeping the rest of the sequence?
Thanks,
John.