changeset 853:2d9024137da0

add private tag sample
author Alain Mazy <am@osimis.io>
date Fri, 03 Jun 2022 15:12:41 +0200
parents 450f0efebe4f
children b569e93d1d45
files Sphinx/source/users/anonymization.rst
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/users/anonymization.rst	Mon May 30 17:16:15 2022 +0200
+++ b/Sphinx/source/users/anonymization.rst	Fri Jun 03 15:12:41 2022 +0200
@@ -150,6 +150,15 @@
       }
     }
 
+* To add a Private DICOM tag, you should use this syntax (provided that you have defined an entry ``"7001,0001" : [ "CS", "MyPrivateTag", 1, 1, "MyPrivateCreator"]`` in the ``Dictionary`` configuration)::
+
+    {
+      "Replace" : {
+        "MyPrivateTag" : "Hello"
+      },
+      "PrivateCreator" : "MyPrivateCreator"
+    }
+
 
 **Important:** Similarly to anonymization, starting with Orthanc
 1.9.4, the ``Replace``, ``Keep`` and ``Remove`` fields can also