Study Browser
The Study Browser is a component that allows users to browse and manage studies.
studyBrowser.studyMode
| ID | studyBrowser.studyMode | 
|---|---|
| Description | Controls the study browser mode to determine whether to show all studies (including prior studies) or only the current study.  | 
| Default Value | 'all'  | 
| Example |  | 
studyBrowser.viewPresets
| ID | studyBrowser.viewPresets | 
|---|---|
| Description | Defines the view presets for the study browser, such as list or thumbnail views.  | 
| Default Value | 
[
  {
    "id": "list",
    "iconName": "ListView",
    "selected": false
  },
  {
    "id": "thumbnails",
    "iconName": "ThumbnailView",
    "selected": true
  }
] | 
| Example |  | 
studyBrowser.sortFunctions
| ID | studyBrowser.sortFunctions | 
|---|---|
| Description | Sorting options for study browser items.  | 
| Default Value | 
[
  {
    "label": "Series Number"
  },
  {
    "label": "Series Date"
  }
] | 
| Example |  | 
studyBrowser.thumbnailMenuItems
| ID | studyBrowser.thumbnailMenuItems | 
|---|---|
| Description | Defines the menu items available in the thumbnail menu items of the study browser.  | 
| Default Value | 
[
  {
    "id": "tagBrowser",
    "label": "Tag Browser",
    "iconName": "DicomTagBrowser",
    "commands": "openDICOMTagViewer"
  }
] | 
| Example |  | 
studyBrowser.studyMenuItems
| ID | studyBrowser.studyMenuItems | 
|---|---|
| Description | Defines the menu items available in the study menu items of the study browser.  | 
| Default Value | []  | 
| Example |  | 
studyBrowser.thumbnailDoubleClickCallback
| ID | studyBrowser.thumbnailDoubleClickCallback | 
|---|---|
| Description | Defines the callback function for when the user double clicks a series on the study browser.  | 
| Default Value | 
{
    callback: ({
            activeViewportId,
            servicesManager,
            isHangingProtocolLayout
        }) =>
        async displaySetInstanceUID => {
            const {
                hangingProtocolService,
                viewportGridService,
                uiNotificationService
            } =
            servicesManager.services;
            let updatedViewports = [];
            const viewportId = activeViewportId;
            try {
                updatedViewports = hangingProtocolService.getViewportsRequireUpdate(
                    viewportId,
                    displaySetInstanceUID,
                    isHangingProtocolLayout
                );
            } catch (error) {
                console.warn(error);
                uiNotificationService.show({
                    title: 'Thumbnail Double Click',
                    message: 'The selected display sets could not be added to the viewport.',
                    type: 'error',
                    duration: 3000,
                });
            }
            viewportGridService.setDisplaySetsForViewports(updatedViewports);
        },
} | 
| Example |  |