comparison Sphinx/source/faq/worklist.rst @ 11:2394454105ee

how to use the DicomWorklist plugin
author Alain Mazy <alain@mazy.be>
date Thu, 26 May 2016 18:39:25 +0200
parents 485504440bea
children 1a4e870d4953
comparison
equal deleted inserted replaced
10:9671bc7392c7 11:2394454105ee
31 For more complex or integrated workflows where you must implement a 31 For more complex or integrated workflows where you must implement a
32 custom MWL plugin, please check the `documentation of the part of the 32 custom MWL plugin, please check the `documentation of the part of the
33 Orthanc plugin SDK 33 Orthanc plugin SDK
34 <https://orthanc.chu.ulg.ac.be/sdk/group__Worklists.html>`__ that is 34 <https://orthanc.chu.ulg.ac.be/sdk/group__Worklists.html>`__ that is
35 related to the management of worklists. 35 related to the management of worklists.
36
37
38 How should I use it ?
39 ---------------------
40
41 - download `DCMTK utilities <http://dicom.offis.de/download/dcmtk/release/bin/>`__
42 - download sample `worklist files <https://bitbucket.org/sjodogne/orthanc/src/default/Plugins/Samples/ModalityWorklists/>`__ from the Orthanc source code and copy them in a dedicated folder.
43
44 .. highlight:: javascript
45
46 - Enable the ModalityWorklist plugin in your config.json by adding this section::
47
48 "Worklists" : {
49 "Enable": true,
50 "Database": "WorklistsDatabase" //this is the path to the folder with the worklist files. Use absolute path !
51 },
52
53 - Add the plugin to the list of plugins to load (this is an example for Windows)::
54
55 "Plugins" : [
56 "OsimisWebViewer.dll",
57 "ModalityWorklists.dll" // on Linux, use ModalityWorklists.so
58 ],
59
60 - Add the findscu utility to the list of know modalities (considering findscu and Orthanc runs on the same machine)::
61
62 "DicomModalities" : {
63 "horos" : [ "HOROS", "192.168.0.8", 11112 ],
64 "findscu" : [ "FINDSCU", "127.0.0.1", 1234 ]
65 },
66
67 .. highlight:: bash
68
69 - Launch Orthanc as usual, make sure to pass him the configuration file (ex for Windows)::
70
71 Orthanc.exe config.json
72
73 - 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)::
74
75 findscu -W -k "ScheduledProcedureStepSequence[0].Modality=CT" 127.0.0.1 4242
76
77 - findscu should display the matching worklists