comparison Sphinx/source/users/anonymization.rst @ 853:2d9024137da0

add private tag sample
author Alain Mazy <am@osimis.io>
date Fri, 03 Jun 2022 15:12:41 +0200
parents c29ac12e3160
children 3e8a3a900e9e
comparison
equal deleted inserted replaced
852:450f0efebe4f 853:2d9024137da0
146 "EncryptedContentTransferSyntaxUID" : "1.2.840.10008.1.2", 146 "EncryptedContentTransferSyntaxUID" : "1.2.840.10008.1.2",
147 "EncryptedContent" : "data:application/octet-stream;base64,SSB3YXMgaGVyZSBpbiAyMDE5LiAgTWFydHkgTWNGbHku" 147 "EncryptedContent" : "data:application/octet-stream;base64,SSB3YXMgaGVyZSBpbiAyMDE5LiAgTWFydHkgTWNGbHku"
148 } 148 }
149 ] 149 ]
150 } 150 }
151 }
152
153 * 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)::
154
155 {
156 "Replace" : {
157 "MyPrivateTag" : "Hello"
158 },
159 "PrivateCreator" : "MyPrivateCreator"
151 } 160 }
152 161
153 162
154 **Important:** Similarly to anonymization, starting with Orthanc 163 **Important:** Similarly to anonymization, starting with Orthanc
155 1.9.4, the ``Replace``, ``Keep`` and ``Remove`` fields can also 164 1.9.4, the ``Replace``, ``Keep`` and ``Remove`` fields can also