Is it possible to specify that a group of tags be kept? That is, all elements eeee for a given group gggg?
I see in all the lua examples that most keep statements specify specific gggg-eeee combinations.
However, I would like to keep all elements belonging to a specific group (gggg-*). Essentially, I'd like to keep one of the manufacturer sets of tags, but have Orthanc still strip the other odd numbered manufacturer tags.
Just for fun, I tried adding '0019-' and '0019-*' to the keep list, but neither worked, generating lua script errors.
I suppose I could query the first image for all tags matching the desired group and then use that to generate the keep list.
I could