Mercurial > hg > orthanc
annotate OrthancServer/Resources/Configuration.json @ 4256:cbce4f43884a
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 19 Oct 2020 18:38:24 +0200 |
parents | 64f57c9d5f79 |
children | e62bd014ae5c |
rev | line source |
---|---|
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
1 { |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
2 /** |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
3 * General configuration of Orthanc |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
4 **/ |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
5 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
6 // The logical name of this instance of Orthanc. This one is |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
7 // displayed in Orthanc Explorer and at the URI "/system". |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
8 "Name" : "MyOrthanc", |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
9 |
2229
0f09c1d18584
note about backslashes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2208
diff
changeset
|
10 // Path to the directory that holds the heavyweight files (i.e. the |
0f09c1d18584
note about backslashes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2208
diff
changeset
|
11 // raw DICOM instances). Backslashes must be either escaped by |
0f09c1d18584
note about backslashes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2208
diff
changeset
|
12 // doubling them, or replaced by forward slashes "/". |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
13 "StorageDirectory" : "OrthancStorage", |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
14 |
2229
0f09c1d18584
note about backslashes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2208
diff
changeset
|
15 // Path to the directory that holds the SQLite index (if unset, the |
0f09c1d18584
note about backslashes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2208
diff
changeset
|
16 // value of StorageDirectory is used). This index could be stored on |
0f09c1d18584
note about backslashes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2208
diff
changeset
|
17 // a RAM-drive or a SSD device for performance reasons. |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
18 "IndexDirectory" : "OrthancStorage", |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
19 |
3181
6fd38327e777
Fix issue #130 (Orthanc failed to start when /tmp partition was full)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3180
diff
changeset
|
20 // Path to the directory where Orthanc stores its large temporary |
3183 | 21 // files. The content of this folder can be safely deleted if |
22 // Orthanc once stopped. The folder must exist. The corresponding | |
23 // filesystem must be properly sized, given that for instance a ZIP | |
24 // archive of DICOM images created by a job can weight several GBs, | |
25 // and that there might be up to "min(JobsHistorySize, | |
26 // MediaArchiveSize)" archives to be stored simultaneously. If not | |
3181
6fd38327e777
Fix issue #130 (Orthanc failed to start when /tmp partition was full)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3180
diff
changeset
|
27 // set, Orthanc will use the default temporary folder of the |
6fd38327e777
Fix issue #130 (Orthanc failed to start when /tmp partition was full)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3180
diff
changeset
|
28 // operating system (such as "/tmp/" on UNIX-like systems, or |
6fd38327e777
Fix issue #130 (Orthanc failed to start when /tmp partition was full)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3180
diff
changeset
|
29 // "C:/Temp" on Microsoft Windows). |
6fd38327e777
Fix issue #130 (Orthanc failed to start when /tmp partition was full)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3180
diff
changeset
|
30 // "TemporaryDirectory" : "/tmp/Orthanc/", |
6fd38327e777
Fix issue #130 (Orthanc failed to start when /tmp partition was full)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3180
diff
changeset
|
31 |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
32 // Enable the transparent compression of the DICOM instances |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
33 "StorageCompression" : false, |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
34 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
35 // Maximum size of the storage in MB (a value of "0" indicates no |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
36 // limit on the storage size) |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
37 "MaximumStorageSize" : 0, |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
38 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
39 // Maximum number of patients that can be stored at a given time |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
40 // in the storage (a value of "0" indicates no limit on the number |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
41 // of patients) |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
42 "MaximumPatientCount" : 0, |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
43 |
893
f57802f8b4dc
plugins for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
891
diff
changeset
|
44 // List of paths to the custom Lua scripts that are to be loaded |
f57802f8b4dc
plugins for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
891
diff
changeset
|
45 // into this instance of Orthanc |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
46 "LuaScripts" : [ |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
47 ], |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
48 |
893
f57802f8b4dc
plugins for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
891
diff
changeset
|
49 // List of paths to the plugins that are to be loaded into this |
1199
a843ee8bb903
separated thread for change callbacks in plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1164
diff
changeset
|
50 // instance of Orthanc (e.g. "./libPluginTest.so" for Linux, or |
1272
7442097b41c9
Scan of folders for plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1199
diff
changeset
|
51 // "./PluginTest.dll" for Windows). These paths can refer to |
7442097b41c9
Scan of folders for plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1199
diff
changeset
|
52 // folders, in which case they will be scanned non-recursively to |
2229
0f09c1d18584
note about backslashes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2208
diff
changeset
|
53 // find shared libraries. Backslashes must be either escaped by |
0f09c1d18584
note about backslashes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2208
diff
changeset
|
54 // doubling them, or replaced by forward slashes "/". |
891 | 55 "Plugins" : [ |
56 ], | |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
57 |
2736 | 58 // Maximum number of processing jobs that are simultaneously running |
2570
2e879c796ec7
JobsRegistry::SubmitAndWait(), StoreScuJob
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2375
diff
changeset
|
59 // at any given time. A value of "0" indicates to use all the |
2e879c796ec7
JobsRegistry::SubmitAndWait(), StoreScuJob
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2375
diff
changeset
|
60 // available CPU logical cores. To emulate Orthanc <= 1.3.2, set |
2e879c796ec7
JobsRegistry::SubmitAndWait(), StoreScuJob
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2375
diff
changeset
|
61 // this value to "1". |
2e879c796ec7
JobsRegistry::SubmitAndWait(), StoreScuJob
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2375
diff
changeset
|
62 "ConcurrentJobs" : 2, |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
63 |
1592
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
64 |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
65 /** |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
66 * Configuration of the HTTP server |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
67 **/ |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
68 |
1592
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
69 // Enable the HTTP server. If this parameter is set to "false", |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
70 // Orthanc acts as a pure DICOM server. The REST API and Orthanc |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
71 // Explorer will not be available. |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
72 "HttpServerEnabled" : true, |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
73 |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
74 // HTTP port for the REST services and for the GUI |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
75 "HttpPort" : 8042, |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
76 |
1592
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
77 // When the following option is "true", if an error is encountered |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
78 // while calling the REST API, a JSON message describing the error |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
79 // is put in the HTTP answer. This feature can be disabled if the |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
80 // HTTP client does not properly handles such answers. |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
81 "HttpDescribeErrors" : true, |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
82 |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
83 // Enable HTTP compression to improve network bandwidth utilization, |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
84 // at the expense of more computations on the server. Orthanc |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
85 // supports the "gzip" and "deflate" HTTP encodings. |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
86 "HttpCompressionEnabled" : true, |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
87 |
4243
64f57c9d5f79
configuration options for webdav
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4209
diff
changeset
|
88 // Enable the publication of the content of the Orthanc server as a |
64f57c9d5f79
configuration options for webdav
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4209
diff
changeset
|
89 // WebDAV share (new in Orthanc 1.8.0). On the localhost, the WebDAV |
64f57c9d5f79
configuration options for webdav
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4209
diff
changeset
|
90 // share is mapped as "http://localhost:8042/webdav/". |
64f57c9d5f79
configuration options for webdav
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4209
diff
changeset
|
91 "WebDavEnabled" : true, |
64f57c9d5f79
configuration options for webdav
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4209
diff
changeset
|
92 |
64f57c9d5f79
configuration options for webdav
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4209
diff
changeset
|
93 // Whether to allow deletions through the WebDAV share. This is |
64f57c9d5f79
configuration options for webdav
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4209
diff
changeset
|
94 // disabled by default to avoid accidental loss of DICOM instances. |
64f57c9d5f79
configuration options for webdav
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4209
diff
changeset
|
95 "WebDavDeleteAllowed" : false, |
64f57c9d5f79
configuration options for webdav
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4209
diff
changeset
|
96 |
64f57c9d5f79
configuration options for webdav
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4209
diff
changeset
|
97 // Whether to allow uploads through the WebDAV share. |
64f57c9d5f79
configuration options for webdav
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4209
diff
changeset
|
98 "WebDavUploadAllowed" : true, |
64f57c9d5f79
configuration options for webdav
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4209
diff
changeset
|
99 |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
100 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
101 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
102 /** |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
103 * Configuration of the DICOM server |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
104 **/ |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
105 |
1592
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
106 // Enable the DICOM server. If this parameter is set to "false", |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
107 // Orthanc acts as a pure REST server. It will not be possible to |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
108 // receive files or to do query/retrieve through the DICOM protocol. |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
109 "DicomServerEnabled" : true, |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
110 |
3582
d00a803d1802
some additional info about AET in the default config file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3561
diff
changeset
|
111 // The DICOM Application Entity Title (cannot be longer than 16 |
d00a803d1802
some additional info about AET in the default config file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3561
diff
changeset
|
112 // characters) |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
113 "DicomAet" : "ORTHANC", |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
114 |
2352
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
115 // Check whether the called AET corresponds to the AET of Orthanc |
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
116 // during an incoming DICOM SCU request |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
117 "DicomCheckCalledAet" : false, |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
118 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
119 // The DICOM port |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
120 "DicomPort" : 4242, |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
121 |
1115
da56a7916e8a
Experimental "KeepAlive" configuration option to enable HTTP Keep-Alive
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1090
diff
changeset
|
122 // The default encoding that is assumed for DICOM files without |
2203 | 123 // "SpecificCharacterSet" DICOM tag, and that is used when answering |
2207
6dc3bdb4088b
Fix handling of encodings in C-FIND for worklists
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2203
diff
changeset
|
124 // C-Find requests (including worklists). The allowed values are |
6dc3bdb4088b
Fix handling of encodings in C-FIND for worklists
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2203
diff
changeset
|
125 // "Ascii", "Utf8", "Latin1", "Latin2", "Latin3", "Latin4", |
6dc3bdb4088b
Fix handling of encodings in C-FIND for worklists
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2203
diff
changeset
|
126 // "Latin5", "Cyrillic", "Windows1251", "Arabic", "Greek", "Hebrew", |
3226
45e1631febbb
support of simplified chinese
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3218
diff
changeset
|
127 // "Thai", "Japanese", "Chinese", "JapaneseKanji", "Korean", and |
45e1631febbb
support of simplified chinese
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3218
diff
changeset
|
128 // "SimplifiedChinese". |
1115
da56a7916e8a
Experimental "KeepAlive" configuration option to enable HTTP Keep-Alive
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1090
diff
changeset
|
129 "DefaultEncoding" : "Latin1", |
da56a7916e8a
Experimental "KeepAlive" configuration option to enable HTTP Keep-Alive
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1090
diff
changeset
|
130 |
1164
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1142
diff
changeset
|
131 // The transfer syntaxes that are accepted by Orthanc C-Store SCP |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1142
diff
changeset
|
132 "DeflatedTransferSyntaxAccepted" : true, |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1142
diff
changeset
|
133 "JpegTransferSyntaxAccepted" : true, |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1142
diff
changeset
|
134 "Jpeg2000TransferSyntaxAccepted" : true, |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1142
diff
changeset
|
135 "JpegLosslessTransferSyntaxAccepted" : true, |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1142
diff
changeset
|
136 "JpipTransferSyntaxAccepted" : true, |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1142
diff
changeset
|
137 "Mpeg2TransferSyntaxAccepted" : true, |
0a55d8eb194e
Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1142
diff
changeset
|
138 "RleTransferSyntaxAccepted" : true, |
3643
fa3ff492fb3b
added TransferSyntax_Mpeg4
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3582
diff
changeset
|
139 "Mpeg4TransferSyntaxAccepted" : true, // New in Orthanc 1.6.0 |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
140 |
1806
cd213ebcaefd
UnknownSopClassAccepted option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1772
diff
changeset
|
141 // Whether Orthanc accepts to act as C-Store SCP for unknown storage |
cd213ebcaefd
UnknownSopClassAccepted option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1772
diff
changeset
|
142 // SOP classes (aka. "promiscuous mode") |
1871
e8146c9c28a4
Promiscuous mode is now turned off by default
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1856
diff
changeset
|
143 "UnknownSopClassAccepted" : false, |
1806
cd213ebcaefd
UnknownSopClassAccepted option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1772
diff
changeset
|
144 |
2069
fabf7820d1f1
New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + validation of non-negative options
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2039
diff
changeset
|
145 // Set the timeout (in seconds) after which the DICOM associations |
fabf7820d1f1
New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + validation of non-negative options
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2039
diff
changeset
|
146 // are closed by the Orthanc SCP (server) if no further DIMSE |
fabf7820d1f1
New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + validation of non-negative options
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2039
diff
changeset
|
147 // command is received from the SCU (client). |
fabf7820d1f1
New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + validation of non-negative options
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2039
diff
changeset
|
148 "DicomScpTimeout" : 30, |
fabf7820d1f1
New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + validation of non-negative options
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2039
diff
changeset
|
149 |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
150 |
1592
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
151 |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
152 /** |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
153 * Security-related options for the HTTP server |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
154 **/ |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
155 |
3506
d2b9981017c4
better handling of HTTP security
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3500
diff
changeset
|
156 // Whether remote hosts can connect to the HTTP server |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
157 "RemoteAccessAllowed" : false, |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
158 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
159 // Whether or not SSL is enabled |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
160 "SslEnabled" : false, |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
161 |
4197 | 162 // Path to the SSL certificate used by the HTTP server. The file |
163 // must be stored in the PEM format, and must contain both the | |
164 // certificate and the private key. This option is only meaningful | |
165 // if "SslEnabled" is true. | |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
166 "SslCertificate" : "certificate.pem", |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
167 |
4197 | 168 // Whether or not peer client certificates shall be checked. This |
4209 | 169 // option is only meaningful if "SslEnabled" is true. |
4190
9ce5c89328f5
New configuration options to enable HTTP peers identification through certificates
Alain Mazy <alain@mazy.be>
parents:
4187
diff
changeset
|
170 "SslVerifyPeers" : false, |
9ce5c89328f5
New configuration options to enable HTTP peers identification through certificates
Alain Mazy <alain@mazy.be>
parents:
4187
diff
changeset
|
171 |
4197 | 172 // Path to a file containing the concatenation of the client SSL |
173 // certificate(s) that are trusted to verify the identify of remote | |
174 // HTTP clients. The individual certificate(s) must be stored in the | |
4209 | 175 // PEM format. This option is only meaningful if "SslVerifyPeers" |
4197 | 176 // is true. |
4190
9ce5c89328f5
New configuration options to enable HTTP peers identification through certificates
Alain Mazy <alain@mazy.be>
parents:
4187
diff
changeset
|
177 "SslTrustedClientCertificates" : "trustedClientCertificates.pem", |
9ce5c89328f5
New configuration options to enable HTTP peers identification through certificates
Alain Mazy <alain@mazy.be>
parents:
4187
diff
changeset
|
178 |
3506
d2b9981017c4
better handling of HTTP security
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3500
diff
changeset
|
179 // Whether or not the password protection is enabled (using HTTP |
d2b9981017c4
better handling of HTTP security
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3500
diff
changeset
|
180 // basic access authentication). Starting with Orthanc 1.5.8, if |
d2b9981017c4
better handling of HTTP security
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3500
diff
changeset
|
181 // "AuthenticationEnabled" is not explicitly set, authentication is |
d2b9981017c4
better handling of HTTP security
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3500
diff
changeset
|
182 // enabled iff. remote access is allowed (i.e. the default value of |
d2b9981017c4
better handling of HTTP security
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3500
diff
changeset
|
183 // "AuthenticationEnabled" equals that of "RemoteAccessAllowed"). |
d2b9981017c4
better handling of HTTP security
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3500
diff
changeset
|
184 /** |
d2b9981017c4
better handling of HTTP security
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3500
diff
changeset
|
185 "AuthenticationEnabled" : false, |
d2b9981017c4
better handling of HTTP security
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3500
diff
changeset
|
186 **/ |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
187 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
188 // The list of the registered users. Because Orthanc uses HTTP |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
189 // Basic Authentication, the passwords are stored as plain text. |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
190 "RegisteredUsers" : { |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
191 // "alice" : "alicePassword" |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
192 }, |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
193 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
194 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
195 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
196 /** |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
197 * Network topology |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
198 **/ |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
199 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
200 // The list of the known DICOM modalities |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
201 "DicomModalities" : { |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
202 /** |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
203 * Uncommenting the following line would enable Orthanc to |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
204 * connect to an instance of the "storescp" open-source DICOM |
3582
d00a803d1802
some additional info about AET in the default config file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3561
diff
changeset
|
205 * store (shipped in the DCMTK distribution), as started by the |
d00a803d1802
some additional info about AET in the default config file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3561
diff
changeset
|
206 * command line "storescp 2000". The first parameter is the |
d00a803d1802
some additional info about AET in the default config file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3561
diff
changeset
|
207 * AET of the remote modality (cannot be longer than 16 |
d00a803d1802
some additional info about AET in the default config file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3561
diff
changeset
|
208 * characters), the second one is the remote network address, |
d00a803d1802
some additional info about AET in the default config file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3561
diff
changeset
|
209 * and the third one is the TCP port number corresponding |
d00a803d1802
some additional info about AET in the default config file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3561
diff
changeset
|
210 * to the DICOM protocol on the remote modality (usually 104). |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
211 **/ |
2032
65b1ce7cb84f
Replaced "localhost" by "127.0.0.1", as it might impact performance on Windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2030
diff
changeset
|
212 // "sample" : [ "STORESCP", "127.0.0.1", 2000 ] |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
213 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
214 /** |
2352
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
215 * A fourth parameter is available to enable patches for |
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
216 * specific PACS manufacturers. The allowed values are currently: |
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
217 * - "Generic" (default value), |
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
218 * - "GenericNoWildcardInDates" (to replace "*" by "" in date fields |
2888
61a5667f37d9
New modality manufacturer: "GE" for GE Healthcare EA and AW
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2872
diff
changeset
|
219 * in outgoing C-Find requests originating from Orthanc), |
2352
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
220 * - "GenericNoUniversalWildcard" (to replace "*" by "" in all fields |
2888
61a5667f37d9
New modality manufacturer: "GE" for GE Healthcare EA and AW
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2872
diff
changeset
|
221 * in outgoing C-Find SCU requests originating from Orthanc), |
61a5667f37d9
New modality manufacturer: "GE" for GE Healthcare EA and AW
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2872
diff
changeset
|
222 * - "Vitrea", |
61a5667f37d9
New modality manufacturer: "GE" for GE Healthcare EA and AW
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2872
diff
changeset
|
223 * - "GE" (Enterprise Archive, MRI consoles and Advantage Workstation |
61a5667f37d9
New modality manufacturer: "GE" for GE Healthcare EA and AW
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2872
diff
changeset
|
224 * from GE Healthcare). |
61a5667f37d9
New modality manufacturer: "GE" for GE Healthcare EA and AW
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2872
diff
changeset
|
225 * |
2318 | 226 * This parameter is case-sensitive. |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
227 **/ |
3561
bdafff1ce443
C-Find SCU at Instance level now sets the 0008,0052 tag to IMAGE per default (was INSTANCE). Source: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/orthanc-users/FYxHXzlaQ0M/rn6d0SowAAAJ
Alain Mazy <alain@mazy.be>
parents:
3537
diff
changeset
|
228 // "vitrea" : [ "VITREA", "192.168.1.1", 104, "Vitrea" ] |
2872
9d08edde614b
Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2825
diff
changeset
|
229 |
9d08edde614b
Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2825
diff
changeset
|
230 /** |
3273 | 231 * By default, the Orthanc SCP accepts all DICOM commands (C-ECHO, |
3818
4f78da5613a1
Add C-GET SCP support
Stacy Loesch <stacy.loesch@varian.com>
parents:
3736
diff
changeset
|
232 * C-STORE, C-FIND, C-MOVE, C-GET and storage commitment) issued by the |
3613
c1e2b91c2ab4
all the abstractions for storage commitment are available
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3602
diff
changeset
|
233 * registered remote SCU modalities. Starting with Orthanc 1.5.0, |
c1e2b91c2ab4
all the abstractions for storage commitment are available
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3602
diff
changeset
|
234 * it is possible to specify which DICOM commands are allowed, |
c1e2b91c2ab4
all the abstractions for storage commitment are available
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3602
diff
changeset
|
235 * separately for each remote modality, using the syntax |
3894
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
236 * below. |
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
237 * |
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
238 * The "AllowEcho" (resp. "AllowStore") option only has an effect |
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
239 * respectively if global option "DicomAlwaysAllowEcho" |
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
240 * (resp. "DicomAlwaysAllowStore") is set to "false". |
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
241 * |
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
242 * Starting with Orthanc 1.7.0, "AllowTranscoding" can be used to |
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
243 * disable the transcoding to uncompressed transfer syntaxes if |
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
244 * the remote modality doesn't support compressed transfer |
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
245 * syntaxes. This option only has an effect if global option |
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
246 * "EnableTranscoding" is set to "true". |
4175 | 247 * |
248 * By default, all "Allow*" options are true. | |
4178
3576616904d3
sample config: storage commitment
Alain Mazy <alain@mazy.be>
parents:
4177
diff
changeset
|
249 * "AllowStorageCommitment" is actually an alias for |
3576616904d3
sample config: storage commitment
Alain Mazy <alain@mazy.be>
parents:
4177
diff
changeset
|
250 * "AllowNAction" & "AllowEventReport". |
2872
9d08edde614b
Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2825
diff
changeset
|
251 **/ |
9d08edde614b
Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2825
diff
changeset
|
252 //"untrusted" : { |
9d08edde614b
Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2825
diff
changeset
|
253 // "AET" : "ORTHANC", |
9d08edde614b
Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2825
diff
changeset
|
254 // "Port" : 104, |
9d08edde614b
Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2825
diff
changeset
|
255 // "Host" : "127.0.0.1", |
3716
ae0e3fd609df
sample for "Manufacturer" option in "DicomModalities" config
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3709
diff
changeset
|
256 // "Manufacturer" : "Generic", |
2872
9d08edde614b
Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2825
diff
changeset
|
257 // "AllowEcho" : false, |
9d08edde614b
Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2825
diff
changeset
|
258 // "AllowFind" : false, |
3818
4f78da5613a1
Add C-GET SCP support
Stacy Loesch <stacy.loesch@varian.com>
parents:
3736
diff
changeset
|
259 // "AllowGet" : false, |
2872
9d08edde614b
Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2825
diff
changeset
|
260 // "AllowMove" : false, |
3602
085283445db0
AllowNAction in remote modality parameters
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3582
diff
changeset
|
261 // "AllowStore" : true, |
3894
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
262 // "AllowStorageCommitment" : false, // new in 1.6.0 |
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
263 // "AllowTranscoding" : true // new in 1.7.0 |
2872
9d08edde614b
Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2825
diff
changeset
|
264 //} |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
265 }, |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
266 |
2946
2e751f615e03
new configuration options: DicomModalitiesInDatabase and OrthancPeersInDatabase
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2932
diff
changeset
|
267 // Whether to store the DICOM modalities in the Orthanc database |
2988
9cc3d40e389b
Orthanc 1.4.3 is now known as 1.5.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2965
diff
changeset
|
268 // instead of in this configuration file (new in Orthanc 1.5.0) |
2946
2e751f615e03
new configuration options: DicomModalitiesInDatabase and OrthancPeersInDatabase
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2932
diff
changeset
|
269 "DicomModalitiesInDatabase" : false, |
2e751f615e03
new configuration options: DicomModalitiesInDatabase and OrthancPeersInDatabase
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2932
diff
changeset
|
270 |
2375
3ec85ff48374
New security-related options: "DicomAlwaysAllowEcho"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2352
diff
changeset
|
271 // Whether the Orthanc SCP allows incoming C-Echo requests, even |
3ec85ff48374
New security-related options: "DicomAlwaysAllowEcho"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2352
diff
changeset
|
272 // from SCU modalities it does not know about (i.e. that are not |
3ec85ff48374
New security-related options: "DicomAlwaysAllowEcho"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2352
diff
changeset
|
273 // listed in the "DicomModalities" option above). Orthanc 1.3.0 |
3ec85ff48374
New security-related options: "DicomAlwaysAllowEcho"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2352
diff
changeset
|
274 // is the only version to behave as if this argument was set to "false". |
3ec85ff48374
New security-related options: "DicomAlwaysAllowEcho"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2352
diff
changeset
|
275 "DicomAlwaysAllowEcho" : true, |
3ec85ff48374
New security-related options: "DicomAlwaysAllowEcho"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2352
diff
changeset
|
276 |
2352
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
277 // Whether the Orthanc SCP allows incoming C-Store requests, even |
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
278 // from SCU modalities it does not know about (i.e. that are not |
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
279 // listed in the "DicomModalities" option above) |
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
280 "DicomAlwaysAllowStore" : true, |
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
281 |
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
282 // Whether Orthanc checks the IP/hostname address of the remote |
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
283 // modality initiating a DICOM connection (as listed in the |
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
284 // "DicomModalities" option above). If this option is set to |
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
285 // "false", Orthanc only checks the AET of the remote modality. |
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
286 "DicomCheckModalityHost" : false, |
3ab96768d144
Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2334
diff
changeset
|
287 |
2069
fabf7820d1f1
New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + validation of non-negative options
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2039
diff
changeset
|
288 // The timeout (in seconds) after which the DICOM associations are |
fabf7820d1f1
New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + validation of non-negative options
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2039
diff
changeset
|
289 // considered as closed by the Orthanc SCU (client) if the remote |
fabf7820d1f1
New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + validation of non-negative options
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2039
diff
changeset
|
290 // DICOM SCP (server) does not answer. |
fabf7820d1f1
New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + validation of non-negative options
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2039
diff
changeset
|
291 "DicomScuTimeout" : 10, |
fabf7820d1f1
New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + validation of non-negative options
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2039
diff
changeset
|
292 |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
293 // The list of the known Orthanc peers |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
294 "OrthancPeers" : { |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
295 /** |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
296 * Each line gives the base URL of an Orthanc peer, possibly |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
297 * followed by the username/password pair (if the password |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
298 * protection is enabled on the peer). |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
299 **/ |
2032
65b1ce7cb84f
Replaced "localhost" by "127.0.0.1", as it might impact performance on Windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2030
diff
changeset
|
300 // "peer" : [ "http://127.0.0.1:8043/", "alice", "alicePassword" ] |
65b1ce7cb84f
Replaced "localhost" by "127.0.0.1", as it might impact performance on Windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2030
diff
changeset
|
301 // "peer2" : [ "http://127.0.0.1:8044/" ] |
2019
9c9332e486ca
HTTPS client certificates can be associated with Orthanc peers to enhance security over Internet
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1973
diff
changeset
|
302 |
9c9332e486ca
HTTPS client certificates can be associated with Orthanc peers to enhance security over Internet
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1973
diff
changeset
|
303 /** |
9c9332e486ca
HTTPS client certificates can be associated with Orthanc peers to enhance security over Internet
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1973
diff
changeset
|
304 * This is another, more advanced format to define Orthanc |
3973
d86bddb50972
fix spelling errors according to debian
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3958
diff
changeset
|
305 * peers. It notably allows one to specify HTTP headers, a HTTPS |
2800
dc7330089736
"OrthancPeers" configuration option now allows to specify HTTP headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2788
diff
changeset
|
306 * client certificate in the PEM format (as in the "--cert" option |
dc7330089736
"OrthancPeers" configuration option now allows to specify HTTP headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2788
diff
changeset
|
307 * of curl), or to enable PKCS#11 authentication for smart cards. |
2019
9c9332e486ca
HTTPS client certificates can be associated with Orthanc peers to enhance security over Internet
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1973
diff
changeset
|
308 **/ |
9c9332e486ca
HTTPS client certificates can be associated with Orthanc peers to enhance security over Internet
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1973
diff
changeset
|
309 // "peer" : { |
2032
65b1ce7cb84f
Replaced "localhost" by "127.0.0.1", as it might impact performance on Windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2030
diff
changeset
|
310 // "Url" : "http://127.0.0.1:8043/", |
2019
9c9332e486ca
HTTPS client certificates can be associated with Orthanc peers to enhance security over Internet
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1973
diff
changeset
|
311 // "Username" : "alice", |
9c9332e486ca
HTTPS client certificates can be associated with Orthanc peers to enhance security over Internet
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1973
diff
changeset
|
312 // "Password" : "alicePassword", |
2800
dc7330089736
"OrthancPeers" configuration option now allows to specify HTTP headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2788
diff
changeset
|
313 // "HttpHeaders" : { "Token" : "Hello world" }, |
2019
9c9332e486ca
HTTPS client certificates can be associated with Orthanc peers to enhance security over Internet
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1973
diff
changeset
|
314 // "CertificateFile" : "client.crt", |
9c9332e486ca
HTTPS client certificates can be associated with Orthanc peers to enhance security over Internet
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1973
diff
changeset
|
315 // "CertificateKeyFile" : "client.key", |
2022
fefbe71c2272
Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2019
diff
changeset
|
316 // "CertificateKeyPassword" : "certpass", |
fefbe71c2272
Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2019
diff
changeset
|
317 // "Pkcs11" : false |
2019
9c9332e486ca
HTTPS client certificates can be associated with Orthanc peers to enhance security over Internet
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1973
diff
changeset
|
318 // } |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
319 }, |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
320 |
2946
2e751f615e03
new configuration options: DicomModalitiesInDatabase and OrthancPeersInDatabase
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2932
diff
changeset
|
321 // Whether to store the Orthanc peers in the Orthanc database |
2988
9cc3d40e389b
Orthanc 1.4.3 is now known as 1.5.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2965
diff
changeset
|
322 // instead of in this configuration file (new in Orthanc 1.5.0) |
2946
2e751f615e03
new configuration options: DicomModalitiesInDatabase and OrthancPeersInDatabase
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2932
diff
changeset
|
323 "OrthancPeersInDatabase" : false, |
2e751f615e03
new configuration options: DicomModalitiesInDatabase and OrthancPeersInDatabase
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2932
diff
changeset
|
324 |
1273
88010d8e12cf
Support of HTTP proxy
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1272
diff
changeset
|
325 // Parameters of the HTTP proxy to be used by Orthanc. If set to the |
88010d8e12cf
Support of HTTP proxy
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1272
diff
changeset
|
326 // empty string, no HTTP proxy is used. For instance: |
88010d8e12cf
Support of HTTP proxy
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1272
diff
changeset
|
327 // "HttpProxy" : "192.168.0.1:3128" |
88010d8e12cf
Support of HTTP proxy
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1272
diff
changeset
|
328 // "HttpProxy" : "proxyUser:proxyPassword@192.168.0.1:3128" |
88010d8e12cf
Support of HTTP proxy
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1272
diff
changeset
|
329 "HttpProxy" : "", |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
330 |
2788
959bd8857eb5
New configuration option: "HttpVerbose" to debug outgoing HTTP connections
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2736
diff
changeset
|
331 // If set to "true", debug messages from libcurl will be issued |
959bd8857eb5
New configuration option: "HttpVerbose" to debug outgoing HTTP connections
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2736
diff
changeset
|
332 // whenever Orthanc makes an outgoing HTTP request. This is notably |
959bd8857eb5
New configuration option: "HttpVerbose" to debug outgoing HTTP connections
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2736
diff
changeset
|
333 // useful to debug HTTPS-related problems. |
959bd8857eb5
New configuration option: "HttpVerbose" to debug outgoing HTTP connections
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2736
diff
changeset
|
334 "HttpVerbose" : false, |
959bd8857eb5
New configuration option: "HttpVerbose" to debug outgoing HTTP connections
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2736
diff
changeset
|
335 |
1590
ba0226474e22
New configuration option: "HttpTimeout" to set the default timeout for HTTP requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1534
diff
changeset
|
336 // Set the timeout for HTTP requests issued by Orthanc (in seconds). |
3427
3ff4f07806eb
Set HttpTimeout to 60 sec (that is a standard value across browsers and the same as in Stone of Orthanc)
Benjamin Golinvaux <bgo@osimis.io>
parents:
3346
diff
changeset
|
337 "HttpTimeout" : 60, |
1590
ba0226474e22
New configuration option: "HttpTimeout" to set the default timeout for HTTP requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1534
diff
changeset
|
338 |
1973
7bd4cb780feb
Option "HttpsVerifyPeers" can be used to connect against self-signed HTTPS certificates
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1871
diff
changeset
|
339 // Enable the verification of the peers during HTTPS requests. This |
7bd4cb780feb
Option "HttpsVerifyPeers" can be used to connect against self-signed HTTPS certificates
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1871
diff
changeset
|
340 // option must be set to "false" if using self-signed certificates. |
7bd4cb780feb
Option "HttpsVerifyPeers" can be used to connect against self-signed HTTPS certificates
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1871
diff
changeset
|
341 // Pay attention that setting this option to "false" results in |
7bd4cb780feb
Option "HttpsVerifyPeers" can be used to connect against self-signed HTTPS certificates
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1871
diff
changeset
|
342 // security risks! |
1592
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
343 // Reference: http://curl.haxx.se/docs/sslcerts.html |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
344 "HttpsVerifyPeers" : true, |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
345 |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
346 // Path to the CA (certification authority) certificates to validate |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
347 // peers in HTTPS requests. From curl documentation ("--cacert" |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
348 // option): "Tells curl to use the specified certificate file to |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
349 // verify the peers. The file may contain multiple CA |
2923 | 350 // certificates. The certificate(s) must be in PEM format." On |
351 // Debian-based systems, this option can be set to | |
352 // "/etc/ssl/certs/ca-certificates.crt" | |
1592
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
353 "HttpsCACertificates" : "", |
d73124f6b439
configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1590
diff
changeset
|
354 |
1590
ba0226474e22
New configuration option: "HttpTimeout" to set the default timeout for HTTP requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1534
diff
changeset
|
355 |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
356 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
357 /** |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
358 * Advanced options |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
359 **/ |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
360 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
361 // Dictionary of symbolic names for the user-defined metadata. Each |
1772
53e045b5a8ec
MIME content type can be associated to custom attachments (cf. "UserContentType")
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1765
diff
changeset
|
362 // entry must map an unique string to an unique number between 1024 |
2184 | 363 // and 65535. Reserved values: |
364 // - The Orthanc whole-slide imaging plugin uses metadata 4200 | |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
365 "UserMetadata" : { |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
366 // "Sample" : 1024 |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
367 }, |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
368 |
696
4c1860179cc5
dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
695
diff
changeset
|
369 // Dictionary of symbolic names for the user-defined types of |
1772
53e045b5a8ec
MIME content type can be associated to custom attachments (cf. "UserContentType")
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1765
diff
changeset
|
370 // attached files. Each entry must map an unique string to an unique |
53e045b5a8ec
MIME content type can be associated to custom attachments (cf. "UserContentType")
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1765
diff
changeset
|
371 // number between 1024 and 65535. Optionally, a second argument can |
53e045b5a8ec
MIME content type can be associated to custom attachments (cf. "UserContentType")
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1765
diff
changeset
|
372 // provided to specify a MIME content type for the attachment. |
696
4c1860179cc5
dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
695
diff
changeset
|
373 "UserContentType" : { |
4c1860179cc5
dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
695
diff
changeset
|
374 // "sample" : 1024 |
1772
53e045b5a8ec
MIME content type can be associated to custom attachments (cf. "UserContentType")
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1765
diff
changeset
|
375 // "sample2" : [ 1025, "application/pdf" ] |
696
4c1860179cc5
dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
695
diff
changeset
|
376 }, |
4c1860179cc5
dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
695
diff
changeset
|
377 |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
378 // Number of seconds without receiving any instance before a |
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
379 // patient, a study or a series is considered as stable. |
685
b01cc78caba4
possibility to disable the DICOM/HTTP servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
683
diff
changeset
|
380 "StableAge" : 60, |
b01cc78caba4
possibility to disable the DICOM/HTTP servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
683
diff
changeset
|
381 |
690
2e67366aab83
case-insensitive matching of Application Entity Titles
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
685
diff
changeset
|
382 // By default, Orthanc compares AET (Application Entity Titles) in a |
2e67366aab83
case-insensitive matching of Application Entity Titles
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
685
diff
changeset
|
383 // case-insensitive way. Setting this option to "true" will enable |
2e67366aab83
case-insensitive matching of Application Entity Titles
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
685
diff
changeset
|
384 // case-sensitive matching. |
695
c59bc408fb10
parameter to disable the computation of the MD5
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
690
diff
changeset
|
385 "StrictAetComparison" : false, |
c59bc408fb10
parameter to disable the computation of the MD5
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
690
diff
changeset
|
386 |
c59bc408fb10
parameter to disable the computation of the MD5
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
690
diff
changeset
|
387 // When the following option is "true", the MD5 of the DICOM files |
c59bc408fb10
parameter to disable the computation of the MD5
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
690
diff
changeset
|
388 // will be computed and stored in the Orthanc database. This |
c59bc408fb10
parameter to disable the computation of the MD5
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
690
diff
changeset
|
389 // information can be used to detect disk corruption, at the price |
c59bc408fb10
parameter to disable the computation of the MD5
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
690
diff
changeset
|
390 // of a small performance overhead. |
941
83489fddd8c5
Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
732
diff
changeset
|
391 "StoreMD5ForAttachments" : true, |
83489fddd8c5
Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
732
diff
changeset
|
392 |
83489fddd8c5
Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
732
diff
changeset
|
393 // The maximum number of results for a single C-FIND request at the |
83489fddd8c5
Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
732
diff
changeset
|
394 // Patient, Study or Series level. Setting this option to "0" means |
83489fddd8c5
Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
732
diff
changeset
|
395 // no limit. |
83489fddd8c5
Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
732
diff
changeset
|
396 "LimitFindResults" : 0, |
83489fddd8c5
Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
732
diff
changeset
|
397 |
83489fddd8c5
Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
732
diff
changeset
|
398 // The maximum number of results for a single C-FIND request at the |
83489fddd8c5
Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
732
diff
changeset
|
399 // Instance level. Setting this option to "0" means no limit. |
995
8c67382f44a7
limit number of jobs in the scheduler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
941
diff
changeset
|
400 "LimitFindInstances" : 0, |
8c67382f44a7
limit number of jobs in the scheduler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
941
diff
changeset
|
401 |
8c67382f44a7
limit number of jobs in the scheduler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
941
diff
changeset
|
402 // The maximum number of active jobs in the Orthanc scheduler. When |
8c67382f44a7
limit number of jobs in the scheduler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
941
diff
changeset
|
403 // this limit is reached, the addition of new jobs is blocked until |
8c67382f44a7
limit number of jobs in the scheduler
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
941
diff
changeset
|
404 // some job finishes. |
1086
e56c3ed8d738
Parameter to set the default encoding for DICOM files without SpecificCharacterSet
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1018
diff
changeset
|
405 "LimitJobs" : 10, |
e56c3ed8d738
Parameter to set the default encoding for DICOM files without SpecificCharacterSet
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1018
diff
changeset
|
406 |
2685
6801f99bbc2f
Configuration option "LogExportedResources" is now "false" by default
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2625
diff
changeset
|
407 // If this option is set to "true" (default behavior until Orthanc |
6801f99bbc2f
Configuration option "LogExportedResources" is now "false" by default
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2625
diff
changeset
|
408 // 1.3.2), Orthanc will log the resources that are exported to other |
6801f99bbc2f
Configuration option "LogExportedResources" is now "false" by default
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2625
diff
changeset
|
409 // DICOM modalities or Orthanc peers, inside the URI |
6801f99bbc2f
Configuration option "LogExportedResources" is now "false" by default
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2625
diff
changeset
|
410 // "/exports". Setting this option to "false" is useful to prevent |
6801f99bbc2f
Configuration option "LogExportedResources" is now "false" by default
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2625
diff
changeset
|
411 // the index to grow indefinitely in auto-routing tasks (this is the |
6801f99bbc2f
Configuration option "LogExportedResources" is now "false" by default
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2625
diff
changeset
|
412 // default behavior since Orthanc 1.4.0). |
6801f99bbc2f
Configuration option "LogExportedResources" is now "false" by default
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2625
diff
changeset
|
413 "LogExportedResources" : false, |
1142
952cf9b6be83
Configuration option to disable the logging of exported resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1135
diff
changeset
|
414 |
3126
b1787ba94eef
fix issue #32 (HTTP keep-alive), make CivetWeb the default HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3045
diff
changeset
|
415 // Enable or disable HTTP Keep-Alive (persistent HTTP |
b1787ba94eef
fix issue #32 (HTTP keep-alive), make CivetWeb the default HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3045
diff
changeset
|
416 // connections). Setting this option to "true" prevents Orthanc |
b1787ba94eef
fix issue #32 (HTTP keep-alive), make CivetWeb the default HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3045
diff
changeset
|
417 // issue #32 ("HttpServer does not support multiple HTTP requests in |
3137
5a3b961e9524
New configuration option: 'TcpNoDelay' to disable Nagle's algorithm in HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3126
diff
changeset
|
418 // the same TCP stream"), but can possibly slow down HTTP clients |
5a3b961e9524
New configuration option: 'TcpNoDelay' to disable Nagle's algorithm in HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3126
diff
changeset
|
419 // that do not support persistent connections. The default behavior |
5a3b961e9524
New configuration option: 'TcpNoDelay' to disable Nagle's algorithm in HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3126
diff
changeset
|
420 // used to be "false" in Orthanc <= 1.5.1. Setting this option to |
5a3b961e9524
New configuration option: 'TcpNoDelay' to disable Nagle's algorithm in HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3126
diff
changeset
|
421 // "false" is also recommended if Orthanc is compiled against |
5a3b961e9524
New configuration option: 'TcpNoDelay' to disable Nagle's algorithm in HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3126
diff
changeset
|
422 // Mongoose. |
3126
b1787ba94eef
fix issue #32 (HTTP keep-alive), make CivetWeb the default HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3045
diff
changeset
|
423 "KeepAlive" : true, |
1135
67c3c1e4a6e0
index-only mode, and custom storage area with plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1115
diff
changeset
|
424 |
3137
5a3b961e9524
New configuration option: 'TcpNoDelay' to disable Nagle's algorithm in HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3126
diff
changeset
|
425 // Enable or disable Nagle's algorithm. Only taken into |
5a3b961e9524
New configuration option: 'TcpNoDelay' to disable Nagle's algorithm in HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3126
diff
changeset
|
426 // consideration if Orthanc is compiled to use CivetWeb. Experiments |
5a3b961e9524
New configuration option: 'TcpNoDelay' to disable Nagle's algorithm in HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3126
diff
changeset
|
427 // show that best performance can be obtained by setting both |
5a3b961e9524
New configuration option: 'TcpNoDelay' to disable Nagle's algorithm in HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3126
diff
changeset
|
428 // "KeepAlive" and "TcpNoDelay" to "true". Beware however of |
5a3b961e9524
New configuration option: 'TcpNoDelay' to disable Nagle's algorithm in HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3126
diff
changeset
|
429 // caveats: https://eklitzke.org/the-caveats-of-tcp-nodelay |
5a3b961e9524
New configuration option: 'TcpNoDelay' to disable Nagle's algorithm in HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3126
diff
changeset
|
430 "TcpNoDelay" : true, |
5a3b961e9524
New configuration option: 'TcpNoDelay' to disable Nagle's algorithm in HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3126
diff
changeset
|
431 |
3852
ee0a1211419f
reverting default HttpThreadsCount to 50, as this slows performance of integration tests from 40s to 170s
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3851
diff
changeset
|
432 // Number of threads that are used by the embedded HTTP server. |
ee0a1211419f
reverting default HttpThreadsCount to 50, as this slows performance of integration tests from 40s to 170s
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3851
diff
changeset
|
433 "HttpThreadsCount" : 50, |
3180
07a2f637b76d
new option: "HttpThreadsCount" to set the number of threads in the embedded HTTP server
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3174
diff
changeset
|
434 |
1135
67c3c1e4a6e0
index-only mode, and custom storage area with plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1115
diff
changeset
|
435 // If this option is set to "false", Orthanc will run in index-only |
1668
de1413733c97
reconstructing main dicom tags
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1592
diff
changeset
|
436 // mode. The DICOM files will not be stored on the drive. Note that |
de1413733c97
reconstructing main dicom tags
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1592
diff
changeset
|
437 // this option might prevent the upgrade to newer versions of Orthanc. |
1284
21ea32170764
Option "DicomAssociationCloseDelay" to set delay before closing DICOM association
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1283
diff
changeset
|
438 "StoreDicom" : true, |
21ea32170764
Option "DicomAssociationCloseDelay" to set delay before closing DICOM association
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1283
diff
changeset
|
439 |
2620
1232922c8793
speeding up shutdown if Lua script is in trailing phase
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2570
diff
changeset
|
440 // DICOM associations initiated by Lua scripts are kept open as long |
1232922c8793
speeding up shutdown if Lua script is in trailing phase
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2570
diff
changeset
|
441 // as new DICOM commands are issued. This option sets the number of |
1232922c8793
speeding up shutdown if Lua script is in trailing phase
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2570
diff
changeset
|
442 // seconds of inactivity to wait before automatically closing a |
1232922c8793
speeding up shutdown if Lua script is in trailing phase
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2570
diff
changeset
|
443 // DICOM association used by Lua. If set to 0, the connection is |
3851
6498739a3c3c
refactoring: TimeoutDicomConnectionManager is now only used by Lua
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3842
diff
changeset
|
444 // closed immediately. This option is only used in Lua scripts. |
1374
a1745d9be6e9
CaseSensitivePN configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1347
diff
changeset
|
445 "DicomAssociationCloseDelay" : 5, |
a1745d9be6e9
CaseSensitivePN configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1347
diff
changeset
|
446 |
1368 | 447 // Maximum number of query/retrieve DICOM requests that are |
448 // maintained by Orthanc. The least recently used requests get | |
449 // deleted as new requests are issued. | |
3346
f509d3c6d570
increasing default value of QueryRetrieveSize to 100
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3300
diff
changeset
|
450 "QueryRetrieveSize" : 100, |
1383
5c11c4e728eb
integration mainline->query-retrieve
Sebastien Jodogne <s.jodogne@gmail.com>
diff
changeset
|
451 |
1729 | 452 // When handling a C-Find SCP request, setting this flag to "true" |
453 // will enable case-sensitive match for PN value representation | |
454 // (such as PatientName). By default, the search is | |
455 // case-insensitive, which does not follow the DICOM standard. | |
1765
57b9e6890482
New configuration option: "Dictionary" to declare custom DICOM tags
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1729
diff
changeset
|
456 "CaseSensitivePN" : false, |
2022
fefbe71c2272
Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2019
diff
changeset
|
457 |
fefbe71c2272
Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2019
diff
changeset
|
458 // Configure PKCS#11 to use hardware security modules (HSM) and |
fefbe71c2272
Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2019
diff
changeset
|
459 // smart cards when carrying on HTTPS client authentication. |
fefbe71c2272
Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2019
diff
changeset
|
460 /** |
fefbe71c2272
Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2019
diff
changeset
|
461 "Pkcs11" : { |
fefbe71c2272
Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2019
diff
changeset
|
462 "Module" : "/usr/local/lib/libbeidpkcs11.so", |
2030 | 463 "Module" : "C:/Windows/System32/beidpkcs11.dll", |
2022
fefbe71c2272
Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2019
diff
changeset
|
464 "Pin" : "1234", |
fefbe71c2272
Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2019
diff
changeset
|
465 "Verbose" : true |
fefbe71c2272
Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2019
diff
changeset
|
466 } |
fefbe71c2272
Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2019
diff
changeset
|
467 **/ |
1765
57b9e6890482
New configuration option: "Dictionary" to declare custom DICOM tags
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1729
diff
changeset
|
468 |
2151
8cbb55089a1d
New configuration option: "LoadPrivateDictionary"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2129
diff
changeset
|
469 // If set to "false", Orthanc will not load its default dictionary |
8cbb55089a1d
New configuration option: "LoadPrivateDictionary"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2129
diff
changeset
|
470 // of private tags. This might be necessary if you cannot import a |
8cbb55089a1d
New configuration option: "LoadPrivateDictionary"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2129
diff
changeset
|
471 // DICOM file encoded using the Implicit VR Endian transfer syntax, |
2152
cbebc5d072b0
Use of DCMTK 3.6.1 dictionary of private tags in standalone builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2151
diff
changeset
|
472 // and containing private tags: Such an import error might stem from |
cbebc5d072b0
Use of DCMTK 3.6.1 dictionary of private tags in standalone builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2151
diff
changeset
|
473 // a bad dictionary. You can still list your private tags of |
cbebc5d072b0
Use of DCMTK 3.6.1 dictionary of private tags in standalone builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2151
diff
changeset
|
474 // interest in the "Dictionary" configuration option below. |
2151
8cbb55089a1d
New configuration option: "LoadPrivateDictionary"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2129
diff
changeset
|
475 "LoadPrivateDictionary" : true, |
8cbb55089a1d
New configuration option: "LoadPrivateDictionary"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2129
diff
changeset
|
476 |
2334 | 477 // Locale to be used by Orthanc. Currently, only used if comparing |
478 // strings in a case-insensitive way. It should be safe to keep this | |
479 // value undefined, which lets Orthanc autodetect the suitable locale. | |
2330
9c7a80c87ae9
"Locale" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2319
diff
changeset
|
480 // "Locale" : "en_US.UTF-8", |
9c7a80c87ae9
"Locale" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2319
diff
changeset
|
481 |
1765
57b9e6890482
New configuration option: "Dictionary" to declare custom DICOM tags
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1729
diff
changeset
|
482 // Register a new tag in the dictionary of DICOM tags that are known |
57b9e6890482
New configuration option: "Dictionary" to declare custom DICOM tags
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1729
diff
changeset
|
483 // to Orthanc. Each line must contain the tag (formatted as 2 |
57b9e6890482
New configuration option: "Dictionary" to declare custom DICOM tags
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1729
diff
changeset
|
484 // hexadecimal numbers), the value representation (2 upcase |
57b9e6890482
New configuration option: "Dictionary" to declare custom DICOM tags
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1729
diff
changeset
|
485 // characters), a nickname for the tag, possibly the minimum |
2115
a657f7772e69
Handling of private tags/creators in the "Dictionary" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2069
diff
changeset
|
486 // multiplicity (> 0 with defaults to 1), possibly the maximum |
a657f7772e69
Handling of private tags/creators in the "Dictionary" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2069
diff
changeset
|
487 // multiplicity (0 means arbitrary multiplicity, defaults to 1), and |
a657f7772e69
Handling of private tags/creators in the "Dictionary" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2069
diff
changeset
|
488 // possibly the Private Creator (for private tags). |
1765
57b9e6890482
New configuration option: "Dictionary" to declare custom DICOM tags
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1729
diff
changeset
|
489 "Dictionary" : { |
57b9e6890482
New configuration option: "Dictionary" to declare custom DICOM tags
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1729
diff
changeset
|
490 // "0014,1020" : [ "DA", "ValidationExpiryDate", 1, 1 ] |
2151
8cbb55089a1d
New configuration option: "LoadPrivateDictionary"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2129
diff
changeset
|
491 // "00e1,10c2" : [ "UI", "PET-CT Multi Modality Name", 1, 1, "ELSCINT1" ] |
2129
0c09d1af22f3
"/tools/invalidate-tags" to invalidate the JSON summary of all the DICOM files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2116
diff
changeset
|
492 // "7053,1003" : [ "ST", "Original Image Filename", 1, 1, "Philips PET Private Group" ] |
2152
cbebc5d072b0
Use of DCMTK 3.6.1 dictionary of private tags in standalone builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2151
diff
changeset
|
493 // "2001,5f" : [ "SQ", "StackSequence", 1, 1, "Philips Imaging DD 001" ] |
2620
1232922c8793
speeding up shutdown if Lua script is in trailing phase
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2570
diff
changeset
|
494 }, |
1232922c8793
speeding up shutdown if Lua script is in trailing phase
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2570
diff
changeset
|
495 |
2625
5469dda691cd
new configuration option: SynchronousCMove
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2620
diff
changeset
|
496 // Whether to run DICOM C-Move operations synchronously. If set to |
3045 | 497 // "false" (asynchronous mode), each incoming C-Move request results |
498 // in the creation of a new background job. Up to Orthanc 1.3.2, the | |
499 // implicit behavior was to use synchronous C-Move ("true"). Between | |
500 // Orthanc 1.4.0 and 1.4.2, the default behavior was set to | |
501 // asynchronous C-Move ("false"). Since Orthanc 1.5.0, the default | |
502 // behavior is back to synchronous C-Move ("true", which ensures | |
503 // backward compatibility with Orthanc <= 1.3.2). | |
2932
00504dcc996f
"SynchronousCMove" is now "true" by default
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2923
diff
changeset
|
504 "SynchronousCMove" : true, |
2625
5469dda691cd
new configuration option: SynchronousCMove
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2620
diff
changeset
|
505 |
2620
1232922c8793
speeding up shutdown if Lua script is in trailing phase
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2570
diff
changeset
|
506 // Maximum number of completed jobs that are kept in memory. A |
1232922c8793
speeding up shutdown if Lua script is in trailing phase
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2570
diff
changeset
|
507 // processing job is considered as complete once it is tagged as |
2988
9cc3d40e389b
Orthanc 1.4.3 is now known as 1.5.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2965
diff
changeset
|
508 // "Success" or "Failure". Since Orthanc 1.5.0, a value of "0" |
2950
dc18d5804746
support of JobsHistorySize set to zero
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2946
diff
changeset
|
509 // indicates to keep no job in memory (i.e. jobs are removed from |
3162
94a4f75cc746
Fix issue #119 (/patients/.../archive returns a 500 when JobsHistorySize is 0)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3137
diff
changeset
|
510 // the history as soon as they are completed), which prevents the |
94a4f75cc746
Fix issue #119 (/patients/.../archive returns a 500 when JobsHistorySize is 0)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3137
diff
changeset
|
511 // use of some features of Orthanc (typically, synchronous mode in |
94a4f75cc746
Fix issue #119 (/patients/.../archive returns a 500 when JobsHistorySize is 0)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3137
diff
changeset
|
512 // REST API) and should be avoided for non-developers. |
2825
8aa6aef11b70
New configuration option "OverwriteInstances" to choose how duplicate SOPInstanceUID are handled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2800
diff
changeset
|
513 "JobsHistorySize" : 10, |
8aa6aef11b70
New configuration option "OverwriteInstances" to choose how duplicate SOPInstanceUID are handled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2800
diff
changeset
|
514 |
3165
1fe524e211af
New configuration option: "SaveJobs" to specify whether jobs are stored in the database
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3162
diff
changeset
|
515 // Whether to save the jobs into the Orthanc database. If this |
1fe524e211af
New configuration option: "SaveJobs" to specify whether jobs are stored in the database
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3162
diff
changeset
|
516 // option is set to "true", the pending/running/completed jobs are |
1fe524e211af
New configuration option: "SaveJobs" to specify whether jobs are stored in the database
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3162
diff
changeset
|
517 // automatically reloaded from the database if Orthanc is stopped |
1fe524e211af
New configuration option: "SaveJobs" to specify whether jobs are stored in the database
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3162
diff
changeset
|
518 // then restarted (except if the "--no-jobs" command-line argument |
1fe524e211af
New configuration option: "SaveJobs" to specify whether jobs are stored in the database
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3162
diff
changeset
|
519 // is specified). This option should be set to "false" if multiple |
1fe524e211af
New configuration option: "SaveJobs" to specify whether jobs are stored in the database
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3162
diff
changeset
|
520 // Orthanc servers are using the same database (e.g. if PostgreSQL |
1fe524e211af
New configuration option: "SaveJobs" to specify whether jobs are stored in the database
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3162
diff
changeset
|
521 // or MariaDB/MySQL is used). |
1fe524e211af
New configuration option: "SaveJobs" to specify whether jobs are stored in the database
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3162
diff
changeset
|
522 "SaveJobs" : true, |
1fe524e211af
New configuration option: "SaveJobs" to specify whether jobs are stored in the database
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3162
diff
changeset
|
523 |
2825
8aa6aef11b70
New configuration option "OverwriteInstances" to choose how duplicate SOPInstanceUID are handled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2800
diff
changeset
|
524 // Specifies how Orthanc reacts when it receives a DICOM instance |
8aa6aef11b70
New configuration option "OverwriteInstances" to choose how duplicate SOPInstanceUID are handled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2800
diff
changeset
|
525 // whose SOPInstanceUID is already stored. If set to "true", the new |
8aa6aef11b70
New configuration option "OverwriteInstances" to choose how duplicate SOPInstanceUID are handled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2800
diff
changeset
|
526 // instance replaces the old one. If set to "false", the new |
8aa6aef11b70
New configuration option "OverwriteInstances" to choose how duplicate SOPInstanceUID are handled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2800
diff
changeset
|
527 // instance is discarded and the old one is kept. Up to Orthanc |
8aa6aef11b70
New configuration option "OverwriteInstances" to choose how duplicate SOPInstanceUID are handled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2800
diff
changeset
|
528 // 1.4.1, the implicit behavior corresponded to "false". |
2965
9c0b0a6d8b54
MediaArchiveSize configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2950
diff
changeset
|
529 "OverwriteInstances" : false, |
9c0b0a6d8b54
MediaArchiveSize configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2950
diff
changeset
|
530 |
9c0b0a6d8b54
MediaArchiveSize configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2950
diff
changeset
|
531 // Maximum number of ZIP/media archives that are maintained by |
9c0b0a6d8b54
MediaArchiveSize configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2950
diff
changeset
|
532 // Orthanc, as a response to the asynchronous creation of archives. |
9c0b0a6d8b54
MediaArchiveSize configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2950
diff
changeset
|
533 // The least recently used archives get deleted as new archives are |
2988
9cc3d40e389b
Orthanc 1.4.3 is now known as 1.5.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2965
diff
changeset
|
534 // generated. This option was introduced in Orthanc 1.5.0, and has |
2965
9c0b0a6d8b54
MediaArchiveSize configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2950
diff
changeset
|
535 // no effect on the synchronous generation of archives. |
3015
abe49ca61cd5
On C-FIND, avoid accessing the storage area whenever possible
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2988
diff
changeset
|
536 "MediaArchiveSize" : 1, |
abe49ca61cd5
On C-FIND, avoid accessing the storage area whenever possible
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2988
diff
changeset
|
537 |
abe49ca61cd5
On C-FIND, avoid accessing the storage area whenever possible
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2988
diff
changeset
|
538 // Performance setting to specify how Orthanc accesses the storage |
abe49ca61cd5
On C-FIND, avoid accessing the storage area whenever possible
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2988
diff
changeset
|
539 // area during C-FIND. Three modes are available: (1) "Always" |
abe49ca61cd5
On C-FIND, avoid accessing the storage area whenever possible
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2988
diff
changeset
|
540 // allows Orthanc to read the storage area as soon as it needs an |
abe49ca61cd5
On C-FIND, avoid accessing the storage area whenever possible
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2988
diff
changeset
|
541 // information that is not present in its database (slowest mode), |
abe49ca61cd5
On C-FIND, avoid accessing the storage area whenever possible
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2988
diff
changeset
|
542 // (2) "Never" prevents Orthanc from accessing the storage area, and |
abe49ca61cd5
On C-FIND, avoid accessing the storage area whenever possible
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2988
diff
changeset
|
543 // makes it uses exclusively its database (fastest mode), and (3) |
abe49ca61cd5
On C-FIND, avoid accessing the storage area whenever possible
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2988
diff
changeset
|
544 // "Answers" allows Orthanc to read the storage area to generate its |
abe49ca61cd5
On C-FIND, avoid accessing the storage area whenever possible
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2988
diff
changeset
|
545 // answers, but not to filter the DICOM resources (balance between |
abe49ca61cd5
On C-FIND, avoid accessing the storage area whenever possible
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2988
diff
changeset
|
546 // the two modes). By default, the mode is "Always", which |
abe49ca61cd5
On C-FIND, avoid accessing the storage area whenever possible
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
2988
diff
changeset
|
547 // corresponds to the behavior of Orthanc <= 1.5.0. |
3174
8ea7c4546c3a
primitives to collect metrics in Orthanc
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3165
diff
changeset
|
548 "StorageAccessOnFind" : "Always", |
8ea7c4546c3a
primitives to collect metrics in Orthanc
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3165
diff
changeset
|
549 |
8ea7c4546c3a
primitives to collect metrics in Orthanc
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3165
diff
changeset
|
550 // Whether Orthanc monitors its metrics (new in Orthanc 1.5.4). If |
8ea7c4546c3a
primitives to collect metrics in Orthanc
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3165
diff
changeset
|
551 // set to "true", the metrics can be retrieved at |
8ea7c4546c3a
primitives to collect metrics in Orthanc
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3165
diff
changeset
|
552 // "/tools/metrics-prometheus" formetted using the Prometheus |
8ea7c4546c3a
primitives to collect metrics in Orthanc
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3165
diff
changeset
|
553 // text-based exposition format. |
3526
f07352e0375c
new configuration option ExecuteLuaEnabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3506
diff
changeset
|
554 "MetricsEnabled" : true, |
f07352e0375c
new configuration option ExecuteLuaEnabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3506
diff
changeset
|
555 |
f07352e0375c
new configuration option ExecuteLuaEnabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3506
diff
changeset
|
556 // Whether calls to URI "/tools/execute-script" is enabled. Starting |
f07352e0375c
new configuration option ExecuteLuaEnabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3506
diff
changeset
|
557 // with Orthanc 1.5.8, this URI is disabled by default for security. |
3537
9cc09f4c0fa9
New configuration option: "HttpRequestTimeout"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3526
diff
changeset
|
558 "ExecuteLuaEnabled" : false, |
9cc09f4c0fa9
New configuration option: "HttpRequestTimeout"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3526
diff
changeset
|
559 |
9cc09f4c0fa9
New configuration option: "HttpRequestTimeout"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3526
diff
changeset
|
560 // Set the timeout for HTTP requests, in seconds. This corresponds |
9cc09f4c0fa9
New configuration option: "HttpRequestTimeout"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3526
diff
changeset
|
561 // to option "request_timeout_ms" of Mongoose/Civetweb. It will set |
9cc09f4c0fa9
New configuration option: "HttpRequestTimeout"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3526
diff
changeset
|
562 // the socket options "SO_RCVTIMEO" and "SO_SNDTIMEO" to the |
9cc09f4c0fa9
New configuration option: "HttpRequestTimeout"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3526
diff
changeset
|
563 // specified value. |
3709
1f4910999fe7
Fix issue #168 (Plugins can't read private tags from the configuration file)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3643
diff
changeset
|
564 "HttpRequestTimeout" : 30, |
1f4910999fe7
Fix issue #168 (Plugins can't read private tags from the configuration file)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3643
diff
changeset
|
565 |
1f4910999fe7
Fix issue #168 (Plugins can't read private tags from the configuration file)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3643
diff
changeset
|
566 // Set the default private creator that is used by Orthanc when it |
1f4910999fe7
Fix issue #168 (Plugins can't read private tags from the configuration file)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3643
diff
changeset
|
567 // looks for a private tag in its dictionary (cf. "Dictionary" |
1f4910999fe7
Fix issue #168 (Plugins can't read private tags from the configuration file)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3643
diff
changeset
|
568 // option), or when it creates/modifies a DICOM file (new in Orthanc 1.6.0). |
3736
0540b54324f1
StorageCommitmentReports
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3718
diff
changeset
|
569 "DefaultPrivateCreator" : "", |
0540b54324f1
StorageCommitmentReports
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3718
diff
changeset
|
570 |
0540b54324f1
StorageCommitmentReports
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3718
diff
changeset
|
571 // Maximum number of storage commitment reports (i.e. received from |
0540b54324f1
StorageCommitmentReports
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3718
diff
changeset
|
572 // remote modalities) to be kept in memory (new in Orthanc 1.6.0). |
3894
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
573 "StorageCommitmentReportsSize" : 100, |
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
574 |
8f7ad4989fec
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3852
diff
changeset
|
575 // Whether Orthanc transcodes DICOM files to an uncompressed |
3911
0ef7f4528be2
renamed option TranscodingEnabled to TranscodeDicomProtocol
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3894
diff
changeset
|
576 // transfer syntax over the DICOM protocol, if the remote modality |
0ef7f4528be2
renamed option TranscodingEnabled to TranscodeDicomProtocol
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3894
diff
changeset
|
577 // does not support compressed transfer syntaxes (new in Orthanc 1.7.0). |
3931
e6606d3ec892
new configuration option: BuiltinDecoderTranscoderOrder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3911
diff
changeset
|
578 "TranscodeDicomProtocol" : true, |
e6606d3ec892
new configuration option: BuiltinDecoderTranscoderOrder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3911
diff
changeset
|
579 |
e6606d3ec892
new configuration option: BuiltinDecoderTranscoderOrder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3911
diff
changeset
|
580 // If some plugin to decode/transcode DICOM instances is installed, |
e6606d3ec892
new configuration option: BuiltinDecoderTranscoderOrder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3911
diff
changeset
|
581 // this option specifies whether the built-in decoder/transcoder of |
e6606d3ec892
new configuration option: BuiltinDecoderTranscoderOrder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3911
diff
changeset
|
582 // Orthanc (that uses DCMTK) is applied before or after the plugins, |
3937
41eec97c23ef
documented new primitives in plugin SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3931
diff
changeset
|
583 // or is not applied at all (new in Orthanc 1.7.0). The allowed |
41eec97c23ef
documented new primitives in plugin SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3931
diff
changeset
|
584 // values for this option are "After" (default value, corresponding |
41eec97c23ef
documented new primitives in plugin SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3931
diff
changeset
|
585 // to the behavior of Orthanc <= 1.6.1), "Before", or "Disabled". |
3939
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
586 "BuiltinDecoderTranscoderOrder" : "After", |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
587 |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
588 // If this option is set, Orthanc will transparently transcode any |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
589 // incoming DICOM instance to the given transfer syntax before |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
590 // storing it into its database. Beware that this might result in |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
591 // high CPU usage (if transcoding to some compressed transfer |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
592 // syntax), or in higher disk consumption (if transcoding to an |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
593 // uncompressed syntax). Also, beware that transcoding to a transfer |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
594 // syntax with lossy compression (notably JPEG) will change the |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
595 // "SOPInstanceUID" DICOM tag, and thus the Orthanc identifier at |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
596 // the instance level, which might break external workflow. |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
597 /** |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
598 "IngestTranscoding" : "1.2.840.10008.1.2", |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
599 **/ |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
600 |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
601 // The compression level that is used when transcoding to one of the |
c205f670098e
new configuration options: BuiltinDecoderTranscoderOrder and IngestTranscoding
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3937
diff
changeset
|
602 // lossy/JPEG transfer syntaxes (integer between 1 and 100). |
4185
b289a1234822
giving a try to cross-platform compilation of SyncStorageArea
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4178
diff
changeset
|
603 "DicomLossyTranscodingQuality" : 90, |
b289a1234822
giving a try to cross-platform compilation of SyncStorageArea
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4178
diff
changeset
|
604 |
b289a1234822
giving a try to cross-platform compilation of SyncStorageArea
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4178
diff
changeset
|
605 // Whether "fsync()" is called after each write to the storage area |
b289a1234822
giving a try to cross-platform compilation of SyncStorageArea
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4178
diff
changeset
|
606 // (new in Orthanc 1.7.4). If this option is set to "true", Orthanc |
b289a1234822
giving a try to cross-platform compilation of SyncStorageArea
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4178
diff
changeset
|
607 // will run more slowly, but the DICOM are guaranteed to be |
4187
a8d2f4e65f05
clarification to configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4185
diff
changeset
|
608 // immediately written to the disk. This option only makes sense if |
a8d2f4e65f05
clarification to configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4185
diff
changeset
|
609 // the builtin filesystem storage area is used. It defaults to |
a8d2f4e65f05
clarification to configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4185
diff
changeset
|
610 // "false" in Orthanc <= 1.7.3, and to "true" in Orthanc >= 1.7.4. |
4185
b289a1234822
giving a try to cross-platform compilation of SyncStorageArea
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4178
diff
changeset
|
611 "SyncStorageArea" : true |
683
7bc5ccc550a1
switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
612 } |