dcmjs 0.28.2 → 0.28.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/dcmjs.es.js CHANGED
@@ -21829,8 +21829,9 @@ var MeasurementReport$1 = /*#__PURE__*/function () {
21829
21829
  ReferencedSOPClassUID: sopClassUID,
21830
21830
  ReferencedSOPInstanceUID: sopInstanceUID
21831
21831
  };
21832
+ var instance = metadataProvider.get("instance", imageId);
21832
21833
 
21833
- if (Normalizer.isMultiframeSOPClassUID(sopClassUID)) {
21834
+ if (instance && instance.NumberOfFrames && instance.NumberOfFrames > 1 || Normalizer.isMultiframeSOPClassUID(sopClassUID)) {
21834
21835
  ReferencedSOPSequence.ReferencedFrameNumber = frameNumber;
21835
21836
  } // Loop through each tool type for the image
21836
21837