Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/WebApplication/configuration.json @ 1700:f1bd464dc3e1
the plugin uses the Orthanc configuration instead of the default configuration
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Nov 2020 10:55:21 +0100 |
parents | 0598c87e1e88 |
children | b5a8bf32d969 |
comparison
equal
deleted
inserted
replaced
1699:0598c87e1e88 | 1700:f1bd464dc3e1 |
---|---|
1 { | 1 { |
2 /** | 2 "StoneWebViewer" : |
3 * Enables/disables the print button. | 3 { |
4 **/ | 4 /** |
5 "PrintEnabled" : true, | 5 * Enables/disables the print button. |
6 **/ | |
7 "PrintEnabled" : true, | |
6 | 8 |
7 /** | 9 /** |
8 * Defines how dates are displayed in the UI. If this option is not | 10 * Defines how dates are displayed in the UI. If this option is not |
9 * set, the DICOM tags will be displayed as such. "DD" will be | 11 * set, the DICOM tags will be displayed as such. "DD" will be |
10 * replaced by the day, "MM" by the month, and "YYYY" by the year. | 12 * replaced by the day, "MM" by the month, and "YYYY" by the year. |
11 **/ | 13 **/ |
12 // "DateFormat" : "DD/MM/YYYY", | 14 // "DateFormat" : "DD/MM/YYYY", |
13 | 15 |
14 /** | 16 /** |
15 * This option allows you to define windowing presets. | 17 * This option allows you to define windowing presets. |
16 * For each preset, you must provide a name, the window width | 18 * For each preset, you must provide a name, the window width |
17 * and window center. | 19 * and window center. |
18 **/ | 20 **/ |
19 "WindowingPresets" : [ | 21 "WindowingPresets" : [ |
20 {"Name": "CT Lung", "WindowCenter": -400, "WindowWidth": 1600}, | 22 {"Name": "CT Lung", "WindowCenter": -400, "WindowWidth": 1600}, |
21 {"Name": "CT Abdomen", "WindowCenter": 60, "WindowWidth": 400}, | 23 {"Name": "CT Abdomen", "WindowCenter": 60, "WindowWidth": 400}, |
22 {"Name": "CT Bone", "WindowCenter": 300, "WindowWidth": 1500}, | 24 {"Name": "CT Bone", "WindowCenter": 300, "WindowWidth": 1500}, |
23 {"Name": "CT Brain", "WindowCenter": 40, "WindowWidth": 80}, | 25 {"Name": "CT Brain", "WindowCenter": 40, "WindowWidth": 80}, |
24 {"Name": "CT Chest", "WindowCenter": 40, "WindowWidth": 400}, | 26 {"Name": "CT Chest", "WindowCenter": 40, "WindowWidth": 400}, |
25 {"Name": "CT Angio", "WindowCenter": 300, "WindowWidth": 600} | 27 {"Name": "CT Angio", "WindowCenter": 300, "WindowWidth": 600} |
26 ], | 28 ], |
27 | 29 |
28 /** | 30 /** |
29 * The allowed origin for messages corresponding to dynamic actions | 31 * The allowed origin for messages corresponding to dynamic actions |
30 * triggered by another Web page using "window.postMessage()". The | 32 * triggered by another Web page using "window.postMessage()". The |
31 * special value "*" will allow any origin, which is an insecure | 33 * special value "*" will allow any origin, which is an insecure |
32 * value to be used only during development. If this option is not | 34 * value to be used only during development. If this option is not |
33 * set, all the requests for dynamic actions will be rejected. | 35 * set, all the requests for dynamic actions will be rejected. |
34 * https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage | 36 * https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage |
35 **/ | 37 **/ |
36 "ExpectedMessageOrigin" : "http://localhost:8042" | 38 "ExpectedMessageOrigin" : "http://localhost:8042" |
39 } | |
37 } | 40 } |