Skip to content

Orthanc Plugin for clearing the Modality Worklist files, once the instance received in Orthanc PACS Server

Notifications You must be signed in to change notification settings

Doc-Cirrus/WorklistFilePurger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modality Worklist Purger plugins for Orthanc DICOM Server

An Orthanc Plugin for clearing the Modality Worklist files, once the instance received in Orthanc PACS Server

OverView

When an Instance with a matching accession number or Study Instance UID received in Orthanc PACS, this plugin will remove the corresponding worklist entry from the worklist database folder. The plugin reads the worklist database path from the "ModalityWorklists" section of the Orthanc Configuration, therefore it is mandatory to have this section available in the Orthanc Configuration file for the smooth working of the plugin.

Building the Plugin

Check out the code and copy it into the Orthanc Samples folder

cd OrthancServer/Plugins/Samples
git clone https://github.com/alvinak/WorklistFilePurger.git
cd WorklistFilePurger
mkdir Build
cd Build
cmake .. -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Release
make

Callback function used

OrthancPluginRegisterOnChangeCallback

Side note 1

This plugin identifies the worklist files based on a set naming scheme which is: "worklist_${studyUID}_(.*)". If your worklist files follow any other naming scheme, the plugin will not pick these files up and will not delete them!

About

Orthanc Plugin for clearing the Modality Worklist files, once the instance received in Orthanc PACS Server

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 69.4%
  • C++ 20.7%
  • CMake 7.8%
  • Python 2.1%