# HG changeset patch # User Alain Mazy # Date 1464280765 -7200 # Node ID 2394454105ee7e2c42b68690d57196f88b6a5611 # Parent 9671bc7392c7973f06142ea8e60ada52ecc70634 how to use the DicomWorklist plugin diff -r 9671bc7392c7 -r 2394454105ee Sphinx/source/faq/worklist.rst --- a/Sphinx/source/faq/worklist.rst Wed May 25 07:28:33 2016 +0200 +++ b/Sphinx/source/faq/worklist.rst Thu May 26 18:39:25 2016 +0200 @@ -33,3 +33,45 @@ Orthanc plugin SDK `__ that is related to the management of worklists. + + +How should I use it ? +--------------------- + +- download `DCMTK utilities `__ +- download sample `worklist files `__ from the Orthanc source code and copy them in a dedicated folder. + +.. highlight:: javascript + +- Enable the ModalityWorklist plugin in your config.json by adding this section:: + + "Worklists" : { + "Enable": true, + "Database": "WorklistsDatabase" //this is the path to the folder with the worklist files. Use absolute path ! + }, + +- Add the plugin to the list of plugins to load (this is an example for Windows):: + + "Plugins" : [ + "OsimisWebViewer.dll", + "ModalityWorklists.dll" // on Linux, use ModalityWorklists.so + ], + +- Add the findscu utility to the list of know modalities (considering findscu and Orthanc runs on the same machine):: + + "DicomModalities" : { + "horos" : [ "HOROS", "192.168.0.8", 11112 ], + "findscu" : [ "FINDSCU", "127.0.0.1", 1234 ] + }, + +.. highlight:: bash + +- Launch Orthanc as usual, make sure to pass him the configuration file (ex for Windows):: + + Orthanc.exe config.json + +- In a prompt, launch a findscu request to ask Orthanc to return all Worklists for 'CT' modalities (considering findscu and Orthanc both runs on your machine: 127.0.0.1 is the Orthanc url and 4242 is the Orthanc DICOM port):: + + findscu -W -k "ScheduledProcedureStepSequence[0].Modality=CT" 127.0.0.1 4242 + +- findscu should display the matching worklists \ No newline at end of file