dcmjs 0.37.0 → 0.38.0

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/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  [![CI](https://github.com/dcmjs-org/dcmjs/actions/workflows/publish-package.yml/badge.svg)](https://github.com/dcmjs-org/dcmjs/actions?query=workflow:publish-package)
9
9
 
10
- **Note: this code is a work-in-progress and should not be used for production or clinical purposes**
10
+ **Note: this code is a work-in-progress**
11
11
 
12
12
  This is a community effort so please help improve support for a wide range of DICOM data and use cases.
13
13
 
@@ -152,6 +152,8 @@ Currently dcmjs is an early-stage development experiment, but already has valuab
152
152
  with the community to define some example use cases to mix the pure JavaScript DICOM code with Cornerstone and [CornerstoneTools](https://github.com/chafey/cornerstoneTools).
153
153
  - 2018-2022
154
154
  - Work continues to develop SR and SEG support to [OHIFViewer](http://ohif.org) allow interoperability with [DICOM4QI](https://legacy.gitbook.com/book/qiicr/dicom4qi/details)
155
+ - 2022-present
156
+ - dcmjs is used by a number of projects and as of January 2025 has about 15,000 weekly [downloads from npm]([url](https://www.npmjs.com/package/dcmjs)).
155
157
 
156
158
  # Support
157
159
 
package/build/dcmjs.es.js CHANGED
@@ -10720,9 +10720,9 @@ var DicomMessage = /*#__PURE__*/function () {
10720
10720
  values.push(value);
10721
10721
  }
10722
10722
  } else {
10723
- var _vr$read2 = vr.read(stream, length, syntax, options),
10724
- _rawValue = _vr$read2.rawValue,
10725
- _value = _vr$read2.value;
10723
+ var _ref = vr.read(stream, length, syntax, options) || {},
10724
+ _rawValue = _ref.rawValue,
10725
+ _value = _ref.value;
10726
10726
  if (!vr.isBinary() && singleVRs.indexOf(vr.type) == -1) {
10727
10727
  rawValues = _rawValue;
10728
10728
  values = _value;
@@ -12108,6 +12108,9 @@ var Segmentation$4 = /*#__PURE__*/function (_DerivedPixels) {
12108
12108
  RecommendedDisplayCIELabValue: Segment.RecommendedDisplayCIELabValue,
12109
12109
  SegmentedPropertyTypeCodeSequence: Segment.SegmentedPropertyTypeCodeSequence
12110
12110
  };
12111
+ if (Segment.SegmentDescription) {
12112
+ reNumberedSegmentCopy.SegmentDescription = Segment.SegmentDescription;
12113
+ }
12111
12114
  if (SegmentAlgorithmType === "AUTOMATIC" || SegmentAlgorithmType === "SEMIAUTOMATIC") {
12112
12115
  reNumberedSegmentCopy.SegmentAlgorithmName = Segment.SegmentAlgorithmName;
12113
12116
  }