How to modify existing tags in the dictionary?

I want to change the nicknames of some tags in the dictionary of DICOM tags from DICOM to DICONDE. At the orthanc.json configuration file new tags can be registered, but if I try to modify existing tags, nothing happens.

e.g.:
“Dictionary” : {
“0010,0010” : [ “PN”, “ComponentName”, 1, 1 ]
}

How can I modify existing tags in the dictionary?

And how can I change the text at the Orthanc web-explorer from “Patient” to “Component”?

Hello,

Back to this old thread, Orthanc 1.9.4 (to be released soon) will support using the DICONDE dictionary thanks to the new “ExternalDictionaries” configuration option:
https://hg.orthanc-server.com/orthanc/file/dd6274412ff4/OrthancServer/Resources/Configuration.json#l627

Here is the corresponding full changeset:
https://hg.orthanc-server.com/orthanc/rev/dd6274412ff4

You can find a screenshot of Orthanc Explorer displaying a DICONDE file attached to this message. As highlighted in red, Orthanc does use the DICONDE tags (such as “ComponentName” or “ComponentManufacturerDate”).

However, as Orthanc Explorer is primarily a Web interface targeted at developers, the wording “Patient” is still used even if displaying a DICONDE “Component”. The rationale can be found in the Orthanc Book:
https://book.orthanc-server.com/faq/improving-interface.html

Kind Regards,
Sébastien-

diconde.png

Hello,

I have configured the orthanc.json file is configured as

However, the Orthanc Explorer is still showing PatientID and PatientName instead of ComponentIDNumber and ComponentName after restarting the service.

What can be the reason that it is reading another dicom.dic and than the path specified in the json configuration file?

Following is the --verbose output
I0729 10:57:35.884708 Toolbox.cpp:1765] OpenSSL version: OpenSSL 3.0.9 30 May 2023
I0729 10:57:35.887628 FromDcmtkBridge.cpp:292] (dicom) Using DCTMK version: 367
I0729 10:57:35.945235 FromDcmtkBridge.cpp:375] (dicom) Clearing the DICOM dictionary
W0729 10:57:35.947488 FromDcmtkBridge.cpp:380] Loading external DICOM dictionary: “/usr/share/libdcmtk17/dicom.dic”
W0729 10:57:35.979138 FromDcmtkBridge.cpp:380] Loading external DICOM dictionary: “/usr/share/libdcmtk17/private.dic”
I0729 10:57:35.997048 FromDcmtkBridge.cpp:2315] (dicom) Registering JPEG Lossless codecs in DCMTK
I0729 10:57:35.997198 FromDcmtkBridge.cpp:2323] (dicom) Registering JPEG codecs in DCMTK
I0729 10:57:35.997268 FromDcmtkBridge.cpp:2330] (dicom) Registering RLE codecs in DCMTK
I0729 10:57:35.997343 Enumerations.cpp:2329] Default encoding for DICOM was changed to: Latin1
I0729 10:57:35.997410 FromDcmtkBridge.cpp:375] (dicom) Clearing the DICOM dictionary
W0729 10:57:35.999698 FromDcmtkBridge.cpp:380] Loading external DICOM dictionary: “/usr/share/libdcmtk17/diconde.dic”
W0729 10:57:36.003734 FromDcmtkBridge.cpp:380] Loading external DICOM dictionary: “/usr/share/libdcmtk17/dicom.dic”
W0729 10:57:36.032610 FromDcmtkBridge.cpp:380] Loading external DICOM dictionary: “/usr/share/libdcmtk17/private.dic”