commit18d5b6dd9aAuthor: mario <dev.mario@sismedika@gmail.com> Date: Tue May 13 16:15:37 2025 +0700 add: shortlink DoB auth page commit7cad1c5e05Author: mario <dev.mario@sismedika@gmail.com> Date: Tue May 13 08:52:45 2025 +0700 prevent patient to see Worklist commit7f4548e18cAuthor: mario <dev.mario@sismedika@gmail.com> Date: Tue May 13 08:51:38 2025 +0700 add: Login page and route commiteaa18b8389Author: mario <dev.mario@sismedika@gmail.com> Date: Fri May 9 16:40:02 2025 +0700 edit: patch XHR Request dengan coverage lebih luas dari monkeyPatchXML commit86ad0b38ddAuthor: padmanto <padmanto@gmail.com> Date: Tue Apr 29 09:42:53 2025 +0700 Monkey Patch XMLHttpRequest -- inject bearer token and verify response commitcb380a521dAuthor: padmanto <padmanto@gmail.com> Date: Tue Apr 29 08:44:52 2025 +0700 default use cloud pacs commit5f56d06fcdAuthor: mario <mario@sismedika.com> Date: Sat Apr 26 23:38:18 2025 +0700 edit ip pdf dan cloud
81 lines
2.9 KiB
JavaScript
81 lines
2.9 KiB
JavaScript
/** @type {AppTypes.Config} */
|
|
window.config = {
|
|
routerBasename: '/',
|
|
pacs_document_host: `${window.location.hostname}`,
|
|
pacs_document_port: 8080,
|
|
expertise: false,
|
|
enableGoogleCloudAdapter: false,
|
|
// below flag is for performance reasons, but it might not work for all servers
|
|
showWarningMessageForCrossOrigin: true,
|
|
showCPUFallbackMessage: true,
|
|
showLoadingIndicator: true,
|
|
strictZSpacingForVolumeViewport: true,
|
|
// This is an array, but we'll only use the first entry for now
|
|
// Remove OIDC configuration since proxy handles authentication
|
|
// oidc: [
|
|
// {
|
|
// // ~ REQUIRED
|
|
// // Authorization Server URL
|
|
// authority: 'https://accounts.google.com',
|
|
// client_id: '382212153306-7q39hdie4ecj0uhemkitvedo93bnvfhn.apps.googleusercontent.com',
|
|
// redirect_uri: '/callback',
|
|
// response_type: 'id_token token',
|
|
// scope:
|
|
// 'email profile openid https://www.googleapis.com/auth/cloudplatformprojects.readonly https://www.googleapis.com/auth/cloud-healthcare', // email profile openid
|
|
// // ~ OPTIONAL
|
|
// post_logout_redirect_uri: '/logout-redirect.html',
|
|
// revoke_uri: 'https://accounts.google.com/o/oauth2/revoke?token=',
|
|
// automaticSilentRenew: true,
|
|
// revokeAccessTokenOnSignout: true,
|
|
// },
|
|
// ],
|
|
extensions: [],
|
|
modes: [],
|
|
showStudyList: true,
|
|
// filterQueryParam: false,
|
|
defaultDataSourceName: 'dicomweb',
|
|
dataSources: [
|
|
{
|
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
|
|
sourceName: 'dicomweb',
|
|
configuration: {
|
|
friendlyName: 'dcmjs DICOMWeb Server',
|
|
name: 'GCP',
|
|
wadoUriRoot: `http://${window.location.hostname}:5555/dicomWeb`,
|
|
qidoRoot: `http://${window.location.hostname}:5555/dicomWeb`,
|
|
wadoRoot: `http://${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',
|
|
// defaultDicomStoreConfiguredItems: {
|
|
// id: 'projects/ohifproxy/locations/asia-southeast2/datasets/sas-storage',
|
|
// itemType: '3',
|
|
// name: 'store-1',
|
|
// url: 'https://healthcare.googleapis.com/v1/projects/ohifproxy/locations/asia-southeast2/datasets/sas-storage/dicomStores/store-1'
|
|
// },
|
|
},
|
|
},
|
|
{
|
|
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',
|
|
},
|
|
},
|
|
],
|
|
};
|