ohif-viewer/extensions/cornerstone/src
TFRadicalImaging 70f76aeba1
feat(ecg): add DICOM ECG waveform extension (#5856)
* feat(ecg): add DICOM ECG waveform extension

Introduce @ohif/extension-dicom-ecg for rendering DICOM waveform (ECG)
data. Register the extension in the basic mode and pluginConfig.json,
and remove ECG from NON_IMAGE_MODALITIES so waveform display sets are
handled by the new viewport.

* refactor(ecg): move ECG support into cornerstone extension per review feedback

- Remove standalone dicom-ecg extension; fold all ECG functionality into
  the cornerstone extension as requested by reviewer
- Add ECG SOP class handler (DicomEcgSopClassHandler) to the cornerstone
  extension getSopClassHandlerModule, registering ECG waveform metadata
  via genericMetadataProvider on display set creation
- Move ECG helpers (buildEcgModule, decodeInt16Multiplex, base64ToArrayBuffer)
  into extensions/cornerstone/src/utils/ecgMetadata.ts
- Handle ECGViewport in CornerstoneViewportService._setDisplaySets by
  detecting ECGViewport instanceof and calling setEcg(imageId) directly,
  so OHIFCornerstoneViewport can be used without a custom ECG viewport component
- Add ECG support to getCornerstoneViewportType utility
- Update basic mode to reference the cornerstone extension's ECG SOP handler
  and use the base cornerstone viewport for ECG display sets
- Migrate ecgMetadata and getCornerstoneViewportType tests

* chore: revert bun.lock to upstream origin/master

---------

Co-authored-by: Bill Wallace <wayfarer3130@gmail.com>
2026-03-05 12:56:52 -05:00
..
components fix(colors): Replace hardcoded black with background color token (#5815) 2026-02-12 13:12:36 -05:00
constants feat(data overlay): add foreground background control plus orientation change in the UI and add RTDOSE support (#5007) 2025-05-05 16:35:05 -04:00
customizations fix: Add copy to clipboard option for capture (#5720) 2026-02-18 19:03:17 -05:00
hooks chore: update French i18n (#5561) 2025-12-12 10:46:56 -05:00
hps fix(i18n): Add and update i18n Translation for Toolbar Tool Names (#5392) 2025-09-25 10:22:02 -04:00
panels fix(colors): Replaces legacy colors with ui-next colors (#5351) 2026-02-12 08:48:05 -05:00
services feat(ecg): add DICOM ECG waveform extension (#5856) 2026-03-05 12:56:52 -05:00
stores feature(segmentation): Add contour tools and utilities in a side panel (#5517) 2025-10-29 14:15:52 -04:00
synchronizers fix(hp): When reapplying an hp the display set selectors should be considered. (#5074) 2025-06-13 10:43:31 -04:00
tools ui(components): New Dialog and Modal components for ui-next (#4772) 2025-02-28 15:17:55 -05:00
types feature(segmentation): Add contour tools and utilities in a side panel (#5517) 2025-10-29 14:15:52 -04:00
utils feat(ecg): add DICOM ECG waveform extension (#5856) 2026-03-05 12:56:52 -05:00
Viewport fix(colors): Replaces legacy colors with ui-next colors (#5351) 2026-02-12 08:48:05 -05:00
commandsModule.ts fix(segmentation): segment bidirectional tool error and show toast notification when no segment is drawn (#5861) 2026-03-04 15:22:10 -05:00
enums.ts feat(SR): SCOORD3D point annotations support for stack viewports (#4315) 2024-10-17 09:36:24 -04:00
getCustomizationModule.tsx feat: improve segment label (#5217) 2025-07-29 22:30:18 -04:00
getHangingProtocolModule.ts feat(HP): Frame View HP (#4235) 2024-06-21 11:22:05 -04:00
getPanelModule.tsx fix(segmentation): List surface representations in the segmentation table for 3D views. (#5700) 2026-01-13 15:57:44 -05:00
getSopClassHandlerModule.js feat(ecg): add DICOM ECG waveform extension (#5856) 2026-03-05 12:56:52 -05:00
getToolbarModule.tsx chore: update French i18n (#5561) 2025-12-12 10:46:56 -05:00
id.js feat(cli): Ohif cli for modes and extensions modification (#2696) 2022-04-06 13:28:42 -04:00
index.tsx fix: Better handle octet stream case (#5789) 2026-02-10 07:50:41 -05:00
init.tsx fix(SegmentationStyle): Fix inactive contour visibility and styling. (#5563) 2025-11-19 17:55:53 -05:00
initCineService.ts fix(cine): prevent crash on second view/hydration of SR series (#5724) 2026-02-09 21:20:11 -05:00
initContextMenu.ts feat(customization): new customization service api (#4688) 2025-01-23 14:24:13 -05:00
initCornerstoneTools.js feature(segmentation): Add contour tools and utilities in a side panel (#5517) 2025-10-29 14:15:52 -04:00
initDoubleClick.ts feat(customization): new customization service api (#4688) 2025-01-23 14:24:13 -05:00
initMeasurementService.ts Fix contour annotations RTSS saving (#5545) 2025-11-21 13:07:26 -05:00
initStudyPrefetcherService.ts feat(studyPrefetcher): Study Prefetcher (#4206) 2024-06-28 08:58:39 -04:00
initWADOImageLoader.js OHIF with Cornerstone3D 2.0 (#4347) 2024-11-06 07:15:27 -05:00
state.ts docs(spelling): Add codespell config + github action, run and fix a good number of typos (#3645) 2023-09-12 07:40:38 -04:00