2023-03-22 22:45:28 +01:00
|
|
|
import { Types } from '@ohif/core';
|
|
|
|
|
|
2020-05-07 15:34:17 +02:00
|
|
|
import getDataSourcesModule from './getDataSourcesModule.js';
|
2020-05-09 20:23:43 +02:00
|
|
|
import getLayoutTemplateModule from './getLayoutTemplateModule.js';
|
2022-07-27 18:39:04 +02:00
|
|
|
import getPanelModule from './getPanelModule';
|
2020-05-10 16:33:04 +02:00
|
|
|
import getSopClassHandlerModule from './getSopClassHandlerModule.js';
|
2022-07-27 18:39:04 +02:00
|
|
|
import getToolbarModule from './getToolbarModule';
|
2023-03-22 22:45:28 +01:00
|
|
|
import getCommandsModule from './commandsModule';
|
2022-09-21 05:40:26 +02:00
|
|
|
import getHangingProtocolModule from './getHangingProtocolModule';
|
2023-05-11 16:01:33 +02:00
|
|
|
import getStudiesForPatientByMRN from './Panels/getStudiesForPatientByMRN';
|
2022-11-24 22:28:10 +01:00
|
|
|
import getCustomizationModule from './getCustomizationModule';
|
2024-04-10 05:57:34 +02:00
|
|
|
import getViewportModule from './getViewportModule';
|
2022-04-06 19:28:42 +02:00
|
|
|
import { id } from './id.js';
|
2023-03-22 22:45:28 +01:00
|
|
|
import preRegistration from './init';
|
2023-09-01 22:19:39 +02:00
|
|
|
import { ContextMenuController, CustomizableContextMenuTypes } from './CustomizableContextMenu';
|
2023-05-29 15:04:49 +02:00
|
|
|
import * as dicomWebUtils from './DicomWebDataSource/utils';
|
2023-09-22 16:23:44 +02:00
|
|
|
import { createReportDialogPrompt } from './Panels';
|
|
|
|
|
import createReportAsync from './Actions/createReportAsync';
|
2024-04-10 16:16:09 +02:00
|
|
|
import StaticWadoClient from './DicomWebDataSource/utils/StaticWadoClient';
|
2020-05-07 15:34:17 +02:00
|
|
|
|
2023-03-22 22:45:28 +01:00
|
|
|
const defaultExtension: Types.Extensions.Extension = {
|
2020-05-07 15:34:17 +02:00
|
|
|
/**
|
|
|
|
|
* Only required property. Should be a unique value across all extensions.
|
|
|
|
|
*/
|
2020-05-11 18:56:46 +02:00
|
|
|
id,
|
2023-03-22 22:45:28 +01:00
|
|
|
preRegistration,
|
2020-05-07 15:34:17 +02:00
|
|
|
getDataSourcesModule,
|
2024-04-10 05:57:34 +02:00
|
|
|
getViewportModule,
|
2020-05-09 20:23:43 +02:00
|
|
|
getLayoutTemplateModule,
|
|
|
|
|
getPanelModule,
|
2022-09-21 05:40:26 +02:00
|
|
|
getHangingProtocolModule,
|
2020-05-11 18:56:46 +02:00
|
|
|
getSopClassHandlerModule,
|
2020-05-13 14:22:08 +02:00
|
|
|
getToolbarModule,
|
2023-03-22 22:45:28 +01:00
|
|
|
getCommandsModule,
|
2022-07-27 18:39:04 +02:00
|
|
|
getUtilityModule({ servicesManager }) {
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
name: 'common',
|
|
|
|
|
exports: {
|
2023-05-11 16:01:33 +02:00
|
|
|
getStudiesForPatientByMRN,
|
2022-07-27 18:39:04 +02:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
},
|
2022-11-24 22:28:10 +01:00
|
|
|
|
|
|
|
|
getCustomizationModule,
|
2020-05-07 15:34:17 +02:00
|
|
|
};
|
2022-07-27 18:39:04 +02:00
|
|
|
|
|
|
|
|
export default defaultExtension;
|
2023-03-22 22:45:28 +01:00
|
|
|
|
2023-05-11 16:01:33 +02:00
|
|
|
export {
|
|
|
|
|
ContextMenuController,
|
2023-05-29 15:04:49 +02:00
|
|
|
CustomizableContextMenuTypes,
|
2023-05-11 16:01:33 +02:00
|
|
|
getStudiesForPatientByMRN,
|
2023-05-29 15:04:49 +02:00
|
|
|
dicomWebUtils,
|
2023-09-22 16:23:44 +02:00
|
|
|
createReportDialogPrompt,
|
|
|
|
|
createReportAsync,
|
2024-04-10 16:16:09 +02:00
|
|
|
StaticWadoClient,
|
2023-05-11 16:01:33 +02:00
|
|
|
};
|