Thanks, Alain, that is how I intend to use the Keep option, though I will be following the anonymization with a modify.
I need to generate new FrameOfReferenceUID since the originals embed machine identifiers that can be used to identify the original exam. I think this is why they are in the list of tags to replace or remove as given by the DICOM standard.
My question is whether I can use one of the other restAPI calls that generate UID as a replacement. From my reading online, I think the FrameOfReferenceUID need only be unique like the other UID. There's nothing particularly different between it and a StudyInstanceUID. So, I plan on calling the restAPI to generate additional UID as needed for use as replacements for the FrameOfReferenceUID.
This brings up the general issue of generating UID with Orthanc. I haven't found documentation for a FrameOfReferenceUID generator (like the ones for patient, study, series, instance).
I also don't see documentation for the SOPClassUID generation. Yet all SOPClassUID tags are replaced during Orthanc's anonymization. Either Orthanc is doing this behind the scenes, or perhaps the underlying dcmtk library handles the SOPClassUID generation. Whatever the case, the FrameOfReferenceUID is not updated (the Keep option only keeps the original).
John.