annotate Resources/Configuration.json @ 2888:61a5667f37d9

New modality manufacturer: "GE" for GE Healthcare EA and AW
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 13 Oct 2018 12:17:16 +0200
parents 9d08edde614b
children 87366b8aed4f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
20 // 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
21 "StorageCompression" : false,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
22
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
23 // 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
24 // limit on the storage size)
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
25 "MaximumStorageSize" : 0,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
26
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
27 // 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
28 // 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
29 // of patients)
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
30 "MaximumPatientCount" : 0,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
31
893
f57802f8b4dc plugins for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 891
diff changeset
32 // 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
33 // 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
34 "LuaScripts" : [
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
35 ],
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
36
893
f57802f8b4dc plugins for windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 891
diff changeset
37 // 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
38 // 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
39 // "./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
40 // 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
41 // find shared libraries. Backslashes must be either escaped by
0f09c1d18584 note about backslashes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2208
diff changeset
42 // doubling them, or replaced by forward slashes "/".
891
d0a08d8881b7 configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 732
diff changeset
43 "Plugins" : [
d0a08d8881b7 configuration
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 732
diff changeset
44 ],
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
45
2736
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2685
diff changeset
46 // Maximum number of processing jobs that are simultaneously running
2570
2e879c796ec7 JobsRegistry::SubmitAndWait(), StoreScuJob
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2375
diff changeset
47 // 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
48 // 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
49 // this value to "1".
2e879c796ec7 JobsRegistry::SubmitAndWait(), StoreScuJob
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2375
diff changeset
50 "ConcurrentJobs" : 2,
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
51
1592
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
52
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
53 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
54 * Configuration of the HTTP server
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
55 **/
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
56
1592
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
57 // 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
58 // 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
59 // Explorer will not be available.
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
60 "HttpServerEnabled" : true,
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
61
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
62 // 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
63 "HttpPort" : 8042,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
64
1592
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
65 // 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
66 // 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
67 // 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
68 // HTTP client does not properly handles such answers.
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
69 "HttpDescribeErrors" : true,
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
70
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
71 // Enable HTTP compression to improve network bandwidth utilization,
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
72 // at the expense of more computations on the server. Orthanc
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
73 // supports the "gzip" and "deflate" HTTP encodings.
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
74 "HttpCompressionEnabled" : true,
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
75
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
76
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
77
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
78 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
79 * Configuration of the DICOM server
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
80 **/
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
81
1592
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
82 // 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
83 // 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
84 // 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
85 "DicomServerEnabled" : true,
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
86
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
87 // The DICOM Application Entity Title
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
88 "DicomAet" : "ORTHANC",
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
89
2352
3ab96768d144 Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2334
diff changeset
90 // 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
91 // 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
92 "DicomCheckCalledAet" : false,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
93
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
94 // The DICOM port
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
95 "DicomPort" : 4242,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
96
1115
da56a7916e8a Experimental "KeepAlive" configuration option to enable HTTP Keep-Alive
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1090
diff changeset
97 // The default encoding that is assumed for DICOM files without
2203
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2184
diff changeset
98 // "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
99 // 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
100 // "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
101 // "Latin5", "Cyrillic", "Windows1251", "Arabic", "Greek", "Hebrew",
6dc3bdb4088b Fix handling of encodings in C-FIND for worklists
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2203
diff changeset
102 // "Thai", "Japanese", and "Chinese".
1115
da56a7916e8a Experimental "KeepAlive" configuration option to enable HTTP Keep-Alive
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1090
diff changeset
103 "DefaultEncoding" : "Latin1",
da56a7916e8a Experimental "KeepAlive" configuration option to enable HTTP Keep-Alive
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1090
diff changeset
104
1164
0a55d8eb194e Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1142
diff changeset
105 // 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
106 "DeflatedTransferSyntaxAccepted" : true,
0a55d8eb194e Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1142
diff changeset
107 "JpegTransferSyntaxAccepted" : true,
0a55d8eb194e Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1142
diff changeset
108 "Jpeg2000TransferSyntaxAccepted" : true,
0a55d8eb194e Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1142
diff changeset
109 "JpegLosslessTransferSyntaxAccepted" : true,
0a55d8eb194e Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1142
diff changeset
110 "JpipTransferSyntaxAccepted" : true,
0a55d8eb194e Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1142
diff changeset
111 "Mpeg2TransferSyntaxAccepted" : true,
0a55d8eb194e Configuration/Lua to select the accepted C-Store SCP transfer syntaxes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1142
diff changeset
112 "RleTransferSyntaxAccepted" : true,
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
113
1806
cd213ebcaefd UnknownSopClassAccepted option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1772
diff changeset
114 // 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
115 // 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
116 "UnknownSopClassAccepted" : false,
1806
cd213ebcaefd UnknownSopClassAccepted option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1772
diff changeset
117
2069
fabf7820d1f1 New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + validation of non-negative options
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2039
diff changeset
118 // 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
119 // 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
120 // 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
121 "DicomScpTimeout" : 30,
fabf7820d1f1 New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + validation of non-negative options
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2039
diff changeset
122
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
123
1592
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
124
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
125 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
126 * 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
127 **/
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
128
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
129 // Whether remote hosts can connect to the HTTP server
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
130 "RemoteAccessAllowed" : false,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
131
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
132 // 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
133 "SslEnabled" : false,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
134
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
135 // Path to the SSL certificate in the PEM format (meaningful only if
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
136 // SSL is enabled)
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
137 "SslCertificate" : "certificate.pem",
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
138
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
139 // Whether or not the password protection is enabled
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
140 "AuthenticationEnabled" : false,
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
141
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
142 // 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
143 // 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
144 "RegisteredUsers" : {
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
145 // "alice" : "alicePassword"
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
146 },
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
147
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
148
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
149
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
150 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
151 * Network topology
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
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
154 // 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
155 "DicomModalities" : {
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
156 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
157 * 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
158 * connect to an instance of the "storescp" open-source DICOM
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
159 * store (shipped in the DCMTK distribution) started by the
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
160 * command line "storescp 2000".
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
161 **/
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
162 // "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
163
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
164 /**
2352
3ab96768d144 Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2334
diff changeset
165 * 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
166 * 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
167 * - "Generic" (default value),
3ab96768d144 Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2334
diff changeset
168 * - "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
169 * 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
170 * - "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
171 * in outgoing C-Find SCU requests originating from Orthanc),
2352
3ab96768d144 Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2334
diff changeset
172 * - "StoreScp" (storescp tool from DCMTK),
2888
61a5667f37d9 New modality manufacturer: "GE" for GE Healthcare EA and AW
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2872
diff changeset
173 * - "ClearCanvas",
61a5667f37d9 New modality manufacturer: "GE" for GE Healthcare EA and AW
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2872
diff changeset
174 * - "Dcm4Chee",
61a5667f37d9 New modality manufacturer: "GE" for GE Healthcare EA and AW
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2872
diff changeset
175 * - "Vitrea",
61a5667f37d9 New modality manufacturer: "GE" for GE Healthcare EA and AW
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2872
diff changeset
176 * - "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
177 * from GE Healthcare).
61a5667f37d9 New modality manufacturer: "GE" for GE Healthcare EA and AW
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2872
diff changeset
178 *
2318
e5fc5db6a84b removed EFilm2 from sample configuration file
amazy
parents: 2229
diff changeset
179 * 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
180 **/
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
181 // "clearcanvas" : [ "CLEARCANVAS", "192.168.1.1", 104, "ClearCanvas" ]
2872
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
182
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
183 /**
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
184 * By default, the Orthanc SCP accepts all DICOM commands (C-GET,
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
185 * C-STORE, C-FIND, C-MOVE) issued by the remote SCU
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
186 * modalities. Starting with Orthanc 1.4.3, it is possible to
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
187 * specify which DICOM commands are allowed, separately for each
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
188 * remote modality, using the syntax below.
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
189 **/
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
190 //"untrusted" : {
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
191 // "AET" : "ORTHANC",
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
192 // "Port" : 104,
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
193 // "Host" : "127.0.0.1",
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
194 // "AllowEcho" : false,
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
195 // "AllowFind" : false,
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
196 // "AllowMove" : false,
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
197 // "AllowStore" : true
9d08edde614b Possibility to restrict the allowed DICOM commands for each modality
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2825
diff changeset
198 //}
683
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
2375
3ec85ff48374 New security-related options: "DicomAlwaysAllowEcho"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2352
diff changeset
201 // 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
202 // 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
203 // 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
204 // 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
205 "DicomAlwaysAllowEcho" : true,
3ec85ff48374 New security-related options: "DicomAlwaysAllowEcho"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2352
diff changeset
206
2352
3ab96768d144 Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2334
diff changeset
207 // 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
208 // 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
209 // 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
210 "DicomAlwaysAllowStore" : true,
3ab96768d144 Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2334
diff changeset
211
3ab96768d144 Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2334
diff changeset
212 // 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
213 // 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
214 // "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
215 // "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
216 "DicomCheckModalityHost" : false,
3ab96768d144 Fix issue 52 (DICOM level security association problems)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2334
diff changeset
217
2069
fabf7820d1f1 New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + validation of non-negative options
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2039
diff changeset
218 // 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
219 // 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
220 // 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
221 "DicomScuTimeout" : 10,
fabf7820d1f1 New configuration options: "DicomScuTimeout" and "DicomScpTimeout" + validation of non-negative options
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2039
diff changeset
222
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
223 // 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
224 "OrthancPeers" : {
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
225 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
226 * 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
227 * 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
228 * 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
229 **/
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
230 // "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
231 // "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
232
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
233 /**
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
234 * This is another, more advanced format to define Orthanc
2800
dc7330089736 "OrthancPeers" configuration option now allows to specify HTTP headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2788
diff changeset
235 * peers. It notably allows to specify HTTP headers, a HTTPS
dc7330089736 "OrthancPeers" configuration option now allows to specify HTTP headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2788
diff changeset
236 * 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
237 * 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
238 **/
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
239 // "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
240 // "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
241 // "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
242 // "Password" : "alicePassword",
2800
dc7330089736 "OrthancPeers" configuration option now allows to specify HTTP headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2788
diff changeset
243 // "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
244 // "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
245 // "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
246 // "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
247 // "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
248 // }
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
249 },
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
250
1273
88010d8e12cf Support of HTTP proxy
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1272
diff changeset
251 // 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
252 // empty string, no HTTP proxy is used. For instance:
88010d8e12cf Support of HTTP proxy
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1272
diff changeset
253 // "HttpProxy" : "192.168.0.1:3128"
88010d8e12cf Support of HTTP proxy
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1272
diff changeset
254 // "HttpProxy" : "proxyUser:proxyPassword@192.168.0.1:3128"
88010d8e12cf Support of HTTP proxy
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1272
diff changeset
255 "HttpProxy" : "",
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
256
2788
959bd8857eb5 New configuration option: "HttpVerbose" to debug outgoing HTTP connections
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2736
diff changeset
257 // 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
258 // 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
259 // 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
260 "HttpVerbose" : false,
959bd8857eb5 New configuration option: "HttpVerbose" to debug outgoing HTTP connections
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2736
diff changeset
261
1590
ba0226474e22 New configuration option: "HttpTimeout" to set the default timeout for HTTP requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1534
diff changeset
262 // Set the timeout for HTTP requests issued by Orthanc (in seconds).
ba0226474e22 New configuration option: "HttpTimeout" to set the default timeout for HTTP requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1534
diff changeset
263 "HttpTimeout" : 10,
ba0226474e22 New configuration option: "HttpTimeout" to set the default timeout for HTTP requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1534
diff changeset
264
1973
7bd4cb780feb Option "HttpsVerifyPeers" can be used to connect against self-signed HTTPS certificates
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1871
diff changeset
265 // 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
266 // 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
267 // 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
268 // security risks!
1592
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
269 // Reference: http://curl.haxx.se/docs/sslcerts.html
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
270 "HttpsVerifyPeers" : true,
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
271
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
272 // Path to the CA (certification authority) certificates to validate
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
273 // peers in HTTPS requests. From curl documentation ("--cacert"
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
274 // option): "Tells curl to use the specified certificate file to
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
275 // verify the peers. The file may contain multiple CA
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
276 // certificates. The certificate(s) must be in PEM format."
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
277 "HttpsCACertificates" : "",
d73124f6b439 configuration option HttpDescribeErrors
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1590
diff changeset
278
1590
ba0226474e22 New configuration option: "HttpTimeout" to set the default timeout for HTTP requests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1534
diff changeset
279
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
280
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
281 /**
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
282 * Advanced options
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
283 **/
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
284
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
285 // 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
286 // entry must map an unique string to an unique number between 1024
2184
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2152
diff changeset
287 // and 65535. Reserved values:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2152
diff changeset
288 // - 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
289 "UserMetadata" : {
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
290 // "Sample" : 1024
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
291 },
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
292
696
4c1860179cc5 dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 695
diff changeset
293 // 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
294 // 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
295 // 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
296 // 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
297 "UserContentType" : {
4c1860179cc5 dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 695
diff changeset
298 // "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
299 // "sample2" : [ 1025, "application/pdf" ]
696
4c1860179cc5 dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 695
diff changeset
300 },
4c1860179cc5 dictionary of user-defined content types
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 695
diff changeset
301
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
302 // 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
303 // 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
304 "StableAge" : 60,
b01cc78caba4 possibility to disable the DICOM/HTTP servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 683
diff changeset
305
690
2e67366aab83 case-insensitive matching of Application Entity Titles
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 685
diff changeset
306 // 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
307 // 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
308 // case-sensitive matching.
695
c59bc408fb10 parameter to disable the computation of the MD5
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 690
diff changeset
309 "StrictAetComparison" : false,
c59bc408fb10 parameter to disable the computation of the MD5
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 690
diff changeset
310
c59bc408fb10 parameter to disable the computation of the MD5
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 690
diff changeset
311 // 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
312 // 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
313 // 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
314 // 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
315 "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
316
83489fddd8c5 Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 732
diff changeset
317 // 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
318 // 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
319 // 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
320 "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
321
83489fddd8c5 Options to limit the number of results for an incoming C-FIND query
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 732
diff changeset
322 // 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
323 // 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
324 "LimitFindInstances" : 0,
8c67382f44a7 limit number of jobs in the scheduler
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 941
diff changeset
325
8c67382f44a7 limit number of jobs in the scheduler
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 941
diff changeset
326 // 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
327 // 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
328 // 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
329 "LimitJobs" : 10,
e56c3ed8d738 Parameter to set the default encoding for DICOM files without SpecificCharacterSet
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1018
diff changeset
330
2685
6801f99bbc2f Configuration option "LogExportedResources" is now "false" by default
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2625
diff changeset
331 // 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
332 // 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
333 // 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
334 // "/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
335 // 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
336 // 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
337 "LogExportedResources" : false,
1142
952cf9b6be83 Configuration option to disable the logging of exported resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1135
diff changeset
338
1283
6066529e34c8 HTTP keep-alive is deprecated
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1273
diff changeset
339 // Enable or disable HTTP Keep-Alive (deprecated). Set this option
1115
da56a7916e8a Experimental "KeepAlive" configuration option to enable HTTP Keep-Alive
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1090
diff changeset
340 // to "true" only in the case of high HTTP loads.
1135
67c3c1e4a6e0 index-only mode, and custom storage area with plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1115
diff changeset
341 "KeepAlive" : false,
67c3c1e4a6e0 index-only mode, and custom storage area with plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1115
diff changeset
342
67c3c1e4a6e0 index-only mode, and custom storage area with plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1115
diff changeset
343 // 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
344 // 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
345 // 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
346 "StoreDicom" : true,
21ea32170764 Option "DicomAssociationCloseDelay" to set delay before closing DICOM association
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1283
diff changeset
347
2620
1232922c8793 speeding up shutdown if Lua script is in trailing phase
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2570
diff changeset
348 // 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
349 // 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
350 // 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
351 // DICOM association used by Lua. If set to 0, the connection is
1232922c8793 speeding up shutdown if Lua script is in trailing phase
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2570
diff changeset
352 // closed immediately.
1374
a1745d9be6e9 CaseSensitivePN configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1347
diff changeset
353 "DicomAssociationCloseDelay" : 5,
a1745d9be6e9 CaseSensitivePN configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1347
diff changeset
354
1368
b22ba8c5edbe query retrieve
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1347
diff changeset
355 // Maximum number of query/retrieve DICOM requests that are
b22ba8c5edbe query retrieve
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1347
diff changeset
356 // maintained by Orthanc. The least recently used requests get
b22ba8c5edbe query retrieve
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1347
diff changeset
357 // deleted as new requests are issued.
1383
5c11c4e728eb integration mainline->query-retrieve
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1368 1382
diff changeset
358 "QueryRetrieveSize" : 10,
5c11c4e728eb integration mainline->query-retrieve
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1368 1382
diff changeset
359
1729
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1668
diff changeset
360 // When handling a C-Find SCP request, setting this flag to "true"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1668
diff changeset
361 // will enable case-sensitive match for PN value representation
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1668
diff changeset
362 // (such as PatientName). By default, the search is
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1668
diff changeset
363 // 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
364 "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
365
fefbe71c2272 Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2019
diff changeset
366 // 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
367 // 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
368 /**
fefbe71c2272 Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2019
diff changeset
369 "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
370 "Module" : "/usr/local/lib/libbeidpkcs11.so",
2030
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2022
diff changeset
371 "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
372 "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
373 "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
374 }
fefbe71c2272 Possibility to use PKCS#11 authentication for hardware security modules with Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2019
diff changeset
375 **/
1765
57b9e6890482 New configuration option: "Dictionary" to declare custom DICOM tags
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1729
diff changeset
376
2208
90ea60bee5ff New metadata automatically computed at the instance level: "SopClassUid"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2207
diff changeset
377 // If set to "true", Orthanc will still handle "SOP Classes in
90ea60bee5ff New metadata automatically computed at the instance level: "SopClassUid"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2207
diff changeset
378 // Study" (0008,0062) in C-FIND requests, even if the "SOP Class
90ea60bee5ff New metadata automatically computed at the instance level: "SopClassUid"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2207
diff changeset
379 // UID" metadata is not available in the database (which is the case
90ea60bee5ff New metadata automatically computed at the instance level: "SopClassUid"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2207
diff changeset
380 // if the DB was previously used by Orthanc <= 1.1.0). This option
90ea60bee5ff New metadata automatically computed at the instance level: "SopClassUid"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2207
diff changeset
381 // is turned off by default, as it requires intensive accesses to
90ea60bee5ff New metadata automatically computed at the instance level: "SopClassUid"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2207
diff changeset
382 // the hard drive.
2039
e33e0ae51d7b new configuration option AllowFindSopClassesInStudy
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2032
diff changeset
383 "AllowFindSopClassesInStudy" : false,
e33e0ae51d7b new configuration option AllowFindSopClassesInStudy
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2032
diff changeset
384
2151
8cbb55089a1d New configuration option: "LoadPrivateDictionary"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2129
diff changeset
385 // 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
386 // 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
387 // 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
388 // 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
389 // 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
390 // interest in the "Dictionary" configuration option below.
2151
8cbb55089a1d New configuration option: "LoadPrivateDictionary"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2129
diff changeset
391 "LoadPrivateDictionary" : true,
8cbb55089a1d New configuration option: "LoadPrivateDictionary"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2129
diff changeset
392
2334
dd26536454a0 fix for mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2330
diff changeset
393 // Locale to be used by Orthanc. Currently, only used if comparing
dd26536454a0 fix for mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2330
diff changeset
394 // strings in a case-insensitive way. It should be safe to keep this
dd26536454a0 fix for mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2330
diff changeset
395 // value undefined, which lets Orthanc autodetect the suitable locale.
2330
9c7a80c87ae9 "Locale" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2319
diff changeset
396 // "Locale" : "en_US.UTF-8",
9c7a80c87ae9 "Locale" configuration option
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2319
diff changeset
397
1765
57b9e6890482 New configuration option: "Dictionary" to declare custom DICOM tags
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1729
diff changeset
398 // 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
399 // 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
400 // 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
401 // 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
402 // 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
403 // 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
404 // 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
405 "Dictionary" : {
57b9e6890482 New configuration option: "Dictionary" to declare custom DICOM tags
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1729
diff changeset
406 // "0014,1020" : [ "DA", "ValidationExpiryDate", 1, 1 ]
2151
8cbb55089a1d New configuration option: "LoadPrivateDictionary"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2129
diff changeset
407 // "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
408 // "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
409 // "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
410 },
1232922c8793 speeding up shutdown if Lua script is in trailing phase
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2570
diff changeset
411
2625
5469dda691cd new configuration option: SynchronousCMove
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2620
diff changeset
412 // Whether to run DICOM C-Move operations synchronously. If set to
5469dda691cd new configuration option: SynchronousCMove
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2620
diff changeset
413 // "false" (the default), each incoming C-Move request results in
2825
8aa6aef11b70 New configuration option "OverwriteInstances" to choose how duplicate SOPInstanceUID are handled
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2800
diff changeset
414 // creating a new background job. Up to Orthanc 1.3.2, the implicit
2625
5469dda691cd new configuration option: SynchronousCMove
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2620
diff changeset
415 // behavior was to use synchronous C-Move.
5469dda691cd new configuration option: SynchronousCMove
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2620
diff changeset
416 "SynchronousCMove" : false,
5469dda691cd new configuration option: SynchronousCMove
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2620
diff changeset
417
2620
1232922c8793 speeding up shutdown if Lua script is in trailing phase
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2570
diff changeset
418 // 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
419 // processing job is considered as complete once it is tagged as
1232922c8793 speeding up shutdown if Lua script is in trailing phase
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2570
diff changeset
420 // "Success" or "Failure".
2825
8aa6aef11b70 New configuration option "OverwriteInstances" to choose how duplicate SOPInstanceUID are handled
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2800
diff changeset
421 "JobsHistorySize" : 10,
8aa6aef11b70 New configuration option "OverwriteInstances" to choose how duplicate SOPInstanceUID are handled
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2800
diff changeset
422
8aa6aef11b70 New configuration option "OverwriteInstances" to choose how duplicate SOPInstanceUID are handled
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2800
diff changeset
423 // 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
424 // 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
425 // 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
426 // 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
427 // 1.4.1, the implicit behavior corresponded to "false".
8aa6aef11b70 New configuration option "OverwriteInstances" to choose how duplicate SOPInstanceUID are handled
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2800
diff changeset
428 "OverwriteInstances" : false
683
7bc5ccc550a1 switch from DOS to UNIX end of lines
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
429 }