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

* fixed console error

* Added check for SCOORD3D
This commit is contained in:
nithin-trenser 2025-12-11 20:06:39 +05:30 committed by GitHub
parent 88188ad0c4
commit ba140a05f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -638,7 +638,7 @@ function _processNonGeometricallyDefinedMeasurement(mergedContentSequence) {
const { ConceptNameCodeSequence, ContentSequence, MeasuredValueSequence } = item;
const { ValueType } = ContentSequence;
if (!ValueType === 'SCOORD') {
if (ValueType !== 'SCOORD' && ValueType !== 'SCOORD3D') {
console.warn(`Graphic ${ValueType} not currently supported, skipping annotation.`);
return;
}