annotate Sources/app-config-system.js @ 29:78f21b9263b1

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Jan 2024 15:15:54 +0100
parents 03e71bc320c4
children 36049c04ee27
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
39585ba26f20 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 /**
39585ba26f20 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 * SPDX-FileCopyrightText: 2023 Sebastien Jodogne, UCLouvain, Belgium,
39585ba26f20 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 * and 2018-2023 Open Health Imaging Foundation
39585ba26f20 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 * SPDX-License-Identifier: MIT
39585ba26f20 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 */
39585ba26f20 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6
2
cbc4be362700 added configuration option "RouterBasename"
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 0
diff changeset
7 window.config.routerBasename = '${ROUTER_BASENAME}';
0
39585ba26f20 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8
5
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
9 if (${USE_DICOM_WEB}) {
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
10 window.config.dataSources = [
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
11 {
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
12 friendlyName: 'Orthanc DICOMweb',
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
13 namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
14 sourceName: 'dicomweb',
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
15 configuration: {
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
16 name: 'orthanc',
0
39585ba26f20 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17
5
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
18 wadoUriRoot: '../dicom-web',
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
19 qidoRoot: '../dicom-web',
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
20 wadoRoot: '../dicom-web',
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
21
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
22 qidoSupportsIncludeField: false,
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
23 supportsReject: false,
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
24 imageRendering: 'wadors',
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
25 thumbnailRendering: 'wadors',
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
26 enableStudyLazyLoad: true,
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
27 supportsFuzzyMatching: false,
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
28 supportsWildcard: true,
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
29 staticWado: true,
20
03e71bc320c4 update OHIF to 3.7.0 + default config to avoid transcoding
Alain Mazy <am@osimis.io>
parents: 14
diff changeset
30 singlepart: 'bulkdata,pdf,video',
03e71bc320c4 update OHIF to 3.7.0 + default config to avoid transcoding
Alain Mazy <am@osimis.io>
parents: 14
diff changeset
31 acceptHeader: [ 'multipart/related; type=application/octet-stream; transfer-syntax=*']
5
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
32 }
0
39585ba26f20 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
33 }
5
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
34 ];
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
35
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
36 window.config.defaultDataSourceName = 'dicomweb';
0
39585ba26f20 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
37
5
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
38 } else {
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
39 window.config.showStudyList = false;
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
40 window.config.dataSources = [
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
41 {
14
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5
diff changeset
42 friendlyName: 'Orthanc DICOM JSON',
5
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
43 namespace: '@ohif/extension-default.dataSourcesModule.dicomjson',
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
44 sourceName: 'dicomjson',
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
45 configuration: {
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
46 name: 'json',
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
47 },
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
48 }
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
49 ];
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
50
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
51 window.config.defaultDataSourceName = 'dicomjson';
8c1fe0ca24f5 added the possibility to replace DICOMweb by DICOM JSON
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 2
diff changeset
52 }