fix(seg): maintain algorithm name and algorithm type when DICOM seg is exported or downloaded (#4203)

This commit is contained in:
Ibrahim authored and GitHub committed 2024-06-05 12:26:17 -04:00
1 parent d747c97be3
commit a29e94de80
13 files changed
+41 -22

No files matched your search

@@ -278,8 +278,8 @@ const commandsModule = ({
const segmentMetadata = {
SegmentNumber: segmentIndex.toString(),
SegmentLabel: label,
SegmentAlgorithmType: 'MANUAL',
SegmentAlgorithmName: 'OHIF Brush',
SegmentAlgorithmType: segment?.algorithmType || 'MANUAL',
SegmentAlgorithmName: segment?.algorithmName || 'OHIF Brush',
RecommendedDisplayCIELabValue,
SegmentedPropertyCategoryCodeSequence: {
CodeValue: 'T-D0050',