fix: Console error on loading SR report (#5600)

* fixed console error

* Added check for SCOORD3D
This commit is contained in:
nithin-trenser authored and GitHub committed 2025-12-11 09:36:39 -05:00
1 parent 88188ad0c4
commit ba140a05f7
1 file changed
+1 -1
@@ -638,7 +638,7 @@ function _processNonGeometricallyDefinedMeasurement(mergedContentSequence) {
const { ConceptNameCodeSequence, ContentSequence, MeasuredValueSequence } = item; const { ConceptNameCodeSequence, ContentSequence, MeasuredValueSequence } = item;
const { ValueType } = ContentSequence; const { ValueType } = ContentSequence;
if (!ValueType === 'SCOORD') { if (ValueType !== 'SCOORD' && ValueType !== 'SCOORD3D') {
console.warn(`Graphic ${ValueType} not currently supported, skipping annotation.`); console.warn(`Graphic ${ValueType} not currently supported, skipping annotation.`);
return; return;
} }