Mercurial > hg > orthanc
comparison Plugins/Samples/ModalityWorklists/README @ 1808:9c2ffc4e938b worklists
configuration of the sample modality worklists plugin
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 23 Nov 2015 16:58:55 +0100 |
parents | |
children | 42764dcd3a41 |
comparison
equal
deleted
inserted
replaced
1807:91216c42c6e5 | 1808:9c2ffc4e938b |
---|---|
1 Introduction | |
2 ============ | |
3 | |
4 This sample plugin enables Orthanc to serve DICOM modality worklists | |
5 that are read from some folder. | |
6 | |
7 Whenever a C-Find SCP request is issued to Orthanc, it will read the | |
8 content of this folder to locate the worklists that match the request. | |
9 An external application can dynamically modify the content of this | |
10 folder while Orthanc is running to add/remove worklists. | |
11 | |
12 This sample mimics the behavior of the "wlmscpfs" tool from the | |
13 DCMTK package: | |
14 http://support.dcmtk.org/docs/wlmscpfs.html | |
15 | |
16 | |
17 Compilation for Linux | |
18 ===================== | |
19 | |
20 # mkdir Build | |
21 # cd Build | |
22 # cmake .. | |
23 # make | |
24 | |
25 | |
26 Cross-compilation for Windows using MinGW | |
27 ========================================= | |
28 | |
29 # mkdir Build | |
30 # cd Build | |
31 # cmake .. -DCMAKE_TOOLCHAIN_FILE=../../../Resources/MinGWToolchain.cmake | |
32 # make | |
33 | |
34 | |
35 Configuration | |
36 ============= | |
37 | |
38 First, generate the default configuration of Orthanc: | |
39 https://orthanc.chu.ulg.ac.be/book/users/configuration.html | |
40 | |
41 Then, modify the "Plugins" option to point to the folder containing | |
42 the built plugins. Finally, create a section "ModalityWorklists" in | |
43 the configuration file to configure the worklist server. If using the | |
44 build commands above, a sample configuration would read as follows: | |
45 | |
46 { | |
47 [...] | |
48 "Plugins" : [ | |
49 "." | |
50 ], | |
51 "Worklists" : { | |
52 "Enable": true, | |
53 "Database": "../WorklistsDatabase" | |
54 } | |
55 } | |
56 | |
57 The folder "WorklistsDatabase" contains a database of sample | |
58 worklists, that come from the DCMTK source distribution, as described | |
59 in the FAQ entry #37 of the DCMTK project: | |
60 http://forum.dcmtk.org/viewtopic.php?t=84 |