Mercurial > hg > orthanc
annotate Resources/Configuration.json @ 523:68451838fb2c dicom-rt
dicom-rt branch
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Aug 2013 15:10:05 +0200 |
parents | 1b2cdc855bd3 |
children | 489f6a375277 |
rev | line source |
---|---|
12 | 1 { |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
2 /** |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
3 * General configuration of Orthanc |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
4 **/ |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
5 |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
6 // The logical name of this instance of Orthanc. This one is |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
7 // displayed in Orthanc Explorer and at the URI "/system". |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
8 "Name" : "MyOrthanc", |
24 | 9 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
10 // Path to the directory that holds the heavyweight files |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
11 // (i.e. the raw DICOM instances) |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
12 "StorageDirectory" : "OrthancStorage", |
236 | 13 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
14 // Path to the directory that holds the SQLite index (if unset, |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
15 // the value of StorageDirectory is used). This index could be |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
16 // stored on a RAM-drive or a SSD device for performance reasons. |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
17 "IndexDirectory" : "OrthancStorage", |
23 | 18 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
19 // Enable the transparent compression of the DICOM instances |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
20 "StorageCompression" : false, |
376
2cef9c2d4148
separate path for SQLite index, manual loading of external dictionaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
21 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
22 // Maximum size of the storage in MB (a value of "0" indicates no |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
23 // limit on the storage size) |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
24 "MaximumStorageSize" : 0, |
24 | 25 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
26 // Maximum number of patients that can be stored at a given time |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
27 // in the storage (a value of "0" indicates no limit on the number |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
28 // of patients) |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
29 "MaximumPatientCount" : 0, |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
30 |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
31 // List of paths to the custom Lua scripts to load into this |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
32 // instance of Orthanc |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
33 "LuaScripts" : [ |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
34 ], |
270
e6a4c4329481
parameters for storage capacity
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
236
diff
changeset
|
35 |
24 | 36 |
164 | 37 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
38 /** |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
39 * Configuration of the HTTP server |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
40 **/ |
24 | 41 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
42 // HTTP port for the REST services and for the GUI |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
43 "HttpPort" : 8042, |
12 | 44 |
24 | 45 |
46 | |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
47 /** |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
48 * Configuration of the DICOM server |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
49 **/ |
24 | 50 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
51 // The DICOM Application Entity Title |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
52 "DicomAet" : "ORTHANC", |
23 | 53 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
54 // Check whether the called AET corresponds during a DICOM request |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
55 "DicomCheckCalledAet" : false, |
55 | 56 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
57 // The DICOM port |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
58 "DicomPort" : 4242, |
23 | 59 |
24 | 60 |
61 | |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
62 /** |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
63 * Security-related options for the HTTP server |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
64 **/ |
12 | 65 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
66 // Whether remote hosts can connect to the HTTP server |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
67 "RemoteAccessAllowed" : false, |
34
96e57b863dd9
option to disallow remote access
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
25
diff
changeset
|
68 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
69 // Whether or not SSL is enabled |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
70 "SslEnabled" : false, |
23 | 71 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
72 // Path to the SSL certificate (meaningful only if SSL is enabled) |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
73 "SslCertificate" : "certificate.pem", |
23 | 74 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
75 // Whether or not the password protection is enabled |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
76 "AuthenticationEnabled" : false, |
24 | 77 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
78 // The list of the registered users. Because Orthanc uses HTTP |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
79 // Basic Authentication, the passwords are stored as plain text. |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
80 "RegisteredUsers" : { |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
81 // "alice" : "alicePassword" |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
82 }, |
24 | 83 |
84 | |
25
dd1489098265
basic http authentication
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
24
diff
changeset
|
85 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
86 /** |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
87 * Network topology |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
88 **/ |
24 | 89 |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
90 // The list of the known DICOM modalities |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
91 "DicomModalities" : { |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
92 /** |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
93 * Uncommenting the following line would enable Orthanc to |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
94 * connect to an instance of the "storescp" open-source DICOM |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
95 * store (shipped in the DCMTK distribution) started by the |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
96 * command line "storescp 2000". |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
97 **/ |
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
98 // "sample" : [ "STORESCP", "localhost", 2000 ] |
519
1b2cdc855bd3
Parameter for PACS manufacturer, support for ClearCanvas
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
511
diff
changeset
|
99 |
1b2cdc855bd3
Parameter for PACS manufacturer, support for ClearCanvas
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
511
diff
changeset
|
100 /** |
1b2cdc855bd3
Parameter for PACS manufacturer, support for ClearCanvas
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
511
diff
changeset
|
101 * A fourth parameter is available to enable patches for a |
1b2cdc855bd3
Parameter for PACS manufacturer, support for ClearCanvas
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
511
diff
changeset
|
102 * specific PACS manufacturer. The allowed values are currently |
1b2cdc855bd3
Parameter for PACS manufacturer, support for ClearCanvas
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
511
diff
changeset
|
103 * "Generic" (default value) and "ClearCanvas". This parameter is |
1b2cdc855bd3
Parameter for PACS manufacturer, support for ClearCanvas
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
511
diff
changeset
|
104 * case-sensitive. |
1b2cdc855bd3
Parameter for PACS manufacturer, support for ClearCanvas
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
511
diff
changeset
|
105 **/ |
1b2cdc855bd3
Parameter for PACS manufacturer, support for ClearCanvas
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
511
diff
changeset
|
106 // "clearcanvas" : [ "CLEARCANVAS", "192.168.1.1", 104, "ClearCanvas" ] |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
107 }, |
24 | 108 |
484
b8ace6fc1d1f
preparation for handling Orthanc peers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
439
diff
changeset
|
109 // The list of the known Orthanc peers |
435
28ba73274919
registration of user-defined metadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
407
diff
changeset
|
110 "OrthancPeers" : { |
485
bdbde1fbfab3
send resources through HTTP
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
484
diff
changeset
|
111 /** |
bdbde1fbfab3
send resources through HTTP
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
484
diff
changeset
|
112 * Each line gives the base URL of an Orthanc peer, possibly |
bdbde1fbfab3
send resources through HTTP
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
484
diff
changeset
|
113 * followed by the username/password pair (if the password |
bdbde1fbfab3
send resources through HTTP
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
484
diff
changeset
|
114 * protection is enabled on the peer). |
bdbde1fbfab3
send resources through HTTP
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
484
diff
changeset
|
115 **/ |
bdbde1fbfab3
send resources through HTTP
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
484
diff
changeset
|
116 // "peer" : [ "http://localhost:8043/", "alice", "alicePassword" ] |
bdbde1fbfab3
send resources through HTTP
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
484
diff
changeset
|
117 // "peer2" : [ "http://localhost:8044/" ] |
511
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
118 }, |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
119 |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
120 |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
121 |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
122 /** |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
123 * Advanced options |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
124 **/ |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
125 |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
126 // Dictionary of symbolic names for the user-defined metadata. Each |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
127 // entry must map a number between 1024 and 65535 to an unique |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
128 // string. |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
129 "UserMetadata" : { |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
130 // "Sample" : 1024 |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
131 }, |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
132 |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
133 // Number of seconds without receiving any instance before a |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
134 // patient, a study or a series is considered as stable. |
3b735fdf320b
monitoring of stable patients/studies/series
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
485
diff
changeset
|
135 "StableAge" : 60 |
12 | 136 } |