Hi, When I use the rest interface(/tools/reset) to restart orthanc error code 44 ,and In the configuration file, I configured ExtraMainDicomTags
config:
“ExtraMainDicomTags”: {
“Study”: [
“StationName”,
“BodyPartExamined”,
“Modality”
],
“Series”: [
“SliceThickness”,
“RepetitionTime”,
“EchoTime”
]
},
error:
E0328 15:42:47.682590 OrthancException.cpp:58] A main DICOM Tag has been defined multiple times for the same resource level: 0008,1010 is already defined
E0328 15:42:47.682590 main.cpp:2074] Uncaught exception, stopping now: [A main DICOM Tag has been defined multiple times for the same resource level] (code 44)
It is ‘whining’ about the 0008,1010, Station Name Attribute.
You might want to reference this: https://book.orthanc-server.com/faq/main-dicom-tags.html
It appears that StationName is defined by default by Orthanc at the series level. I don’t know how that all works in detail, but I suspect that if you remove StationName from the Study level that you will then be able to restart orthanc. It might be helpful to add further guidance in the documentation about what tags belong to which level. There are some general rules, but with exception.
These are helpful, and if you have questions regarding DICOM specifically there is a forum for that also.https://groups.google.com/g/comp.protocols.dicom
https://dicom.nema.org/medical/Dicom/2017e/output/chtml/part06/chapter_6.html
https://dicom.innolitics.com/ciods
Stephen D. Scotti, M.D.
Thank you very much for your reply,I know the standard tags level, I just want to add some tags to facilitate my query. When I configure it like this, orthanc works very well ,Normal shutdown and restart are all possible, but there will be problems with reset through the rest api(/tools/reset).
在2023年3月28日星期二 UTC+8 16:26:06 写道:
Hi,
I have just fixed this crash when calling /tools/reset. This will be available in the next release.
https://hg.orthanc-server.com/orthanc/rev/32df369198ac
Best Regards,