2022-11-22 15:09:24 +01:00
|
|
|
window.config = {
|
2023-03-15 17:41:41 +01:00
|
|
|
// Activate the new HP mode....
|
|
|
|
|
isNewHP: true,
|
|
|
|
|
|
2022-11-22 15:09:24 +01:00
|
|
|
routerBasename: '/',
|
|
|
|
|
customizationService: [
|
2023-02-03 22:56:27 +01:00
|
|
|
'@ohif/extension-default.customizationModule.datasources',
|
2022-11-24 22:28:10 +01:00
|
|
|
{
|
|
|
|
|
id: 'class:StudyBrowser',
|
|
|
|
|
true: 'black',
|
|
|
|
|
false: 'default',
|
|
|
|
|
},
|
2022-11-22 15:09:24 +01:00
|
|
|
],
|
|
|
|
|
extensions: [],
|
2023-03-10 19:57:23 +01:00
|
|
|
modes: ['@ohif/mode-test'],
|
2022-11-22 15:09:24 +01:00
|
|
|
showStudyList: true,
|
|
|
|
|
maxNumberOfWebWorkers: 4,
|
|
|
|
|
// below flag is for performance reasons, but it might not work for all servers
|
|
|
|
|
omitQuotationForMultipartRequest: true,
|
2023-02-17 21:04:07 +01:00
|
|
|
showWarningMessageForCrossOrigin: true,
|
|
|
|
|
showCPUFallbackMessage: true,
|
2022-11-22 15:09:24 +01:00
|
|
|
showLoadingIndicator: true,
|
|
|
|
|
// filterQueryParam: false,
|
|
|
|
|
dataSources: [
|
|
|
|
|
{
|
|
|
|
|
friendlyName: 'Static WADO Local Data',
|
|
|
|
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
|
|
|
|
|
sourceName: 'default',
|
|
|
|
|
configuration: {
|
|
|
|
|
name: 'DCM4CHEE',
|
|
|
|
|
qidoRoot: '/dicomweb',
|
|
|
|
|
wadoRoot: '/dicomweb',
|
|
|
|
|
qidoSupportsIncludeField: false,
|
2022-12-29 16:13:06 +01:00
|
|
|
supportsReject: true,
|
|
|
|
|
supportsStow: true,
|
2022-11-22 15:09:24 +01:00
|
|
|
imageRendering: 'wadors',
|
|
|
|
|
thumbnailRendering: 'wadors',
|
|
|
|
|
enableStudyLazyLoad: true,
|
|
|
|
|
supportsFuzzyMatching: false,
|
|
|
|
|
supportsWildcard: true,
|
|
|
|
|
staticWado: true,
|
|
|
|
|
singlepart: 'bulkdata,video,pdf',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
friendlyName: 'AWS S3 OHIF',
|
|
|
|
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
|
|
|
|
|
sourceName: 'aws',
|
|
|
|
|
configuration: {
|
|
|
|
|
name: 'aws',
|
2023-02-03 22:56:27 +01:00
|
|
|
qidoRoot: 'https://dd32w2rfebxel.cloudfront.net/dicomweb',
|
|
|
|
|
wadoRoot: 'https://dd32w2rfebxel.cloudfront.net/dicomweb',
|
2022-11-22 15:09:24 +01:00
|
|
|
qidoSupportsIncludeField: false,
|
|
|
|
|
supportsReject: false,
|
2022-12-29 16:13:06 +01:00
|
|
|
supportsStow: false,
|
2022-11-22 15:09:24 +01:00
|
|
|
imageRendering: 'wadors',
|
|
|
|
|
thumbnailRendering: 'wadors',
|
|
|
|
|
enableStudyLazyLoad: true,
|
|
|
|
|
supportsFuzzyMatching: false,
|
|
|
|
|
supportsWildcard: true,
|
|
|
|
|
staticWado: true,
|
|
|
|
|
singlepart: 'bulkdata,video,pdf',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
friendlyName: 'E2E Test Data',
|
|
|
|
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
|
|
|
|
|
sourceName: 'e2e',
|
|
|
|
|
configuration: {
|
|
|
|
|
name: 'DCM4CHEE',
|
|
|
|
|
wadoUriRoot: '/viewer-testdata',
|
|
|
|
|
qidoRoot: '/viewer-testdata',
|
|
|
|
|
wadoRoot: '/viewer-testdata',
|
|
|
|
|
qidoSupportsIncludeField: false,
|
|
|
|
|
supportsReject: false,
|
2022-12-29 16:13:06 +01:00
|
|
|
supportsStow: false,
|
2022-11-22 15:09:24 +01:00
|
|
|
imageRendering: 'wadors',
|
|
|
|
|
thumbnailRendering: 'wadors',
|
|
|
|
|
enableStudyLazyLoad: true,
|
|
|
|
|
supportsFuzzyMatching: false,
|
|
|
|
|
supportsWildcard: true,
|
|
|
|
|
staticWado: true,
|
|
|
|
|
singlepart: 'video,thumbnail,pdf',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
friendlyName: 'dicom json',
|
|
|
|
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomjson',
|
|
|
|
|
sourceName: 'dicomjson',
|
|
|
|
|
configuration: {
|
|
|
|
|
name: 'json',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
friendlyName: 'dicom local',
|
|
|
|
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomlocal',
|
|
|
|
|
sourceName: 'dicomlocal',
|
|
|
|
|
configuration: {},
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
httpErrorHandler: error => {
|
|
|
|
|
// This is 429 when rejected from the public idc sandbox too often.
|
|
|
|
|
console.warn(error.status);
|
|
|
|
|
|
|
|
|
|
// Could use services manager here to bring up a dialog/modal if needed.
|
|
|
|
|
console.warn('test, navigate to https://ohif.org/');
|
|
|
|
|
},
|
|
|
|
|
defaultDataSourceName: 'default',
|
2023-03-15 17:41:41 +01:00
|
|
|
|
|
|
|
|
// Only list the unique hotkeys
|
|
|
|
|
hotkeys: [],
|
2022-11-22 15:09:24 +01:00
|
|
|
};
|