edit ip pdf dan cloud

This commit is contained in:
mario
2025-04-26 23:38:18 +07:00
parent a78c918963
commit 5f56d06fcd
5 changed files with 121 additions and 73 deletions

View File

@@ -2,6 +2,8 @@
window.config = {
routerBasename: '/',
pacs_document_host: '152.42.173.210',
pacs_document_port: 8080,
// whiteLabeling: {},
extensions: [],
modes: [],
@@ -23,10 +25,11 @@ window.config = {
// above, the number of requests can be go a lot higher.
prefetch: 25,
},
expertise: true, //* Tambahan untuk enable expertise (CustomizableViewportOverlay)
expertise: false, //* Tambahan untuk enable expertise (CustomizableViewportOverlay)
// filterQueryParam: false,
// defaultDataSourceName: 'dicomweb',
defaultDataSourceName: 'local-proxy',
// defaultDataSourceName: 'GCP',
/* Dynamic config allows user to pass "configUrl" query string this allows to load config without recompiling application. The regex will ensure valid configuration source */
// dangerouslyUseDynamicConfig: {
// enabled: true,
@@ -38,6 +41,32 @@ window.config = {
// regex: /.*/,
// },
dataSources: [
{
namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
sourceName: 'local-proxy',
configuration: {
friendlyName: 'DCM4CHEE Server',
name: 'DCM4CHEE',
qidoRoot: 'http://152.42.173.210:5000/rs',
wadoRoot: 'http://152.42.173.210:5000/rs',
qidoSupportsIncludeField: false,
supportsReject: true,
supportsStow: true,
imageRendering: 'wadors',
thumbnailRendering: 'wadors',
enableStudyLazyLoad: true,
supportsFuzzyMatching: false,
supportsWildcard: true,
staticWado: true,
singlepart: 'bulkdata,video',
bulkDataURI: {
enabled: true,
relativeResolution: 'studies',
transform: url => url.replace('/pixeldata.mp4', '/rendered'),
},
omitQuotationForMultipartRequest: true,
},
},
{
namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
sourceName: 'dicomweb',
@@ -123,32 +152,6 @@ window.config = {
omitQuotationForMultipartRequest: true,
},
},
{
namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
sourceName: 'local-proxy',
configuration: {
friendlyName: 'Static WADO Local Data',
name: 'DCM4CHEE',
qidoRoot: 'http://128.199.154.150:5000/rs',
wadoRoot: 'http://128.199.154.150:5000/rs',
qidoSupportsIncludeField: false,
supportsReject: true,
supportsStow: true,
imageRendering: 'wadors',
thumbnailRendering: 'wadors',
enableStudyLazyLoad: true,
supportsFuzzyMatching: false,
supportsWildcard: true,
staticWado: true,
singlepart: 'video',
bulkDataURI: {
enabled: true,
relativeResolution: 'studies',
},
},
},
{
namespace: '@ohif/extension-default.dataSourcesModule.dicomwebproxy',
sourceName: 'dicomwebproxy',