dcmjs 0.42.0 → 0.43.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/build/dcmjs.es.js CHANGED
@@ -9435,14 +9435,14 @@ var DateTime = /*#__PURE__*/function (_AsciiStringRepresent6) {
9435
9435
  var FloatingPointSingle = /*#__PURE__*/function (_ValueRepresentation5) {
9436
9436
  _inherits(FloatingPointSingle, _ValueRepresentation5);
9437
9437
  function FloatingPointSingle() {
9438
- var _this10;
9438
+ var _this0;
9439
9439
  _classCallCheck(this, FloatingPointSingle);
9440
- _this10 = _callSuper(this, FloatingPointSingle, ["FL"]);
9441
- _this10.maxLength = 4;
9442
- _this10.padByte = PADDING_NULL;
9443
- _this10.fixed = true;
9444
- _this10.defaultValue = 0.0;
9445
- return _this10;
9440
+ _this0 = _callSuper(this, FloatingPointSingle, ["FL"]);
9441
+ _this0.maxLength = 4;
9442
+ _this0.padByte = PADDING_NULL;
9443
+ _this0.fixed = true;
9444
+ _this0.defaultValue = 0.0;
9445
+ return _this0;
9446
9446
  }
9447
9447
  _createClass(FloatingPointSingle, [{
9448
9448
  key: "readBytes",
@@ -9465,14 +9465,14 @@ var FloatingPointSingle = /*#__PURE__*/function (_ValueRepresentation5) {
9465
9465
  var FloatingPointDouble = /*#__PURE__*/function (_ValueRepresentation6) {
9466
9466
  _inherits(FloatingPointDouble, _ValueRepresentation6);
9467
9467
  function FloatingPointDouble() {
9468
- var _this11;
9468
+ var _this1;
9469
9469
  _classCallCheck(this, FloatingPointDouble);
9470
- _this11 = _callSuper(this, FloatingPointDouble, ["FD"]);
9471
- _this11.maxLength = 8;
9472
- _this11.padByte = PADDING_NULL;
9473
- _this11.fixed = true;
9474
- _this11.defaultValue = 0.0;
9475
- return _this11;
9470
+ _this1 = _callSuper(this, FloatingPointDouble, ["FD"]);
9471
+ _this1.maxLength = 8;
9472
+ _this1.padByte = PADDING_NULL;
9473
+ _this1.fixed = true;
9474
+ _this1.defaultValue = 0.0;
9475
+ return _this1;
9476
9476
  }
9477
9477
  _createClass(FloatingPointDouble, [{
9478
9478
  key: "readBytes",
@@ -9495,12 +9495,12 @@ var FloatingPointDouble = /*#__PURE__*/function (_ValueRepresentation6) {
9495
9495
  var IntegerString = /*#__PURE__*/function (_NumericStringReprese2) {
9496
9496
  _inherits(IntegerString, _NumericStringReprese2);
9497
9497
  function IntegerString() {
9498
- var _this12;
9498
+ var _this10;
9499
9499
  _classCallCheck(this, IntegerString);
9500
- _this12 = _callSuper(this, IntegerString, ["IS"]);
9501
- _this12.maxLength = 12;
9502
- _this12.padByte = PADDING_SPACE;
9503
- return _this12;
9500
+ _this10 = _callSuper(this, IntegerString, ["IS"]);
9501
+ _this10.maxLength = 12;
9502
+ _this10.padByte = PADDING_SPACE;
9503
+ return _this10;
9504
9504
  }
9505
9505
  _createClass(IntegerString, [{
9506
9506
  key: "applyFormatting",
@@ -9523,9 +9523,9 @@ var IntegerString = /*#__PURE__*/function (_NumericStringReprese2) {
9523
9523
  }, {
9524
9524
  key: "writeBytes",
9525
9525
  value: function writeBytes(stream, value, writeOptions) {
9526
- var _this13 = this;
9526
+ var _this11 = this;
9527
9527
  var val = Array.isArray(value) ? value.map(function (is) {
9528
- return _this13.convertToString(is);
9528
+ return _this11.convertToString(is);
9529
9529
  }) : [this.convertToString(value)];
9530
9530
  return _get(_getPrototypeOf(IntegerString.prototype), "writeBytes", this).call(this, stream, val, writeOptions);
9531
9531
  }
@@ -9535,12 +9535,12 @@ var IntegerString = /*#__PURE__*/function (_NumericStringReprese2) {
9535
9535
  var LongString = /*#__PURE__*/function (_EncodedStringReprese) {
9536
9536
  _inherits(LongString, _EncodedStringReprese);
9537
9537
  function LongString() {
9538
- var _this14;
9538
+ var _this12;
9539
9539
  _classCallCheck(this, LongString);
9540
- _this14 = _callSuper(this, LongString, ["LO"]);
9541
- _this14.maxCharLength = 64;
9542
- _this14.padByte = PADDING_SPACE;
9543
- return _this14;
9540
+ _this12 = _callSuper(this, LongString, ["LO"]);
9541
+ _this12.maxCharLength = 64;
9542
+ _this12.padByte = PADDING_SPACE;
9543
+ return _this12;
9544
9544
  }
9545
9545
  _createClass(LongString, [{
9546
9546
  key: "readBytes",
@@ -9558,12 +9558,12 @@ var LongString = /*#__PURE__*/function (_EncodedStringReprese) {
9558
9558
  var LongText = /*#__PURE__*/function (_EncodedStringReprese2) {
9559
9559
  _inherits(LongText, _EncodedStringReprese2);
9560
9560
  function LongText() {
9561
- var _this15;
9561
+ var _this13;
9562
9562
  _classCallCheck(this, LongText);
9563
- _this15 = _callSuper(this, LongText, ["LT"]);
9564
- _this15.maxCharLength = 10240;
9565
- _this15.padByte = PADDING_SPACE;
9566
- return _this15;
9563
+ _this13 = _callSuper(this, LongText, ["LT"]);
9564
+ _this13.maxCharLength = 10240;
9565
+ _this13.padByte = PADDING_SPACE;
9566
+ return _this13;
9567
9567
  }
9568
9568
  _createClass(LongText, [{
9569
9569
  key: "readBytes",
@@ -9581,12 +9581,12 @@ var LongText = /*#__PURE__*/function (_EncodedStringReprese2) {
9581
9581
  var PersonName = /*#__PURE__*/function (_EncodedStringReprese3) {
9582
9582
  _inherits(PersonName, _EncodedStringReprese3);
9583
9583
  function PersonName() {
9584
- var _this16;
9584
+ var _this14;
9585
9585
  _classCallCheck(this, PersonName);
9586
- _this16 = _callSuper(this, PersonName, ["PN"]);
9587
- _this16.maxLength = null;
9588
- _this16.padByte = PADDING_SPACE;
9589
- return _this16;
9586
+ _this14 = _callSuper(this, PersonName, ["PN"]);
9587
+ _this14.maxLength = null;
9588
+ _this14.padByte = PADDING_SPACE;
9589
+ return _this14;
9590
9590
  }
9591
9591
  _createClass(PersonName, [{
9592
9592
  key: "addValueAccessors",
@@ -9696,12 +9696,12 @@ var PersonName = /*#__PURE__*/function (_EncodedStringReprese3) {
9696
9696
  var ShortString = /*#__PURE__*/function (_EncodedStringReprese4) {
9697
9697
  _inherits(ShortString, _EncodedStringReprese4);
9698
9698
  function ShortString() {
9699
- var _this17;
9699
+ var _this15;
9700
9700
  _classCallCheck(this, ShortString);
9701
- _this17 = _callSuper(this, ShortString, ["SH"]);
9702
- _this17.maxCharLength = 16;
9703
- _this17.padByte = PADDING_SPACE;
9704
- return _this17;
9701
+ _this15 = _callSuper(this, ShortString, ["SH"]);
9702
+ _this15.maxCharLength = 16;
9703
+ _this15.padByte = PADDING_SPACE;
9704
+ return _this15;
9705
9705
  }
9706
9706
  _createClass(ShortString, [{
9707
9707
  key: "readBytes",
@@ -9719,14 +9719,14 @@ var ShortString = /*#__PURE__*/function (_EncodedStringReprese4) {
9719
9719
  var SignedLong = /*#__PURE__*/function (_ValueRepresentation7) {
9720
9720
  _inherits(SignedLong, _ValueRepresentation7);
9721
9721
  function SignedLong() {
9722
- var _this18;
9722
+ var _this16;
9723
9723
  _classCallCheck(this, SignedLong);
9724
- _this18 = _callSuper(this, SignedLong, ["SL"]);
9725
- _this18.maxLength = 4;
9726
- _this18.padByte = PADDING_NULL;
9727
- _this18.fixed = true;
9728
- _this18.defaultValue = 0;
9729
- return _this18;
9724
+ _this16 = _callSuper(this, SignedLong, ["SL"]);
9725
+ _this16.maxLength = 4;
9726
+ _this16.padByte = PADDING_NULL;
9727
+ _this16.fixed = true;
9728
+ _this16.defaultValue = 0;
9729
+ return _this16;
9730
9730
  }
9731
9731
  _createClass(SignedLong, [{
9732
9732
  key: "readBytes",
@@ -9744,14 +9744,14 @@ var SignedLong = /*#__PURE__*/function (_ValueRepresentation7) {
9744
9744
  var SequenceOfItems = /*#__PURE__*/function (_ValueRepresentation8) {
9745
9745
  _inherits(SequenceOfItems, _ValueRepresentation8);
9746
9746
  function SequenceOfItems() {
9747
- var _this19;
9747
+ var _this17;
9748
9748
  _classCallCheck(this, SequenceOfItems);
9749
- _this19 = _callSuper(this, SequenceOfItems, ["SQ"]);
9750
- _this19.maxLength = null;
9751
- _this19.padByte = PADDING_NULL;
9752
- _this19.noMultiple = true;
9753
- _this19._storeRaw = false;
9754
- return _this19;
9749
+ _this17 = _callSuper(this, SequenceOfItems, ["SQ"]);
9750
+ _this17.maxLength = null;
9751
+ _this17.padByte = PADDING_NULL;
9752
+ _this17.noMultiple = true;
9753
+ _this17._storeRaw = false;
9754
+ return _this17;
9755
9755
  }
9756
9756
  _createClass(SequenceOfItems, [{
9757
9757
  key: "readBytes",
@@ -9872,15 +9872,15 @@ var SequenceOfItems = /*#__PURE__*/function (_ValueRepresentation8) {
9872
9872
  var SignedShort = /*#__PURE__*/function (_ValueRepresentation9) {
9873
9873
  _inherits(SignedShort, _ValueRepresentation9);
9874
9874
  function SignedShort() {
9875
- var _this20;
9875
+ var _this18;
9876
9876
  _classCallCheck(this, SignedShort);
9877
- _this20 = _callSuper(this, SignedShort, ["SS"]);
9878
- _this20.maxLength = 2;
9879
- _this20.valueLength = 2;
9880
- _this20.padByte = PADDING_NULL;
9881
- _this20.fixed = true;
9882
- _this20.defaultValue = 0;
9883
- return _this20;
9877
+ _this18 = _callSuper(this, SignedShort, ["SS"]);
9878
+ _this18.maxLength = 2;
9879
+ _this18.valueLength = 2;
9880
+ _this18.padByte = PADDING_NULL;
9881
+ _this18.fixed = true;
9882
+ _this18.defaultValue = 0;
9883
+ return _this18;
9884
9884
  }
9885
9885
  _createClass(SignedShort, [{
9886
9886
  key: "readBytes",
@@ -9898,12 +9898,12 @@ var SignedShort = /*#__PURE__*/function (_ValueRepresentation9) {
9898
9898
  var ShortText = /*#__PURE__*/function (_EncodedStringReprese5) {
9899
9899
  _inherits(ShortText, _EncodedStringReprese5);
9900
9900
  function ShortText() {
9901
- var _this21;
9901
+ var _this19;
9902
9902
  _classCallCheck(this, ShortText);
9903
- _this21 = _callSuper(this, ShortText, ["ST"]);
9904
- _this21.maxCharLength = 1024;
9905
- _this21.padByte = PADDING_SPACE;
9906
- return _this21;
9903
+ _this19 = _callSuper(this, ShortText, ["ST"]);
9904
+ _this19.maxCharLength = 1024;
9905
+ _this19.padByte = PADDING_SPACE;
9906
+ return _this19;
9907
9907
  }
9908
9908
  _createClass(ShortText, [{
9909
9909
  key: "readBytes",
@@ -9921,13 +9921,13 @@ var ShortText = /*#__PURE__*/function (_EncodedStringReprese5) {
9921
9921
  var TimeValue = /*#__PURE__*/function (_AsciiStringRepresent7) {
9922
9922
  _inherits(TimeValue, _AsciiStringRepresent7);
9923
9923
  function TimeValue() {
9924
- var _this22;
9924
+ var _this20;
9925
9925
  _classCallCheck(this, TimeValue);
9926
- _this22 = _callSuper(this, TimeValue, ["TM"]);
9927
- _this22.maxLength = 16;
9928
- _this22.rangeMatchingMaxLength = 28;
9929
- _this22.padByte = PADDING_SPACE;
9930
- return _this22;
9926
+ _this20 = _callSuper(this, TimeValue, ["TM"]);
9927
+ _this20.maxLength = 16;
9928
+ _this20.rangeMatchingMaxLength = 28;
9929
+ _this20.padByte = PADDING_SPACE;
9930
+ return _this20;
9931
9931
  }
9932
9932
  _createClass(TimeValue, [{
9933
9933
  key: "readBytes",
@@ -9954,13 +9954,13 @@ var TimeValue = /*#__PURE__*/function (_AsciiStringRepresent7) {
9954
9954
  var UnlimitedCharacters = /*#__PURE__*/function (_EncodedStringReprese6) {
9955
9955
  _inherits(UnlimitedCharacters, _EncodedStringReprese6);
9956
9956
  function UnlimitedCharacters() {
9957
- var _this23;
9957
+ var _this21;
9958
9958
  _classCallCheck(this, UnlimitedCharacters);
9959
- _this23 = _callSuper(this, UnlimitedCharacters, ["UC"]);
9960
- _this23.maxLength = null;
9961
- _this23.multi = true;
9962
- _this23.padByte = PADDING_SPACE;
9963
- return _this23;
9959
+ _this21 = _callSuper(this, UnlimitedCharacters, ["UC"]);
9960
+ _this21.maxLength = null;
9961
+ _this21.multi = true;
9962
+ _this21.padByte = PADDING_SPACE;
9963
+ return _this21;
9964
9964
  }
9965
9965
  _createClass(UnlimitedCharacters, [{
9966
9966
  key: "readBytes",
@@ -9978,12 +9978,12 @@ var UnlimitedCharacters = /*#__PURE__*/function (_EncodedStringReprese6) {
9978
9978
  var UnlimitedText = /*#__PURE__*/function (_EncodedStringReprese7) {
9979
9979
  _inherits(UnlimitedText, _EncodedStringReprese7);
9980
9980
  function UnlimitedText() {
9981
- var _this24;
9981
+ var _this22;
9982
9982
  _classCallCheck(this, UnlimitedText);
9983
- _this24 = _callSuper(this, UnlimitedText, ["UT"]);
9984
- _this24.maxLength = null;
9985
- _this24.padByte = PADDING_SPACE;
9986
- return _this24;
9983
+ _this22 = _callSuper(this, UnlimitedText, ["UT"]);
9984
+ _this22.maxLength = null;
9985
+ _this22.padByte = PADDING_SPACE;
9986
+ return _this22;
9987
9987
  }
9988
9988
  _createClass(UnlimitedText, [{
9989
9989
  key: "readBytes",
@@ -9998,17 +9998,17 @@ var UnlimitedText = /*#__PURE__*/function (_EncodedStringReprese7) {
9998
9998
  }]);
9999
9999
  return UnlimitedText;
10000
10000
  }(EncodedStringRepresentation);
10001
- var UnsignedShort = /*#__PURE__*/function (_ValueRepresentation10) {
10002
- _inherits(UnsignedShort, _ValueRepresentation10);
10001
+ var UnsignedShort = /*#__PURE__*/function (_ValueRepresentation0) {
10002
+ _inherits(UnsignedShort, _ValueRepresentation0);
10003
10003
  function UnsignedShort() {
10004
- var _this25;
10004
+ var _this23;
10005
10005
  _classCallCheck(this, UnsignedShort);
10006
- _this25 = _callSuper(this, UnsignedShort, ["US"]);
10007
- _this25.maxLength = 2;
10008
- _this25.padByte = PADDING_NULL;
10009
- _this25.fixed = true;
10010
- _this25.defaultValue = 0;
10011
- return _this25;
10006
+ _this23 = _callSuper(this, UnsignedShort, ["US"]);
10007
+ _this23.maxLength = 2;
10008
+ _this23.padByte = PADDING_NULL;
10009
+ _this23.fixed = true;
10010
+ _this23.defaultValue = 0;
10011
+ return _this23;
10012
10012
  }
10013
10013
  _createClass(UnsignedShort, [{
10014
10014
  key: "readBytes",
@@ -10023,17 +10023,17 @@ var UnsignedShort = /*#__PURE__*/function (_ValueRepresentation10) {
10023
10023
  }]);
10024
10024
  return UnsignedShort;
10025
10025
  }(ValueRepresentation);
10026
- var UnsignedLong = /*#__PURE__*/function (_ValueRepresentation11) {
10027
- _inherits(UnsignedLong, _ValueRepresentation11);
10026
+ var UnsignedLong = /*#__PURE__*/function (_ValueRepresentation1) {
10027
+ _inherits(UnsignedLong, _ValueRepresentation1);
10028
10028
  function UnsignedLong() {
10029
- var _this26;
10029
+ var _this24;
10030
10030
  _classCallCheck(this, UnsignedLong);
10031
- _this26 = _callSuper(this, UnsignedLong, ["UL"]);
10032
- _this26.maxLength = 4;
10033
- _this26.padByte = PADDING_NULL;
10034
- _this26.fixed = true;
10035
- _this26.defaultValue = 0;
10036
- return _this26;
10031
+ _this24 = _callSuper(this, UnsignedLong, ["UL"]);
10032
+ _this24.maxLength = 4;
10033
+ _this24.padByte = PADDING_NULL;
10034
+ _this24.fixed = true;
10035
+ _this24.defaultValue = 0;
10036
+ return _this24;
10037
10037
  }
10038
10038
  _createClass(UnsignedLong, [{
10039
10039
  key: "readBytes",
@@ -10051,12 +10051,12 @@ var UnsignedLong = /*#__PURE__*/function (_ValueRepresentation11) {
10051
10051
  var UniqueIdentifier = /*#__PURE__*/function (_AsciiStringRepresent8) {
10052
10052
  _inherits(UniqueIdentifier, _AsciiStringRepresent8);
10053
10053
  function UniqueIdentifier() {
10054
- var _this27;
10054
+ var _this25;
10055
10055
  _classCallCheck(this, UniqueIdentifier);
10056
- _this27 = _callSuper(this, UniqueIdentifier, ["UI"]);
10057
- _this27.maxLength = 64;
10058
- _this27.padByte = PADDING_NULL;
10059
- return _this27;
10056
+ _this25 = _callSuper(this, UniqueIdentifier, ["UI"]);
10057
+ _this25.maxLength = 64;
10058
+ _this25.padByte = PADDING_NULL;
10059
+ return _this25;
10060
10060
  }
10061
10061
  _createClass(UniqueIdentifier, [{
10062
10062
  key: "readBytes",
@@ -10095,12 +10095,12 @@ var UniqueIdentifier = /*#__PURE__*/function (_AsciiStringRepresent8) {
10095
10095
  var UniversalResource = /*#__PURE__*/function (_AsciiStringRepresent9) {
10096
10096
  _inherits(UniversalResource, _AsciiStringRepresent9);
10097
10097
  function UniversalResource() {
10098
- var _this28;
10098
+ var _this26;
10099
10099
  _classCallCheck(this, UniversalResource);
10100
- _this28 = _callSuper(this, UniversalResource, ["UR"]);
10101
- _this28.maxLength = null;
10102
- _this28.padByte = PADDING_SPACE;
10103
- return _this28;
10100
+ _this26 = _callSuper(this, UniversalResource, ["UR"]);
10101
+ _this26.maxLength = null;
10102
+ _this26.padByte = PADDING_SPACE;
10103
+ return _this26;
10104
10104
  }
10105
10105
  _createClass(UniversalResource, [{
10106
10106
  key: "readBytes",
@@ -10113,30 +10113,30 @@ var UniversalResource = /*#__PURE__*/function (_AsciiStringRepresent9) {
10113
10113
  var UnknownValue = /*#__PURE__*/function (_BinaryRepresentation) {
10114
10114
  _inherits(UnknownValue, _BinaryRepresentation);
10115
10115
  function UnknownValue() {
10116
- var _this29;
10116
+ var _this27;
10117
10117
  _classCallCheck(this, UnknownValue);
10118
- _this29 = _callSuper(this, UnknownValue, ["UN"]);
10119
- _this29.maxLength = null;
10120
- _this29.padByte = PADDING_NULL;
10121
- _this29.noMultiple = true;
10122
- return _this29;
10118
+ _this27 = _callSuper(this, UnknownValue, ["UN"]);
10119
+ _this27.maxLength = null;
10120
+ _this27.padByte = PADDING_NULL;
10121
+ _this27.noMultiple = true;
10122
+ return _this27;
10123
10123
  }
10124
10124
  return _createClass(UnknownValue);
10125
10125
  }(BinaryRepresentation);
10126
10126
  var ParsedUnknownValue = /*#__PURE__*/function (_BinaryRepresentation2) {
10127
10127
  _inherits(ParsedUnknownValue, _BinaryRepresentation2);
10128
10128
  function ParsedUnknownValue(vr) {
10129
- var _this30;
10129
+ var _this28;
10130
10130
  _classCallCheck(this, ParsedUnknownValue);
10131
- _this30 = _callSuper(this, ParsedUnknownValue, [vr]);
10132
- _this30.maxLength = null;
10133
- _this30.padByte = 0;
10134
- _this30.noMultiple = true;
10135
- _this30._isBinary = true;
10136
- _this30._allowMultiple = false;
10137
- _this30._isExplicit = true;
10138
- _this30._storeRaw = true;
10139
- return _this30;
10131
+ _this28 = _callSuper(this, ParsedUnknownValue, [vr]);
10132
+ _this28.maxLength = null;
10133
+ _this28.padByte = 0;
10134
+ _this28.noMultiple = true;
10135
+ _this28._isBinary = true;
10136
+ _this28._allowMultiple = false;
10137
+ _this28._isExplicit = true;
10138
+ _this28._storeRaw = true;
10139
+ return _this28;
10140
10140
  }
10141
10141
  _createClass(ParsedUnknownValue, [{
10142
10142
  key: "read",
@@ -10170,52 +10170,52 @@ var ParsedUnknownValue = /*#__PURE__*/function (_BinaryRepresentation2) {
10170
10170
  var OtherWordString = /*#__PURE__*/function (_BinaryRepresentation3) {
10171
10171
  _inherits(OtherWordString, _BinaryRepresentation3);
10172
10172
  function OtherWordString() {
10173
- var _this31;
10173
+ var _this29;
10174
10174
  _classCallCheck(this, OtherWordString);
10175
- _this31 = _callSuper(this, OtherWordString, ["OW"]);
10176
- _this31.maxLength = null;
10177
- _this31.padByte = PADDING_NULL;
10178
- _this31.noMultiple = true;
10179
- return _this31;
10175
+ _this29 = _callSuper(this, OtherWordString, ["OW"]);
10176
+ _this29.maxLength = null;
10177
+ _this29.padByte = PADDING_NULL;
10178
+ _this29.noMultiple = true;
10179
+ return _this29;
10180
10180
  }
10181
10181
  return _createClass(OtherWordString);
10182
10182
  }(BinaryRepresentation);
10183
10183
  var OtherByteString = /*#__PURE__*/function (_BinaryRepresentation4) {
10184
10184
  _inherits(OtherByteString, _BinaryRepresentation4);
10185
10185
  function OtherByteString() {
10186
- var _this32;
10186
+ var _this30;
10187
10187
  _classCallCheck(this, OtherByteString);
10188
- _this32 = _callSuper(this, OtherByteString, ["OB"]);
10189
- _this32.maxLength = null;
10190
- _this32.padByte = PADDING_NULL;
10191
- _this32.noMultiple = true;
10192
- return _this32;
10188
+ _this30 = _callSuper(this, OtherByteString, ["OB"]);
10189
+ _this30.maxLength = null;
10190
+ _this30.padByte = PADDING_NULL;
10191
+ _this30.noMultiple = true;
10192
+ return _this30;
10193
10193
  }
10194
10194
  return _createClass(OtherByteString);
10195
10195
  }(BinaryRepresentation);
10196
10196
  var OtherDoubleString = /*#__PURE__*/function (_BinaryRepresentation5) {
10197
10197
  _inherits(OtherDoubleString, _BinaryRepresentation5);
10198
10198
  function OtherDoubleString() {
10199
- var _this33;
10199
+ var _this31;
10200
10200
  _classCallCheck(this, OtherDoubleString);
10201
- _this33 = _callSuper(this, OtherDoubleString, ["OD"]);
10202
- _this33.maxLength = null;
10203
- _this33.padByte = PADDING_NULL;
10204
- _this33.noMultiple = true;
10205
- return _this33;
10201
+ _this31 = _callSuper(this, OtherDoubleString, ["OD"]);
10202
+ _this31.maxLength = null;
10203
+ _this31.padByte = PADDING_NULL;
10204
+ _this31.noMultiple = true;
10205
+ return _this31;
10206
10206
  }
10207
10207
  return _createClass(OtherDoubleString);
10208
10208
  }(BinaryRepresentation);
10209
10209
  var OtherFloatString = /*#__PURE__*/function (_BinaryRepresentation6) {
10210
10210
  _inherits(OtherFloatString, _BinaryRepresentation6);
10211
10211
  function OtherFloatString() {
10212
- var _this34;
10212
+ var _this32;
10213
10213
  _classCallCheck(this, OtherFloatString);
10214
- _this34 = _callSuper(this, OtherFloatString, ["OF"]);
10215
- _this34.maxLength = null;
10216
- _this34.padByte = PADDING_NULL;
10217
- _this34.noMultiple = true;
10218
- return _this34;
10214
+ _this32 = _callSuper(this, OtherFloatString, ["OF"]);
10215
+ _this32.maxLength = null;
10216
+ _this32.padByte = PADDING_NULL;
10217
+ _this32.noMultiple = true;
10218
+ return _this32;
10219
10219
  }
10220
10220
  return _createClass(OtherFloatString);
10221
10221
  }(BinaryRepresentation); // these VR instances are precreate and are reused for each requested vr/tag
@@ -11833,8 +11833,8 @@ var OPImageNormalizer = /*#__PURE__*/function (_Normalizer3) {
11833
11833
  }]);
11834
11834
  return OPImageNormalizer;
11835
11835
  }(Normalizer);
11836
- var OCTImageNormalizer = /*#__PURE__*/function (_ImageNormalizer10) {
11837
- _inherits(OCTImageNormalizer, _ImageNormalizer10);
11836
+ var OCTImageNormalizer = /*#__PURE__*/function (_ImageNormalizer0) {
11837
+ _inherits(OCTImageNormalizer, _ImageNormalizer0);
11838
11838
  function OCTImageNormalizer() {
11839
11839
  _classCallCheck(this, OCTImageNormalizer);
11840
11840
  return _callSuper(this, OCTImageNormalizer, arguments);
@@ -17084,7 +17084,7 @@ function generateToolState$1(imageIds, arrayBuffer, metadataProvider) {
17084
17084
  var SeriesInstanceUID = generalSeriesModule.seriesInstanceUID;
17085
17085
  var ImageOrientationPatient;
17086
17086
  var validOrientations;
17087
- var hasCoordinateSystem = ("FrameOfReferenceUID" in multiframe);
17087
+ var hasCoordinateSystem = "FrameOfReferenceUID" in multiframe;
17088
17088
  if (hasCoordinateSystem) {
17089
17089
  if (!imagePlaneModule) {
17090
17090
  console.warn("Insufficient metadata, imagePlaneModule missing.");
@@ -17287,7 +17287,7 @@ function checkSEGsOverlapping(pixelData, multiframe, imageIds, validOrientations
17287
17287
  var PerFrameFunctionalGroups = PerFrameFunctionalGroupsSequence[_frameSegment];
17288
17288
  var pixelDataI2D = ndarray$1(new Uint8Array(pixelData.buffer, _frameSegment * sliceLength, sliceLength), [Rows, Columns]);
17289
17289
  var alignedPixelDataI = void 0;
17290
- var hasCoordinateSystem = ("FrameOfReferenceUID" in multiframe);
17290
+ var hasCoordinateSystem = "FrameOfReferenceUID" in multiframe;
17291
17291
  if (hasCoordinateSystem) {
17292
17292
  var ImageOrientationPatientI = sharedImageOrientationPatient || PerFrameFunctionalGroups.PlaneOrientationSequence.ImageOrientationPatient;
17293
17293
  alignedPixelDataI = alignPixelDataWithSourceData(pixelDataI2D, ImageOrientationPatientI, validOrientations, tolerance);
@@ -17358,7 +17358,7 @@ function insertOverlappingPixelDataPlanar(segmentsOnFrame, segmentsOnFrameArray,
17358
17358
  }
17359
17359
  var pixelDataI2D = ndarray$1(new Uint8Array(pixelData.buffer, _i2 * sliceLength, sliceLength), [Rows, Columns]);
17360
17360
  var alignedPixelDataI;
17361
- var hasCoordinateSystem = ("FrameOfReferenceUID" in multiframe);
17361
+ var hasCoordinateSystem = "FrameOfReferenceUID" in multiframe;
17362
17362
  if (hasCoordinateSystem) {
17363
17363
  var ImageOrientationPatientI = sharedImageOrientationPatient || PerFrameFunctionalGroups.PlaneOrientationSequence.ImageOrientationPatient;
17364
17364
  alignedPixelDataI = alignPixelDataWithSourceData(pixelDataI2D, ImageOrientationPatientI, validOrientations, tolerance);
@@ -17448,7 +17448,7 @@ function insertPixelDataPlanar(segmentsOnFrame, segmentsOnFrameArray, labelmapBu
17448
17448
  var PerFrameFunctionalGroups = PerFrameFunctionalGroupsSequence[i];
17449
17449
  var pixelDataI2D = ndarray$1(new Uint8Array(pixelData.buffer, i * sliceLength, sliceLength), [Rows, Columns]);
17450
17450
  var alignedPixelDataI;
17451
- var hasCoordinateSystem = ("FrameOfReferenceUID" in multiframe);
17451
+ var hasCoordinateSystem = "FrameOfReferenceUID" in multiframe;
17452
17452
  if (hasCoordinateSystem) {
17453
17453
  var ImageOrientationPatientI = sharedImageOrientationPatient || PerFrameFunctionalGroups.PlaneOrientationSequence.ImageOrientationPatient;
17454
17454
  alignedPixelDataI = alignPixelDataWithSourceData(pixelDataI2D, ImageOrientationPatientI, validOrientations, tolerance);
@@ -21308,7 +21308,7 @@ var ContentSequence = /*#__PURE__*/function (_Array) {
21308
21308
  // filterBy(options) {
21309
21309
  // }
21310
21310
  return _createClass(ContentSequence);
21311
- }( /*#__PURE__*/_wrapNativeSuper(Array));
21311
+ }(/*#__PURE__*/_wrapNativeSuper(Array));
21312
21312
  var ContentItem = /*#__PURE__*/_createClass(function ContentItem(options) {
21313
21313
  _classCallCheck(this, ContentItem);
21314
21314
  if (options.name === undefined) {
@@ -21553,12 +21553,12 @@ var ContainerContentItem = /*#__PURE__*/function (_ContentItem9) {
21553
21553
  }
21554
21554
  return _createClass(ContainerContentItem);
21555
21555
  }(ContentItem);
21556
- var CompositeContentItem = /*#__PURE__*/function (_ContentItem10) {
21557
- _inherits(CompositeContentItem, _ContentItem10);
21556
+ var CompositeContentItem = /*#__PURE__*/function (_ContentItem0) {
21557
+ _inherits(CompositeContentItem, _ContentItem0);
21558
21558
  function CompositeContentItem(options) {
21559
- var _this10;
21559
+ var _this0;
21560
21560
  _classCallCheck(this, CompositeContentItem);
21561
- _this10 = _callSuper(this, CompositeContentItem, [{
21561
+ _this0 = _callSuper(this, CompositeContentItem, [{
21562
21562
  name: options.name,
21563
21563
  relationshipType: options.relationshipType,
21564
21564
  valueType: ValueTypes.COMPOSITE
@@ -21578,17 +21578,17 @@ var CompositeContentItem = /*#__PURE__*/function (_ContentItem10) {
21578
21578
  var item = {};
21579
21579
  item.ReferencedSOPClassUID = options.referencedSOPClassUID;
21580
21580
  item.ReferencedSOPInstanceUID = options.referencedSOPInstanceUID;
21581
- _this10.ReferenceSOPSequence = [item];
21582
- return _this10;
21581
+ _this0.ReferenceSOPSequence = [item];
21582
+ return _this0;
21583
21583
  }
21584
21584
  return _createClass(CompositeContentItem);
21585
21585
  }(ContentItem);
21586
- var ImageContentItem = /*#__PURE__*/function (_ContentItem11) {
21587
- _inherits(ImageContentItem, _ContentItem11);
21586
+ var ImageContentItem = /*#__PURE__*/function (_ContentItem1) {
21587
+ _inherits(ImageContentItem, _ContentItem1);
21588
21588
  function ImageContentItem(options) {
21589
- var _this11;
21589
+ var _this1;
21590
21590
  _classCallCheck(this, ImageContentItem);
21591
- _this11 = _callSuper(this, ImageContentItem, [{
21591
+ _this1 = _callSuper(this, ImageContentItem, [{
21592
21592
  name: options.name,
21593
21593
  relationshipType: options.relationshipType,
21594
21594
  valueType: ValueTypes.IMAGE
@@ -21622,17 +21622,17 @@ var ImageContentItem = /*#__PURE__*/function (_ContentItem11) {
21622
21622
  // FIXME: value multiplicity
21623
21623
  item.ReferencedSegmentNumber = options.referencedSegmentNumbers;
21624
21624
  }
21625
- _this11.ReferencedSOPSequence = [item];
21626
- return _this11;
21625
+ _this1.ReferencedSOPSequence = [item];
21626
+ return _this1;
21627
21627
  }
21628
21628
  return _createClass(ImageContentItem);
21629
21629
  }(ContentItem);
21630
- var ScoordContentItem = /*#__PURE__*/function (_ContentItem12) {
21631
- _inherits(ScoordContentItem, _ContentItem12);
21630
+ var ScoordContentItem = /*#__PURE__*/function (_ContentItem10) {
21631
+ _inherits(ScoordContentItem, _ContentItem10);
21632
21632
  function ScoordContentItem(options) {
21633
- var _this12;
21633
+ var _this10;
21634
21634
  _classCallCheck(this, ScoordContentItem);
21635
- _this12 = _callSuper(this, ScoordContentItem, [{
21635
+ _this10 = _callSuper(this, ScoordContentItem, [{
21636
21636
  name: options.name,
21637
21637
  relationshipType: options.relationshipType,
21638
21638
  valueType: ValueTypes.SCOORD
@@ -21655,7 +21655,7 @@ var ScoordContentItem = /*#__PURE__*/function (_ContentItem12) {
21655
21655
  if (options.graphicData[0] instanceof Array) {
21656
21656
  options.graphicData = [].concat.apply([], options.graphicData);
21657
21657
  }
21658
- _this12.GraphicData = options.graphicData;
21658
+ _this10.GraphicData = options.graphicData;
21659
21659
  options.pixelOriginInterpretation = options.pixelOriginInterpretation || PixelOriginInterpretations.VOLUME;
21660
21660
  if (!(typeof options.pixelOriginInterpretation === "string" || options.pixelOriginInterpretation instanceof String)) {
21661
21661
  throw new Error("Option 'pixelOriginInterpretation' must have type String.");
@@ -21667,18 +21667,18 @@ var ScoordContentItem = /*#__PURE__*/function (_ContentItem12) {
21667
21667
  if (!(typeof options.fiducialUID === "string" || options.fiducialUID instanceof String)) {
21668
21668
  throw new Error("Option 'fiducialUID' must have type String.");
21669
21669
  }
21670
- _this12.FiducialUID = options.fiducialUID;
21670
+ _this10.FiducialUID = options.fiducialUID;
21671
21671
  }
21672
- return _this12;
21672
+ return _this10;
21673
21673
  }
21674
21674
  return _createClass(ScoordContentItem);
21675
21675
  }(ContentItem);
21676
- var Scoord3DContentItem = /*#__PURE__*/function (_ContentItem13) {
21677
- _inherits(Scoord3DContentItem, _ContentItem13);
21676
+ var Scoord3DContentItem = /*#__PURE__*/function (_ContentItem11) {
21677
+ _inherits(Scoord3DContentItem, _ContentItem11);
21678
21678
  function Scoord3DContentItem(options) {
21679
- var _this13;
21679
+ var _this11;
21680
21680
  _classCallCheck(this, Scoord3DContentItem);
21681
- _this13 = _callSuper(this, Scoord3DContentItem, [{
21681
+ _this11 = _callSuper(this, Scoord3DContentItem, [{
21682
21682
  name: options.name,
21683
21683
  relationshipType: options.relationshipType,
21684
21684
  valueType: ValueTypes.SCOORD3D
@@ -21701,31 +21701,31 @@ var Scoord3DContentItem = /*#__PURE__*/function (_ContentItem13) {
21701
21701
  if (options.graphicData[0] instanceof Array) {
21702
21702
  options.graphicData = [].concat.apply([], options.graphicData);
21703
21703
  }
21704
- _this13.GraphicType = options.graphicType;
21705
- _this13.GraphicData = options.graphicData;
21704
+ _this11.GraphicType = options.graphicType;
21705
+ _this11.GraphicData = options.graphicData;
21706
21706
  if (options.frameOfReferenceUID === undefined) {
21707
21707
  throw new Error("Option 'frameOfReferenceUID' is required for Scoord3DContentItem.");
21708
21708
  }
21709
21709
  if (!(typeof options.frameOfReferenceUID === "string" || options.frameOfReferenceUID instanceof String)) {
21710
21710
  throw new Error("Option 'frameOfReferenceUID' must have type String.");
21711
21711
  }
21712
- _this13.ReferencedFrameOfReferenceUID = options.frameOfReferenceUID;
21712
+ _this11.ReferencedFrameOfReferenceUID = options.frameOfReferenceUID;
21713
21713
  if ("fiducialUID" in options) {
21714
21714
  if (!(typeof options.fiducialUID === "string" || options.fiducialUID instanceof String)) {
21715
21715
  throw new Error("Option 'fiducialUID' must have type String.");
21716
21716
  }
21717
- _this13.FiducialUID = options.fiducialUID;
21717
+ _this11.FiducialUID = options.fiducialUID;
21718
21718
  }
21719
- return _this13;
21719
+ return _this11;
21720
21720
  }
21721
21721
  return _createClass(Scoord3DContentItem);
21722
21722
  }(ContentItem);
21723
- var TcoordContentItem = /*#__PURE__*/function (_ContentItem14) {
21724
- _inherits(TcoordContentItem, _ContentItem14);
21723
+ var TcoordContentItem = /*#__PURE__*/function (_ContentItem12) {
21724
+ _inherits(TcoordContentItem, _ContentItem12);
21725
21725
  function TcoordContentItem(options) {
21726
- var _this14;
21726
+ var _this12;
21727
21727
  _classCallCheck(this, TcoordContentItem);
21728
- _this14 = _callSuper(this, TcoordContentItem, [{
21728
+ _this12 = _callSuper(this, TcoordContentItem, [{
21729
21729
  name: options.name,
21730
21730
  relationshipType: options.relationshipType,
21731
21731
  valueType: ValueTypes.TCOORD
@@ -21741,22 +21741,22 @@ var TcoordContentItem = /*#__PURE__*/function (_ContentItem14) {
21741
21741
  throw new Error("Option 'referencedSamplePositions' must have type Array.");
21742
21742
  }
21743
21743
  // TODO: ensure values are integers
21744
- _this14.ReferencedSamplePositions = options.referencedSamplePositions;
21744
+ _this12.ReferencedSamplePositions = options.referencedSamplePositions;
21745
21745
  } else if (options.referencedTimeOffsets === undefined) {
21746
21746
  if (!(_typeof(options.referencedTimeOffsets) === "object" || options.referencedTimeOffsets instanceof Array)) {
21747
21747
  throw new Error("Option 'referencedTimeOffsets' must have type Array.");
21748
21748
  }
21749
21749
  // TODO: ensure values are floats
21750
- _this14.ReferencedTimeOffsets = options.referencedTimeOffsets;
21750
+ _this12.ReferencedTimeOffsets = options.referencedTimeOffsets;
21751
21751
  } else if (options.referencedDateTime === undefined) {
21752
21752
  if (!(_typeof(options.referencedDateTime) === "object" || options.referencedDateTime instanceof Array)) {
21753
21753
  throw new Error("Option 'referencedDateTime' must have type Array.");
21754
21754
  }
21755
- _this14.ReferencedDateTime = options.referencedDateTime;
21755
+ _this12.ReferencedDateTime = options.referencedDateTime;
21756
21756
  } else {
21757
21757
  throw new Error("One of the following options is required for TcoordContentItem: " + "'referencedSamplePositions', 'referencedTimeOffsets', or " + "'referencedDateTime'.");
21758
21758
  }
21759
- return _this14;
21759
+ return _this12;
21760
21760
  }
21761
21761
  return _createClass(TcoordContentItem);
21762
21762
  }(ContentItem);
@@ -22445,11 +22445,11 @@ var ObservationContext = /*#__PURE__*/function (_Template5) {
22445
22445
  (_this9 = _this7).push.apply(_this9, _toConsumableArray(options.observerDeviceContext));
22446
22446
  }
22447
22447
  if (options.subjectContext !== undefined) {
22448
- var _this10;
22448
+ var _this0;
22449
22449
  if (options.subjectContext.constructor !== SubjectContext) {
22450
22450
  throw new Error("Option 'subjectContext' must have type SubjectContext");
22451
22451
  }
22452
- (_this10 = _this7).push.apply(_this10, _toConsumableArray(options.subjectContext));
22452
+ (_this0 = _this7).push.apply(_this0, _toConsumableArray(options.subjectContext));
22453
22453
  }
22454
22454
  return _this7;
22455
22455
  }
@@ -22458,10 +22458,10 @@ var ObservationContext = /*#__PURE__*/function (_Template5) {
22458
22458
  var ObserverContext = /*#__PURE__*/function (_Template6) {
22459
22459
  _inherits(ObserverContext, _Template6);
22460
22460
  function ObserverContext(options) {
22461
- var _this12;
22462
- var _this11;
22461
+ var _this10;
22462
+ var _this1;
22463
22463
  _classCallCheck(this, ObserverContext);
22464
- _this11 = _callSuper(this, ObserverContext);
22464
+ _this1 = _callSuper(this, ObserverContext);
22465
22465
  if (options.observerType === undefined) {
22466
22466
  throw new Error("Option 'observerType' is required for ObserverContext.");
22467
22467
  } else {
@@ -22478,7 +22478,7 @@ var ObserverContext = /*#__PURE__*/function (_Template6) {
22478
22478
  value: options.observerType,
22479
22479
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22480
22480
  });
22481
- _this11.push(observerTypeItem);
22481
+ _this1.push(observerTypeItem);
22482
22482
  if (options.observerIdentifyingAttributes === undefined) {
22483
22483
  throw new Error("Option 'observerIdentifyingAttributes' is required for ObserverContext.");
22484
22484
  }
@@ -22504,17 +22504,17 @@ var ObserverContext = /*#__PURE__*/function (_Template6) {
22504
22504
  } else {
22505
22505
  throw new Error("Option 'oberverType' must be either 'Person' or 'Device'.");
22506
22506
  }
22507
- (_this12 = _this11).push.apply(_this12, _toConsumableArray(options.observerIdentifyingAttributes));
22508
- return _this11;
22507
+ (_this10 = _this1).push.apply(_this10, _toConsumableArray(options.observerIdentifyingAttributes));
22508
+ return _this1;
22509
22509
  }
22510
22510
  return _createClass(ObserverContext);
22511
22511
  }(Template);
22512
22512
  var PersonObserverIdentifyingAttributes = /*#__PURE__*/function (_Template7) {
22513
22513
  _inherits(PersonObserverIdentifyingAttributes, _Template7);
22514
22514
  function PersonObserverIdentifyingAttributes(options) {
22515
- var _this13;
22515
+ var _this11;
22516
22516
  _classCallCheck(this, PersonObserverIdentifyingAttributes);
22517
- _this13 = _callSuper(this, PersonObserverIdentifyingAttributes);
22517
+ _this11 = _callSuper(this, PersonObserverIdentifyingAttributes);
22518
22518
  if (options.name === undefined) {
22519
22519
  throw new Error("Option 'name' is required for PersonObserverIdentifyingAttributes.");
22520
22520
  }
@@ -22527,7 +22527,7 @@ var PersonObserverIdentifyingAttributes = /*#__PURE__*/function (_Template7) {
22527
22527
  value: options.name,
22528
22528
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22529
22529
  });
22530
- _this13.push(nameItem);
22530
+ _this11.push(nameItem);
22531
22531
  if (options.loginName !== undefined) {
22532
22532
  var loginNameItem = new TextContentItem({
22533
22533
  name: new CodedConcept({
@@ -22538,7 +22538,7 @@ var PersonObserverIdentifyingAttributes = /*#__PURE__*/function (_Template7) {
22538
22538
  value: options.loginName,
22539
22539
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22540
22540
  });
22541
- _this13.push(loginNameItem);
22541
+ _this11.push(loginNameItem);
22542
22542
  }
22543
22543
  if (options.organizationName !== undefined) {
22544
22544
  var organizationNameItem = new TextContentItem({
@@ -22550,7 +22550,7 @@ var PersonObserverIdentifyingAttributes = /*#__PURE__*/function (_Template7) {
22550
22550
  value: options.organizationName,
22551
22551
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22552
22552
  });
22553
- _this13.push(organizationNameItem);
22553
+ _this11.push(organizationNameItem);
22554
22554
  }
22555
22555
  if (options.roleInOrganization !== undefined) {
22556
22556
  var roleInOrganizationItem = new CodeContentItem({
@@ -22562,7 +22562,7 @@ var PersonObserverIdentifyingAttributes = /*#__PURE__*/function (_Template7) {
22562
22562
  value: options.roleInOrganization,
22563
22563
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22564
22564
  });
22565
- _this13.push(roleInOrganizationItem);
22565
+ _this11.push(roleInOrganizationItem);
22566
22566
  }
22567
22567
  if (options.roleInProcedure !== undefined) {
22568
22568
  var roleInProcedureItem = new CodeContentItem({
@@ -22574,18 +22574,18 @@ var PersonObserverIdentifyingAttributes = /*#__PURE__*/function (_Template7) {
22574
22574
  value: options.roleInProcedure,
22575
22575
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22576
22576
  });
22577
- _this13.push(roleInProcedureItem);
22577
+ _this11.push(roleInProcedureItem);
22578
22578
  }
22579
- return _this13;
22579
+ return _this11;
22580
22580
  }
22581
22581
  return _createClass(PersonObserverIdentifyingAttributes);
22582
22582
  }(Template);
22583
22583
  var DeviceObserverIdentifyingAttributes = /*#__PURE__*/function (_Template8) {
22584
22584
  _inherits(DeviceObserverIdentifyingAttributes, _Template8);
22585
22585
  function DeviceObserverIdentifyingAttributes(options) {
22586
- var _this14;
22586
+ var _this12;
22587
22587
  _classCallCheck(this, DeviceObserverIdentifyingAttributes);
22588
- _this14 = _callSuper(this, DeviceObserverIdentifyingAttributes);
22588
+ _this12 = _callSuper(this, DeviceObserverIdentifyingAttributes);
22589
22589
  if (options.uid === undefined) {
22590
22590
  throw new Error("Option 'uid' is required for DeviceObserverIdentifyingAttributes.");
22591
22591
  }
@@ -22598,7 +22598,7 @@ var DeviceObserverIdentifyingAttributes = /*#__PURE__*/function (_Template8) {
22598
22598
  value: options.uid,
22599
22599
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22600
22600
  });
22601
- _this14.push(deviceObserverItem);
22601
+ _this12.push(deviceObserverItem);
22602
22602
  if (options.manufacturerName !== undefined) {
22603
22603
  var manufacturerNameItem = new TextContentItem({
22604
22604
  name: new CodedConcept({
@@ -22609,7 +22609,7 @@ var DeviceObserverIdentifyingAttributes = /*#__PURE__*/function (_Template8) {
22609
22609
  value: options.manufacturerName,
22610
22610
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22611
22611
  });
22612
- _this14.push(manufacturerNameItem);
22612
+ _this12.push(manufacturerNameItem);
22613
22613
  }
22614
22614
  if (options.modelName !== undefined) {
22615
22615
  var modelNameItem = new TextContentItem({
@@ -22621,7 +22621,7 @@ var DeviceObserverIdentifyingAttributes = /*#__PURE__*/function (_Template8) {
22621
22621
  value: options.modelName,
22622
22622
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22623
22623
  });
22624
- _this14.push(modelNameItem);
22624
+ _this12.push(modelNameItem);
22625
22625
  }
22626
22626
  if (options.serialNumber !== undefined) {
22627
22627
  var serialNumberItem = new TextContentItem({
@@ -22633,7 +22633,7 @@ var DeviceObserverIdentifyingAttributes = /*#__PURE__*/function (_Template8) {
22633
22633
  value: options.serialNumber,
22634
22634
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22635
22635
  });
22636
- _this14.push(serialNumberItem);
22636
+ _this12.push(serialNumberItem);
22637
22637
  }
22638
22638
  if (options.physicalLocation !== undefined) {
22639
22639
  var physicalLocationItem = new TextContentItem({
@@ -22645,7 +22645,7 @@ var DeviceObserverIdentifyingAttributes = /*#__PURE__*/function (_Template8) {
22645
22645
  value: options.physicalLocation,
22646
22646
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22647
22647
  });
22648
- _this14.push(physicalLocationItem);
22648
+ _this12.push(physicalLocationItem);
22649
22649
  }
22650
22650
  if (options.roleInProcedure !== undefined) {
22651
22651
  var roleInProcedureItem = new CodeContentItem({
@@ -22657,19 +22657,19 @@ var DeviceObserverIdentifyingAttributes = /*#__PURE__*/function (_Template8) {
22657
22657
  value: options.roleInProcedure,
22658
22658
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22659
22659
  });
22660
- _this14.push(roleInProcedureItem);
22660
+ _this12.push(roleInProcedureItem);
22661
22661
  }
22662
- return _this14;
22662
+ return _this12;
22663
22663
  }
22664
22664
  return _createClass(DeviceObserverIdentifyingAttributes);
22665
22665
  }(Template);
22666
22666
  var SubjectContext = /*#__PURE__*/function (_Template9) {
22667
22667
  _inherits(SubjectContext, _Template9);
22668
22668
  function SubjectContext(options) {
22669
- var _this16;
22670
- var _this15;
22669
+ var _this14;
22670
+ var _this13;
22671
22671
  _classCallCheck(this, SubjectContext);
22672
- _this15 = _callSuper(this, SubjectContext);
22672
+ _this13 = _callSuper(this, SubjectContext);
22673
22673
  if (options.subjectClass === undefined) {
22674
22674
  throw new Error("Option 'subjectClass' is required for SubjectContext.");
22675
22675
  }
@@ -22685,7 +22685,7 @@ var SubjectContext = /*#__PURE__*/function (_Template9) {
22685
22685
  value: options.subjectClass,
22686
22686
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22687
22687
  });
22688
- _this15.push(subjectClassItem);
22688
+ _this13.push(subjectClassItem);
22689
22689
  var fetus = new CodedConcept({
22690
22690
  value: "121026 ",
22691
22691
  schemeDesignator: "DCM",
@@ -22716,17 +22716,17 @@ var SubjectContext = /*#__PURE__*/function (_Template9) {
22716
22716
  } else {
22717
22717
  throw new Error("Option 'subjectClass' must be either 'Fetus', 'Specimen', or 'Device'.");
22718
22718
  }
22719
- (_this16 = _this15).push.apply(_this16, _toConsumableArray(options.subjectClassSpecificContext));
22720
- return _this15;
22719
+ (_this14 = _this13).push.apply(_this14, _toConsumableArray(options.subjectClassSpecificContext));
22720
+ return _this13;
22721
22721
  }
22722
22722
  return _createClass(SubjectContext);
22723
22723
  }(Template);
22724
- var SubjectContextFetus = /*#__PURE__*/function (_Template10) {
22725
- _inherits(SubjectContextFetus, _Template10);
22724
+ var SubjectContextFetus = /*#__PURE__*/function (_Template0) {
22725
+ _inherits(SubjectContextFetus, _Template0);
22726
22726
  function SubjectContextFetus(options) {
22727
- var _this17;
22727
+ var _this15;
22728
22728
  _classCallCheck(this, SubjectContextFetus);
22729
- _this17 = _callSuper(this, SubjectContextFetus);
22729
+ _this15 = _callSuper(this, SubjectContextFetus);
22730
22730
  if (options.subjectID === undefined) {
22731
22731
  throw new Error("Option 'subjectID' is required for SubjectContextFetus.");
22732
22732
  }
@@ -22739,17 +22739,17 @@ var SubjectContextFetus = /*#__PURE__*/function (_Template10) {
22739
22739
  value: options.subjectID,
22740
22740
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22741
22741
  });
22742
- _this17.push(subjectIdItem);
22743
- return _this17;
22742
+ _this15.push(subjectIdItem);
22743
+ return _this15;
22744
22744
  }
22745
22745
  return _createClass(SubjectContextFetus);
22746
22746
  }(Template);
22747
- var SubjectContextSpecimen = /*#__PURE__*/function (_Template11) {
22748
- _inherits(SubjectContextSpecimen, _Template11);
22747
+ var SubjectContextSpecimen = /*#__PURE__*/function (_Template1) {
22748
+ _inherits(SubjectContextSpecimen, _Template1);
22749
22749
  function SubjectContextSpecimen(options) {
22750
- var _this18;
22750
+ var _this16;
22751
22751
  _classCallCheck(this, SubjectContextSpecimen);
22752
- _this18 = _callSuper(this, SubjectContextSpecimen);
22752
+ _this16 = _callSuper(this, SubjectContextSpecimen);
22753
22753
  if (options.uid === undefined) {
22754
22754
  throw new Error("Option 'uid' is required for SubjectContextSpecimen.");
22755
22755
  }
@@ -22762,7 +22762,7 @@ var SubjectContextSpecimen = /*#__PURE__*/function (_Template11) {
22762
22762
  value: options.uid,
22763
22763
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22764
22764
  });
22765
- _this18.push(specimenUidItem);
22765
+ _this16.push(specimenUidItem);
22766
22766
  if (options.identifier !== undefined) {
22767
22767
  var specimenIdentifierItem = new TextContentItem({
22768
22768
  name: new CodedConcept({
@@ -22773,7 +22773,7 @@ var SubjectContextSpecimen = /*#__PURE__*/function (_Template11) {
22773
22773
  value: options.identifier,
22774
22774
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22775
22775
  });
22776
- _this18.push(specimenIdentifierItem);
22776
+ _this16.push(specimenIdentifierItem);
22777
22777
  }
22778
22778
  if (options.containerIdentifier !== undefined) {
22779
22779
  var containerIdentifierItem = new TextContentItem({
@@ -22785,7 +22785,7 @@ var SubjectContextSpecimen = /*#__PURE__*/function (_Template11) {
22785
22785
  value: options.containerIdentifier,
22786
22786
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22787
22787
  });
22788
- _this18.push(containerIdentifierItem);
22788
+ _this16.push(containerIdentifierItem);
22789
22789
  }
22790
22790
  if (options.specimenType !== undefined) {
22791
22791
  var specimenTypeItem = new CodeContentItem({
@@ -22797,18 +22797,18 @@ var SubjectContextSpecimen = /*#__PURE__*/function (_Template11) {
22797
22797
  value: options.specimenType,
22798
22798
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22799
22799
  });
22800
- _this18.push(specimenTypeItem);
22800
+ _this16.push(specimenTypeItem);
22801
22801
  }
22802
- return _this18;
22802
+ return _this16;
22803
22803
  }
22804
22804
  return _createClass(SubjectContextSpecimen);
22805
22805
  }(Template);
22806
- var SubjectContextDevice = /*#__PURE__*/function (_Template12) {
22807
- _inherits(SubjectContextDevice, _Template12);
22806
+ var SubjectContextDevice = /*#__PURE__*/function (_Template10) {
22807
+ _inherits(SubjectContextDevice, _Template10);
22808
22808
  function SubjectContextDevice(options) {
22809
- var _this19;
22809
+ var _this17;
22810
22810
  _classCallCheck(this, SubjectContextDevice);
22811
- _this19 = _callSuper(this, SubjectContextDevice, [options]);
22811
+ _this17 = _callSuper(this, SubjectContextDevice, [options]);
22812
22812
  if (options.name === undefined) {
22813
22813
  throw new Error("Option 'name' is required for SubjectContextDevice.");
22814
22814
  }
@@ -22821,7 +22821,7 @@ var SubjectContextDevice = /*#__PURE__*/function (_Template12) {
22821
22821
  value: options.name,
22822
22822
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22823
22823
  });
22824
- _this19.push(deviceNameItem);
22824
+ _this17.push(deviceNameItem);
22825
22825
  if (options.uid !== undefined) {
22826
22826
  var deviceUidItem = new UIDRefContentItem({
22827
22827
  name: new CodedConcept({
@@ -22832,7 +22832,7 @@ var SubjectContextDevice = /*#__PURE__*/function (_Template12) {
22832
22832
  value: options.uid,
22833
22833
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22834
22834
  });
22835
- _this19.push(deviceUidItem);
22835
+ _this17.push(deviceUidItem);
22836
22836
  }
22837
22837
  if (options.manufacturerName !== undefined) {
22838
22838
  var manufacturerNameItem = new TextContentItem({
@@ -22844,7 +22844,7 @@ var SubjectContextDevice = /*#__PURE__*/function (_Template12) {
22844
22844
  value: options.manufacturerName,
22845
22845
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22846
22846
  });
22847
- _this19.push(manufacturerNameItem);
22847
+ _this17.push(manufacturerNameItem);
22848
22848
  }
22849
22849
  if (options.modelName !== undefined) {
22850
22850
  var modelNameItem = new TextContentItem({
@@ -22856,7 +22856,7 @@ var SubjectContextDevice = /*#__PURE__*/function (_Template12) {
22856
22856
  value: options.modelName,
22857
22857
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22858
22858
  });
22859
- _this19.push(modelNameItem);
22859
+ _this17.push(modelNameItem);
22860
22860
  }
22861
22861
  if (options.serialNumber !== undefined) {
22862
22862
  var serialNumberItem = new TextContentItem({
@@ -22868,7 +22868,7 @@ var SubjectContextDevice = /*#__PURE__*/function (_Template12) {
22868
22868
  value: options.serialNumber,
22869
22869
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22870
22870
  });
22871
- _this19.push(serialNumberItem);
22871
+ _this17.push(serialNumberItem);
22872
22872
  }
22873
22873
  if (options.physicalLocation !== undefined) {
22874
22874
  var physicalLocationItem = new TextContentItem({
@@ -22880,18 +22880,18 @@ var SubjectContextDevice = /*#__PURE__*/function (_Template12) {
22880
22880
  value: options.physicalLocation,
22881
22881
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
22882
22882
  });
22883
- _this19.push(physicalLocationItem);
22883
+ _this17.push(physicalLocationItem);
22884
22884
  }
22885
- return _this19;
22885
+ return _this17;
22886
22886
  }
22887
22887
  return _createClass(SubjectContextDevice);
22888
22888
  }(Template);
22889
- var LanguageOfContentItemAndDescendants = /*#__PURE__*/function (_Template13) {
22890
- _inherits(LanguageOfContentItemAndDescendants, _Template13);
22889
+ var LanguageOfContentItemAndDescendants = /*#__PURE__*/function (_Template11) {
22890
+ _inherits(LanguageOfContentItemAndDescendants, _Template11);
22891
22891
  function LanguageOfContentItemAndDescendants(options) {
22892
- var _this20;
22892
+ var _this18;
22893
22893
  _classCallCheck(this, LanguageOfContentItemAndDescendants);
22894
- _this20 = _callSuper(this, LanguageOfContentItemAndDescendants);
22894
+ _this18 = _callSuper(this, LanguageOfContentItemAndDescendants);
22895
22895
  if (options.language === undefined) {
22896
22896
  options.language = new CodedConcept({
22897
22897
  value: "en-US",
@@ -22908,18 +22908,18 @@ var LanguageOfContentItemAndDescendants = /*#__PURE__*/function (_Template13) {
22908
22908
  value: options.language,
22909
22909
  relationshipType: RelationshipTypes.HAS_CONCEPT_MOD
22910
22910
  });
22911
- _this20.push(languageItem);
22912
- return _this20;
22911
+ _this18.push(languageItem);
22912
+ return _this18;
22913
22913
  }
22914
22914
  return _createClass(LanguageOfContentItemAndDescendants);
22915
22915
  }(Template);
22916
- var _MeasurementsAndQualitatitiveEvaluations = /*#__PURE__*/function (_Template14) {
22917
- _inherits(_MeasurementsAndQualitatitiveEvaluations, _Template14);
22916
+ var _MeasurementsAndQualitatitiveEvaluations = /*#__PURE__*/function (_Template12) {
22917
+ _inherits(_MeasurementsAndQualitatitiveEvaluations, _Template12);
22918
22918
  function _MeasurementsAndQualitatitiveEvaluations(options) {
22919
22919
  var _groupItem$ContentSeq;
22920
- var _this21;
22920
+ var _this19;
22921
22921
  _classCallCheck(this, _MeasurementsAndQualitatitiveEvaluations);
22922
- _this21 = _callSuper(this, _MeasurementsAndQualitatitiveEvaluations);
22922
+ _this19 = _callSuper(this, _MeasurementsAndQualitatitiveEvaluations);
22923
22923
  var groupItem = new ContainerContentItem({
22924
22924
  name: new CodedConcept({
22925
22925
  value: "125007",
@@ -22999,17 +22999,17 @@ var _MeasurementsAndQualitatitiveEvaluations = /*#__PURE__*/function (_Template1
22999
22999
  groupItem.ContentSequence.push(evaluation);
23000
23000
  });
23001
23001
  }
23002
- _this21.push(groupItem);
23003
- return _this21;
23002
+ _this19.push(groupItem);
23003
+ return _this19;
23004
23004
  }
23005
23005
  return _createClass(_MeasurementsAndQualitatitiveEvaluations);
23006
23006
  }(Template);
23007
23007
  var _ROIMeasurementsAndQualitativeEvaluations = /*#__PURE__*/function (_MeasurementsAndQuali) {
23008
23008
  _inherits(_ROIMeasurementsAndQualitativeEvaluations, _MeasurementsAndQuali);
23009
23009
  function _ROIMeasurementsAndQualitativeEvaluations(options) {
23010
- var _this22;
23010
+ var _this20;
23011
23011
  _classCallCheck(this, _ROIMeasurementsAndQualitativeEvaluations);
23012
- _this22 = _callSuper(this, _ROIMeasurementsAndQualitativeEvaluations, [{
23012
+ _this20 = _callSuper(this, _ROIMeasurementsAndQualitativeEvaluations, [{
23013
23013
  trackingIdentifier: options.trackingIdentifier,
23014
23014
  timePointContext: options.timePointContext,
23015
23015
  findingType: options.findingType,
@@ -23017,7 +23017,7 @@ var _ROIMeasurementsAndQualitativeEvaluations = /*#__PURE__*/function (_Measurem
23017
23017
  measurements: options.measurements,
23018
23018
  qualitativeEvaluations: options.qualitativeEvaluations
23019
23019
  }]);
23020
- var groupItem = _this22[0];
23020
+ var groupItem = _this20[0];
23021
23021
  var wereReferencesProvided = [options.referencedRegions !== undefined, options.referencedVolume !== undefined, options.referencedSegmentation !== undefined];
23022
23022
  var numReferences = wereReferencesProvided.reduce(function (a, b) {
23023
23023
  return a + b;
@@ -23051,8 +23051,8 @@ var _ROIMeasurementsAndQualitativeEvaluations = /*#__PURE__*/function (_Measurem
23051
23051
  }
23052
23052
  groupItem.ContentSequence.push(options.referencedSegmentation);
23053
23053
  }
23054
- _this22[0] = groupItem;
23055
- return _this22;
23054
+ _this20[0] = groupItem;
23055
+ return _this20;
23056
23056
  }
23057
23057
  return _createClass(_ROIMeasurementsAndQualitativeEvaluations);
23058
23058
  }(_MeasurementsAndQualitatitiveEvaluations);
@@ -23101,12 +23101,12 @@ var VolumetricROIMeasurementsAndQualitativeEvaluations = /*#__PURE__*/function (
23101
23101
  }
23102
23102
  return _createClass(VolumetricROIMeasurementsAndQualitativeEvaluations);
23103
23103
  }(_ROIMeasurementsAndQualitativeEvaluations);
23104
- var MeasurementsDerivedFromMultipleROIMeasurements = /*#__PURE__*/function (_Template15) {
23105
- _inherits(MeasurementsDerivedFromMultipleROIMeasurements, _Template15);
23104
+ var MeasurementsDerivedFromMultipleROIMeasurements = /*#__PURE__*/function (_Template13) {
23105
+ _inherits(MeasurementsDerivedFromMultipleROIMeasurements, _Template13);
23106
23106
  function MeasurementsDerivedFromMultipleROIMeasurements(options) {
23107
- var _this23;
23107
+ var _this21;
23108
23108
  _classCallCheck(this, MeasurementsDerivedFromMultipleROIMeasurements);
23109
- _this23 = _callSuper(this, MeasurementsDerivedFromMultipleROIMeasurements, [options]);
23109
+ _this21 = _callSuper(this, MeasurementsDerivedFromMultipleROIMeasurements, [options]);
23110
23110
  if (options.derivation === undefined) {
23111
23111
  throw new Error("Option 'derivation' is required for " + "MeasurementsDerivedFromMultipleROIMeasurements.");
23112
23112
  }
@@ -23136,8 +23136,8 @@ var MeasurementsDerivedFromMultipleROIMeasurements = /*#__PURE__*/function (_Tem
23136
23136
  }
23137
23137
  (_valueItem$ContentSeq5 = valueItem.ContentSequence).push.apply(_valueItem$ContentSeq5, _toConsumableArray(options.measurementProperties));
23138
23138
  }
23139
- _this23.push(valueItem);
23140
- return _this23;
23139
+ _this21.push(valueItem);
23140
+ return _this21;
23141
23141
  }
23142
23142
  return _createClass(MeasurementsDerivedFromMultipleROIMeasurements);
23143
23143
  }(Template);
@@ -23157,12 +23157,12 @@ var MeasurementAndQualitativeEvaluationGroup = /*#__PURE__*/function (_Measureme
23157
23157
  }
23158
23158
  return _createClass(MeasurementAndQualitativeEvaluationGroup);
23159
23159
  }(_MeasurementsAndQualitatitiveEvaluations);
23160
- var ROIMeasurements = /*#__PURE__*/function (_Template16) {
23161
- _inherits(ROIMeasurements, _Template16);
23160
+ var ROIMeasurements = /*#__PURE__*/function (_Template14) {
23161
+ _inherits(ROIMeasurements, _Template14);
23162
23162
  function ROIMeasurements(options) {
23163
- var _this24;
23163
+ var _this22;
23164
23164
  _classCallCheck(this, ROIMeasurements);
23165
- _this24 = _callSuper(this, ROIMeasurements);
23165
+ _this22 = _callSuper(this, ROIMeasurements);
23166
23166
  if (options.method !== undefined) {
23167
23167
  var methodItem = new CodeContentItem({
23168
23168
  name: new CodedConcept({
@@ -23173,7 +23173,7 @@ var ROIMeasurements = /*#__PURE__*/function (_Template16) {
23173
23173
  value: options.method,
23174
23174
  relationshipType: RelationshipTypes.HAS_CONCEPT_MOD
23175
23175
  });
23176
- _this24.push(methodItem);
23176
+ _this22.push(methodItem);
23177
23177
  }
23178
23178
  if (options.findingSites !== undefined) {
23179
23179
  if (!(_typeof(options.findingSites) === "object" || options.findingSites instanceof Array)) {
@@ -23183,7 +23183,7 @@ var ROIMeasurements = /*#__PURE__*/function (_Template16) {
23183
23183
  if (!site || site.constructor !== FindingSite) {
23184
23184
  throw new Error("Items of option 'findingSites' must have type FindingSite.");
23185
23185
  }
23186
- _this24.push(site);
23186
+ _this22.push(site);
23187
23187
  });
23188
23188
  }
23189
23189
  if (options.measurements === undefined) {
@@ -23199,19 +23199,19 @@ var ROIMeasurements = /*#__PURE__*/function (_Template16) {
23199
23199
  if (!measurement || measurement.constructor !== Measurement) {
23200
23200
  throw new Error("Items of option 'measurements' must have type Measurement.");
23201
23201
  }
23202
- _this24.push(measurement);
23202
+ _this22.push(measurement);
23203
23203
  });
23204
- return _this24;
23204
+ return _this22;
23205
23205
  }
23206
23206
  return _createClass(ROIMeasurements);
23207
23207
  }(Template);
23208
- var MeasurementReport = /*#__PURE__*/function (_Template17) {
23209
- _inherits(MeasurementReport, _Template17);
23208
+ var MeasurementReport = /*#__PURE__*/function (_Template15) {
23209
+ _inherits(MeasurementReport, _Template15);
23210
23210
  function MeasurementReport(options) {
23211
23211
  var _item$ContentSequence, _item$ContentSequence2, _item$ContentSequence3;
23212
- var _this25;
23212
+ var _this23;
23213
23213
  _classCallCheck(this, MeasurementReport);
23214
- _this25 = _callSuper(this, MeasurementReport);
23214
+ _this23 = _callSuper(this, MeasurementReport);
23215
23215
  if (options.observationContext === undefined) {
23216
23216
  throw new Error("Option 'observationContext' is required for MeasurementReport.");
23217
23217
  }
@@ -23296,17 +23296,17 @@ var MeasurementReport = /*#__PURE__*/function (_Template17) {
23296
23296
  _containerItem2.ContentSequence = _construct(ContentSequence, _toConsumableArray(options.qualitativeEvaluations));
23297
23297
  item.ContentSequence.push(_containerItem2);
23298
23298
  }
23299
- _this25.push(item);
23300
- return _this25;
23299
+ _this23.push(item);
23300
+ return _this23;
23301
23301
  }
23302
23302
  return _createClass(MeasurementReport);
23303
23303
  }(Template);
23304
- var TimePointContext = /*#__PURE__*/function (_Template18) {
23305
- _inherits(TimePointContext, _Template18);
23304
+ var TimePointContext = /*#__PURE__*/function (_Template16) {
23305
+ _inherits(TimePointContext, _Template16);
23306
23306
  function TimePointContext(options) {
23307
- var _this26;
23307
+ var _this24;
23308
23308
  _classCallCheck(this, TimePointContext);
23309
- _this26 = _callSuper(this, TimePointContext, [options]);
23309
+ _this24 = _callSuper(this, TimePointContext, [options]);
23310
23310
  if (options.timePoint === undefined) {
23311
23311
  throw new Error("Option 'timePoint' is required for TimePointContext.");
23312
23312
  }
@@ -23319,7 +23319,7 @@ var TimePointContext = /*#__PURE__*/function (_Template18) {
23319
23319
  value: options.timePoint,
23320
23320
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
23321
23321
  });
23322
- _this26.push(timePointItem);
23322
+ _this24.push(timePointItem);
23323
23323
  if (options.timePointType !== undefined) {
23324
23324
  var timePointTypeItem = new CodeContentItem({
23325
23325
  name: new CodedConcept({
@@ -23330,7 +23330,7 @@ var TimePointContext = /*#__PURE__*/function (_Template18) {
23330
23330
  value: options.timePointType,
23331
23331
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
23332
23332
  });
23333
- _this26.push(timePointTypeItem);
23333
+ _this24.push(timePointTypeItem);
23334
23334
  }
23335
23335
  if (options.timePointOrder !== undefined) {
23336
23336
  var timePointOrderItem = new NumContentItem({
@@ -23342,7 +23342,7 @@ var TimePointContext = /*#__PURE__*/function (_Template18) {
23342
23342
  value: options.timePointOrder,
23343
23343
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
23344
23344
  });
23345
- _this26.push(timePointOrderItem);
23345
+ _this24.push(timePointOrderItem);
23346
23346
  }
23347
23347
  if (options.subjectTimePointIdentifier !== undefined) {
23348
23348
  var subjectTimePointIdentifierItem = new NumContentItem({
@@ -23354,7 +23354,7 @@ var TimePointContext = /*#__PURE__*/function (_Template18) {
23354
23354
  value: options.subjectTimePointIdentifier,
23355
23355
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
23356
23356
  });
23357
- _this26.push(subjectTimePointIdentifierItem);
23357
+ _this24.push(subjectTimePointIdentifierItem);
23358
23358
  }
23359
23359
  if (options.protocolTimePointIdentifier !== undefined) {
23360
23360
  var protocolTimePointIdentifierItem = new NumContentItem({
@@ -23366,7 +23366,7 @@ var TimePointContext = /*#__PURE__*/function (_Template18) {
23366
23366
  value: options.protocolTimePointIdentifier,
23367
23367
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
23368
23368
  });
23369
- _this26.push(protocolTimePointIdentifierItem);
23369
+ _this24.push(protocolTimePointIdentifierItem);
23370
23370
  }
23371
23371
  if (options.temporalOffsetFromEvent !== undefined) {
23372
23372
  // TODO: Missing LongitudinalTemporalOffsetFromEventContentItem
@@ -23379,18 +23379,18 @@ var TimePointContext = /*#__PURE__*/function (_Template18) {
23379
23379
  // "LongitudinalTemporalOffsetFromEventContentItem."
23380
23380
  // );
23381
23381
  // }
23382
- _this26.push(options.temporalOffsetFromEvent);
23382
+ _this24.push(options.temporalOffsetFromEvent);
23383
23383
  }
23384
- return _this26;
23384
+ return _this24;
23385
23385
  }
23386
23386
  return _createClass(TimePointContext);
23387
23387
  }(Template);
23388
- var ImageLibrary = /*#__PURE__*/function (_Template19) {
23389
- _inherits(ImageLibrary, _Template19);
23388
+ var ImageLibrary = /*#__PURE__*/function (_Template17) {
23389
+ _inherits(ImageLibrary, _Template17);
23390
23390
  function ImageLibrary() {
23391
- var _this27;
23391
+ var _this25;
23392
23392
  _classCallCheck(this, ImageLibrary);
23393
- _this27 = _callSuper(this, ImageLibrary);
23393
+ _this25 = _callSuper(this, ImageLibrary);
23394
23394
  var libraryItem = new ContainerContentItem({
23395
23395
  name: new CodedConcept({
23396
23396
  value: "111028",
@@ -23399,17 +23399,17 @@ var ImageLibrary = /*#__PURE__*/function (_Template19) {
23399
23399
  }),
23400
23400
  relationshipType: RelationshipTypes.CONTAINS
23401
23401
  });
23402
- _this27.push(libraryItem);
23403
- return _this27;
23402
+ _this25.push(libraryItem);
23403
+ return _this25;
23404
23404
  }
23405
23405
  return _createClass(ImageLibrary);
23406
23406
  }(Template);
23407
- var AlgorithmIdentification = /*#__PURE__*/function (_Template20) {
23408
- _inherits(AlgorithmIdentification, _Template20);
23407
+ var AlgorithmIdentification = /*#__PURE__*/function (_Template18) {
23408
+ _inherits(AlgorithmIdentification, _Template18);
23409
23409
  function AlgorithmIdentification(options) {
23410
- var _this28;
23410
+ var _this26;
23411
23411
  _classCallCheck(this, AlgorithmIdentification);
23412
- _this28 = _callSuper(this, AlgorithmIdentification);
23412
+ _this26 = _callSuper(this, AlgorithmIdentification);
23413
23413
  if (options.name === undefined) {
23414
23414
  throw new Error("Option 'name' is required for AlgorithmIdentification.");
23415
23415
  }
@@ -23425,7 +23425,7 @@ var AlgorithmIdentification = /*#__PURE__*/function (_Template20) {
23425
23425
  value: options.name,
23426
23426
  relationshipType: RelationshipTypes.HAS_CONCEPT_MOD
23427
23427
  });
23428
- _this28.push(nameItem);
23428
+ _this26.push(nameItem);
23429
23429
  var versionItem = new TextContentItem({
23430
23430
  name: new CodedConcept({
23431
23431
  value: "111003",
@@ -23435,7 +23435,7 @@ var AlgorithmIdentification = /*#__PURE__*/function (_Template20) {
23435
23435
  value: options.version,
23436
23436
  relationshipType: RelationshipTypes.HAS_CONCEPT_MOD
23437
23437
  });
23438
- _this28.push(versionItem);
23438
+ _this26.push(versionItem);
23439
23439
  if (options.parameters !== undefined) {
23440
23440
  if (!(_typeof(options.parameters) === "object" || options.parameters instanceof Array)) {
23441
23441
  throw new Error("Option 'parameters' must have type Array.");
@@ -23450,19 +23450,19 @@ var AlgorithmIdentification = /*#__PURE__*/function (_Template20) {
23450
23450
  value: parameter,
23451
23451
  relationshipType: RelationshipTypes.HAS_CONCEPT_MOD
23452
23452
  });
23453
- _this28.push(parameterItem);
23453
+ _this26.push(parameterItem);
23454
23454
  });
23455
23455
  }
23456
- return _this28;
23456
+ return _this26;
23457
23457
  }
23458
23458
  return _createClass(AlgorithmIdentification);
23459
23459
  }(Template);
23460
- var TrackingIdentifier = /*#__PURE__*/function (_Template21) {
23461
- _inherits(TrackingIdentifier, _Template21);
23460
+ var TrackingIdentifier = /*#__PURE__*/function (_Template19) {
23461
+ _inherits(TrackingIdentifier, _Template19);
23462
23462
  function TrackingIdentifier(options) {
23463
- var _this29;
23463
+ var _this27;
23464
23464
  _classCallCheck(this, TrackingIdentifier);
23465
- _this29 = _callSuper(this, TrackingIdentifier, [options]);
23465
+ _this27 = _callSuper(this, TrackingIdentifier, [options]);
23466
23466
  if (options.uid === undefined) {
23467
23467
  throw new Error("Option 'uid' is required for TrackingIdentifier.");
23468
23468
  }
@@ -23476,7 +23476,7 @@ var TrackingIdentifier = /*#__PURE__*/function (_Template21) {
23476
23476
  value: options.identifier,
23477
23477
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
23478
23478
  });
23479
- _this29.push(trackingIdentifierItem);
23479
+ _this27.push(trackingIdentifierItem);
23480
23480
  }
23481
23481
  var trackingUIDItem = new UIDRefContentItem({
23482
23482
  name: new CodedConcept({
@@ -23487,8 +23487,8 @@ var TrackingIdentifier = /*#__PURE__*/function (_Template21) {
23487
23487
  value: options.uid,
23488
23488
  relationshipType: RelationshipTypes.HAS_OBS_CONTEXT
23489
23489
  });
23490
- _this29.push(trackingUIDItem);
23491
- return _this29;
23490
+ _this27.push(trackingUIDItem);
23491
+ return _this27;
23492
23492
  }
23493
23493
  return _createClass(TrackingIdentifier);
23494
23494
  }(Template);