Sample WorkList File?

Hey everybody, I’m new here, and I have done some searching around but I have resorted to having to post this request.

Here is my scenario.

I am connecting a Medical Device to Orthanc and I want to be able to receive a modality working list on the device from Orthanc. That way patient names will display on the device from the working list.

I have confirmed the device can connect to Orthanc, but I am stumped on getting a working list displayed on the device. I have created sample worklist text files then converted them, but for some reason it doesn’t work.

Can somebody please share a sample worklist.wl file that has simple information such as (patient name, patient id, Sex, DOB) with a few test patients? and also provide the orthanc.json and worklists.json configuration files?

I’m not sure if my file is bad, my settings are off somehow, or maybe I am not correctly typing in where the directory is for my worklists.

Sorry, I’m new and normally don’t resort to posting questions, since I can normally figure this stuff out. I’m just completely stumped.

Thanks,

Hi,

There are some example worklist files and a python script to create more in the plugin source repo - https://hg.orthanc-server.com/orthanc/file/tip/OrthancServer/Plugins/Samples/ModalityWorklists/WorklistsDatabase

Hope that helps.

James

Thank you for the reply,

When I update my configuration files Orthanc server crashes.

This is my worklists json cong file -

“Worklists” : {
“Enable”: true,
“Database”: “C:\Orthanc\worklists”,
“FilterIssuerAet”: false
}

What does the orthanc.log say ??

If you are using multiple *.json config files, I do not believe you need to have an entry for “Worklists” twice, once in the worklists.json and then again in the orthanc.json.

If you are just setting things up, you should change the log levels and examine the logs because those usually will log the error and give you at least some information that will allow you to fix the error:

See: https://book.orthanc-server.com/faq/log.html?highlight=log#collecting-logs

You can change the log level from the CLI: https://book.orthanc-server.com/faq/log.html?highlight=log#changing-the-log-level-while-orthanc-is-running

/sds