New worklists plugin + OE2 1.10.0

Hi everyone,

A new Worklists plugin is available.

This new plugin supersedes the previous Sample Modality worklists plugin. The new plugin provides a REST API to manage worklists and enables saving the worklists in the Orthanc database.

The Orthanc Explorer 2 plugin has been updated to version 1.10.1 to provide a user interface to create and browse worklists.

The Authorization plugin has also been updated to version 0.10.3 to better cope with these new features.


All these releases are available

Enjoy !

Alain

5 Likes

Is it possibile to change Institution Name with an Accession Numer data progressive generated in the input format?

:clap: :clap:

I have just added this feature request in the TODO.
If you wish to expedite the feature, do not hesitate to get in touch with https://orthanc.team to fund its development.

Hi Alain,

I’ve been experimenting with log levels required for the new Worklists plugin to display the number of matches returned ( orthanc-worklists/Plugin.cpp at master · orthanc-server/orthanc-worklists · GitHub ).

If I set the /tools/log-level to verbose I can see

orthanc-1 | I0122 00:00:11.113072 DICOM-0 orthanc-worklists:/Plugin.cpp:331\] Worklist C-Find: parsed 0 worklists, found 94 match(es)

in the logs.

However the logs are very noisy.

I’ve tried setting /tools/log-level-plugins and /tools/log-level-dicom to versbose but neither of these appear to work.

Is there a particular category that the plugin logs to? Or is is required to set overall log level to verbose to see the output?

Thanks a million!

Hi @James

Sorry, there is currently no way to have a finer control over that.

However, I have just added an option to enable/disable the numerous “worklist matched” log entries (commit)

Would that help already ?

Best,

Alain.

Hi Alain,

I don’t think I explained myself well. The Worklist C-Find: parsed 0 worklists, found 94 match(es) is very helpful for customer support. It provides a quick way to see how many responses have been returned to the client.

At the moment, it is necessary to set the system log level to ‘verbose’ to see this message.

The result is that in addition to this log, every info log message is also printed. This makes it very difficult to see the worklist result.

Rather than the configuration enabling/disabling this log level, would it be possible to configure the log level that prints this?

ie: LogMatchedWorklistIds: "default" which if set prints this log as log(warn) so it appears in the system logs by default?

This would allow this log to be visible without having to change the log level of the system.

The other part that would make this invaluable for support would be to include the AET of the client that the query is from. For example:

Worklist C-Find: parsed 0 worklists, found 94 match(es) for client AE SOME_CLIENT_AET

This will make troubleshooting worklist “issues” far easier.

Does that make sense?

Happy to make a PR if you think it is helpful.

Cheers,

James

Hi James,

I’m not in favor of allowing the users to play around with the log levels for each log entry - that would multiply the number of configuration entries and, in my opinion, such a log should not be at the warning level.
I think a general rule about logging is “log as much as you can and then, use a tool to filter only the relevant information”.

However, I get your point and we usually do not have filtering tools either so I have just moved these 2 log entries to the DICOM category. Therefore, if you start with only --verbose-dicom, you won’t be flooded by other stuffs but, still, you’ll get a few extra other logs like those:

I0123 12:17:51.183126     DICOM-SERVER CommandDispatcher.cpp:334] (dicom) Association Received from AET FINDSCU on IP 127.0.0.1
I0123 12:17:51.183868     DICOM-SERVER CommandDispatcher.cpp:675] (dicom) Association Acknowledged (Max Send PDV: 16372) to AET FINDSCU on IP 127.0.0.1
I0123 12:17:51.234279          DICOM-1 orthanc-worklists:/Plugin.cpp:335] (dicom) Worklist C-Find (from 'FINDSCU'): parsed 2 worklists, found 1 match(es)
I0123 12:17:51.234882          DICOM-1 CommandDispatcher.cpp:940] (dicom) Finishing association with AET FINDSCU on IP 127.0.0.1: DUL Peer Requested Release
I0123 12:17:51.234928          DICOM-1 CommandDispatcher.cpp:948] (dicom) Association Release with AET FINDSCU on IP 127.0.0.1

Hope this helps,

Alain.

1 Like

Thanks Alain, that is a great help. Appreciate your time.
James