Add custom tags

Hi community!

Is there a way to automatically add a custom tag to any instance uploaded to my Orthanc? I only found a way to modify an existing tag, but not to add a custom one.

This tags should also be available if I download the DICOM file.

Thanks in advance!

You can actually use the Replace field to add new tags too: https://book.orthanc-server.com/users/anonymization.html#modification-of-a-single-instance

But is it possible to add a custom tag like MyCustomTag?

Probably. Why don’t you try ?

Note: you can use “0010,0010” notations so any tags should fit in.
I also encourage you to try to define a tag in the dictionary and try to use the alias in the request.

And of course, please share the output.