Hey Alain,
I'm not getting anything in the /system route that would indicate that the extra tags have been loaded. What should I see there? Here's what my Orthanc.log is showing:
W0306 22:24:28.382278 OrthancConfiguration.cpp:55] Reading the configuration from: "/etc/orthanc/extradicomtags.json"
W0306 22:24:28.409731 FromDcmtkBridge.cpp:380] Loading external DICOM dictionary: "/usr/share/libdcmtk16/dicom.dic"
W0306 22:24:28.421148 FromDcmtkBridge.cpp:380] Loading external DICOM dictionary: "/usr/share/libdcmtk16/private.dic"
It seems to be accepting my extradicomtags.json file which I pasted in my previous message in this thread. However, my system route is outputting the following:
{
"ApiVersion" : 16,
"CheckRevisions" : false,
"DatabaseBackendPlugin" : "/usr/lib/orthanc/libOrthancPostgreSQLIndex.so.4.0",
"DatabaseVersion" : 6,
"DicomAet" : "PACS",
"DicomPort" : 4242,
"HttpPort" : 8042,
"IsHttpServerSecure" : false,
"Name" : "Orthanc",
"PluginsEnabled" : true,
"StorageAreaPlugin" : "/usr/lib/orthanc/libOrthancAwsS3Storage.so.mainline",
"Version" : "1.10.0"
}
When I add the patient tags to OrthancFramework/Sources/DicomFormat/DicomMap.cpp and OrthancFramework/Sources/DicomFormat/DicomTag.h I do get the results that I need. However, it has been a hassle to maintain my fork of Orthanc, so I'd much rather use the config method. Additionally, do you know as if the addition patient tags will also appear in the /studies/{id} route inside the returned PatientMainDicomTags object or will they only appear in the /patients/{id} route once this is functioning properly through the config?