58 lines
2.0 KiB
JavaScript
58 lines
2.0 KiB
JavaScript
/** @type {AppTypes.Config} */
|
|
window.config = {
|
|
routerBasename: '/',
|
|
pacs_document_host: `https://${window.location.hostname}`,
|
|
pacs_document_port: 8585,
|
|
goProxyHost: `https://${window.location.hostname}:5555`,
|
|
expertise: false, //* Tambahan untuk enable expertise (CustomizableViewportOverlay)
|
|
expertise_host: `https://devone.aplikasi.web.id/one-api/mockup/pacsmwl/Workorder/get_dummy_expertise`, //* Tambahan untuk fetch data Expertise)
|
|
enableGoogleCloudAdapter: false,
|
|
// below flag is for performance reasons, but it might not work for all servers
|
|
showWarningMessageForCrossOrigin: true,
|
|
showCPUFallbackMessage: true,
|
|
showLoadingIndicator: true,
|
|
strictZSpacingForVolumeViewport: true,
|
|
extensions: [],
|
|
modes: [],
|
|
showStudyList: false,
|
|
// filterQueryParam: false,
|
|
defaultDataSourceName: 'dicomweb',
|
|
dataSources: [
|
|
{
|
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
|
|
sourceName: 'dicomweb',
|
|
configuration: {
|
|
friendlyName: 'dcmjs DICOMWeb Server',
|
|
name: 'GCP',
|
|
wadoUriRoot: `https://${window.location.hostname}:5555/dicomWeb`,
|
|
qidoRoot: `https://${window.location.hostname}:5555/dicomWeb`,
|
|
wadoRoot: `https://${window.location.hostname}:5555/dicomWeb`,
|
|
qidoSupportsIncludeField: true,
|
|
imageRendering: 'wadors',
|
|
thumbnailRendering: 'wadors',
|
|
enableStudyLazyLoad: true,
|
|
supportsFuzzyMatching: false,
|
|
supportsWildcard: true,
|
|
dicomUploadEnabled: false,
|
|
omitQuotationForMultipartRequest: true,
|
|
configurationAPI: 'ohif.dataSourceConfigurationAPI.google',
|
|
},
|
|
},
|
|
{
|
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomjson',
|
|
sourceName: 'dicomjson',
|
|
configuration: {
|
|
friendlyName: 'dicom json',
|
|
name: 'json',
|
|
},
|
|
},
|
|
{
|
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomlocal',
|
|
sourceName: 'dicomlocal',
|
|
configuration: {
|
|
friendlyName: 'dicom local',
|
|
},
|
|
},
|
|
],
|
|
};
|