dcmjs 0.28.1 → 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
@@ -14950,14 +14950,11 @@ var FreehandRoi = /*#__PURE__*/function () {
14950
14950
  }
14951
14951
  }, {
14952
14952
  key: "getTID300RepresentationArguments",
14953
- value: function
14954
- /*tool*/
14955
- getTID300RepresentationArguments() {
14956
- var _tool = tool,
14957
- handles = _tool.handles,
14958
- finding = _tool.finding,
14959
- findingSites = _tool.findingSites,
14960
- _tool$cachedStats = _tool.cachedStats,
14953
+ value: function getTID300RepresentationArguments(tool) {
14954
+ var handles = tool.handles,
14955
+ finding = tool.finding,
14956
+ findingSites = tool.findingSites,
14957
+ _tool$cachedStats = tool.cachedStats,
14961
14958
  cachedStats = _tool$cachedStats === void 0 ? {} : _tool$cachedStats;
14962
14959
  var points = handles.points;
14963
14960
  var _cachedStats$area = cachedStats.area,
@@ -21832,8 +21829,9 @@ var MeasurementReport$1 = /*#__PURE__*/function () {
21832
21829
  ReferencedSOPClassUID: sopClassUID,
21833
21830
  ReferencedSOPInstanceUID: sopInstanceUID
21834
21831
  };
21832
+ var instance = metadataProvider.get("instance", imageId);
21835
21833
 
21836
- if (Normalizer.isMultiframeSOPClassUID(sopClassUID)) {
21834
+ if (instance && instance.NumberOfFrames && instance.NumberOfFrames > 1 || Normalizer.isMultiframeSOPClassUID(sopClassUID)) {
21837
21835
  ReferencedSOPSequence.ReferencedFrameNumber = frameNumber;
21838
21836
  } // Loop through each tool type for the image
21839
21837