dcmjs 0.50.1 → 0.50.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 +15 -7
- package/build/dcmjs.es.js.map +1 -1
- package/build/dcmjs.js +15 -7
- package/build/dcmjs.js.map +1 -1
- package/build/dcmjs.min.js +1 -1
- package/build/dcmjs.min.js.map +1 -1
- package/package.json +1 -1
package/build/dcmjs.js
CHANGED
|
@@ -14863,7 +14863,7 @@
|
|
|
14863
14863
|
}
|
|
14864
14864
|
}
|
|
14865
14865
|
if (!(tagInfo.tag === TagHex.SpecificCharacterSet)) {
|
|
14866
|
-
_context11.next =
|
|
14866
|
+
_context11.next = 22;
|
|
14867
14867
|
break;
|
|
14868
14868
|
}
|
|
14869
14869
|
if (!(values.length > 0)) {
|
|
@@ -14891,11 +14891,19 @@
|
|
|
14891
14891
|
case 20:
|
|
14892
14892
|
throw Error("Unsupported character set: ".concat(coding));
|
|
14893
14893
|
case 21:
|
|
14894
|
+
// Normalize to UTF-8 in the stored value, matching the synchronous
|
|
14895
|
+
// DicomMessage path which always rewrites SpecificCharacterSet to
|
|
14896
|
+
// ISO_IR 192 after decoding (dcmjs always re-encodes output as UTF-8).
|
|
14897
|
+
//
|
|
14898
|
+
// TODO: the original charset value should also be preserved:
|
|
14899
|
+
// it is needed for bulk data decoding.
|
|
14900
|
+
values = ["ISO_IR 192"];
|
|
14901
|
+
case 22:
|
|
14894
14902
|
values.forEach(function (value) {
|
|
14895
14903
|
return listener.value(value);
|
|
14896
14904
|
});
|
|
14897
14905
|
return _context11.abrupt("return", values);
|
|
14898
|
-
case
|
|
14906
|
+
case 24:
|
|
14899
14907
|
case "end":
|
|
14900
14908
|
return _context11.stop();
|
|
14901
14909
|
}
|
|
@@ -26662,7 +26670,7 @@ b"+i+"*=d\
|
|
|
26662
26670
|
function NormalRangeProperties(options) {
|
|
26663
26671
|
var _this6;
|
|
26664
26672
|
_classCallCheck(this, NormalRangeProperties);
|
|
26665
|
-
_this6 = _callSuper(this, NormalRangeProperties
|
|
26673
|
+
_this6 = _callSuper(this, NormalRangeProperties);
|
|
26666
26674
|
if (options.values === undefined) {
|
|
26667
26675
|
throw new Error("Option 'values' is required for NormalRangeProperties.");
|
|
26668
26676
|
}
|
|
@@ -27088,7 +27096,7 @@ b"+i+"*=d\
|
|
|
27088
27096
|
function SubjectContextDevice(options) {
|
|
27089
27097
|
var _this17;
|
|
27090
27098
|
_classCallCheck(this, SubjectContextDevice);
|
|
27091
|
-
_this17 = _callSuper(this, SubjectContextDevice
|
|
27099
|
+
_this17 = _callSuper(this, SubjectContextDevice);
|
|
27092
27100
|
if (options.name === undefined) {
|
|
27093
27101
|
throw new Error("Option 'name' is required for SubjectContextDevice.");
|
|
27094
27102
|
}
|
|
@@ -27388,7 +27396,7 @@ b"+i+"*=d\
|
|
|
27388
27396
|
function MeasurementsDerivedFromMultipleROIMeasurements(options) {
|
|
27389
27397
|
var _this21;
|
|
27390
27398
|
_classCallCheck(this, MeasurementsDerivedFromMultipleROIMeasurements);
|
|
27391
|
-
_this21 = _callSuper(this, MeasurementsDerivedFromMultipleROIMeasurements
|
|
27399
|
+
_this21 = _callSuper(this, MeasurementsDerivedFromMultipleROIMeasurements);
|
|
27392
27400
|
if (options.derivation === undefined) {
|
|
27393
27401
|
throw new Error("Option 'derivation' is required for " + "MeasurementsDerivedFromMultipleROIMeasurements.");
|
|
27394
27402
|
}
|
|
@@ -27588,7 +27596,7 @@ b"+i+"*=d\
|
|
|
27588
27596
|
function TimePointContext(options) {
|
|
27589
27597
|
var _this24;
|
|
27590
27598
|
_classCallCheck(this, TimePointContext);
|
|
27591
|
-
_this24 = _callSuper(this, TimePointContext
|
|
27599
|
+
_this24 = _callSuper(this, TimePointContext);
|
|
27592
27600
|
if (options.timePoint === undefined) {
|
|
27593
27601
|
throw new Error("Option 'timePoint' is required for TimePointContext.");
|
|
27594
27602
|
}
|
|
@@ -27744,7 +27752,7 @@ b"+i+"*=d\
|
|
|
27744
27752
|
function TrackingIdentifier(options) {
|
|
27745
27753
|
var _this27;
|
|
27746
27754
|
_classCallCheck(this, TrackingIdentifier);
|
|
27747
|
-
_this27 = _callSuper(this, TrackingIdentifier
|
|
27755
|
+
_this27 = _callSuper(this, TrackingIdentifier);
|
|
27748
27756
|
if (options.uid === undefined) {
|
|
27749
27757
|
throw new Error("Option 'uid' is required for TrackingIdentifier.");
|
|
27750
27758
|
}
|