Cannot modify series tags

When I try to modify series tags, the changes are just not applied.
After reloading the series list in a study, the previous values are still shown.

Docker log shows warnings regarding SeriesInstanceUID and SOPInstanceUID that it should be avoided to keep them as original.
Since it is a warning, I would not consider it the error for not proceeding, but this is the only information I got regarding this.
Also, there is no option to change this method for “modify series”, like there is for modify study.

Or can it be set to create new UID by default somewhere?

Hi,

Please provide a reproducible scenario if you want us to investigate.

No, we assumed that, if you needed to create new IDs, you would first create a new study and then modify the series.

HTH,

Alain

Hi,

I have created the structure of studies, series and instances with a script.
Now I need to modify the series descriptions of the uploaded images.

To do this, I
open a study,
open a series,
click on the modify icon,
click “Modify series tags”,
enter a SeriesDescription,
click Modify
→ The processing window appears → bar hits 100%
I click “Show modified resources” → view does not change
I click the “remove filters” icon,
and open the same study again
→ Series Description still has the value, it had before I tried to change it.

And in the log, it still shows a warning about not using the same IDs.

Works on my machine on data that I have not generated myself :wink:

Tested with Orthanc 1.12.1 & OE2 1.1.3

Thank you for checking.

We have a custom Python plugin that hooks on ReceivedInstanceCallback.
It checks the dicom data for a specific tag and if it is not available, it returns orthanc.ReceivedInstanceAction.KEEP_AS_IS, None .

Could this interfere with Series modifications?

Modifying study descriptions works, for series descriptions, it is also not working for DICOM files that we did not touch before uploading.

Of course since it might reject your modified instances. Try to modify instances without this script and/or add some logs.

With help of the log, we found “OverwriteInstances”, which solved the problem.
Now we try to find a way have series modifications create a new UID, since it can happen that we upload a study again when the first upload has been modified already.

Feel free to create an issue here for the follow up of this request.

Alain