@exini/dicom-streams-js 3.0.9 → 3.1.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.
Files changed (162) hide show
  1. package/RELEASE-NOTES.md +10 -0
  2. package/coverage/base.css +224 -0
  3. package/coverage/block-navigation.js +87 -0
  4. package/coverage/dicom-streams-js/index.html +116 -0
  5. package/coverage/favicon.png +0 -0
  6. package/coverage/index.html +146 -0
  7. package/coverage/prettify.css +1 -0
  8. package/coverage/prettify.js +2 -0
  9. package/coverage/sort-arrow-sprite.png +0 -0
  10. package/coverage/sorter.js +196 -0
  11. package/dist/LICENSE +201 -0
  12. package/dist/README.md +157 -0
  13. package/{lib → dist/lib}/base.d.ts +0 -1
  14. package/{lib → dist/lib}/base.js +64 -65
  15. package/dist/lib/base.js.map +1 -0
  16. package/{lib → dist/lib}/byte-parser.d.ts +0 -1
  17. package/dist/lib/byte-parser.js.map +1 -0
  18. package/{lib → dist/lib}/character-sets.d.ts +0 -1
  19. package/{lib → dist/lib}/character-sets.js.map +1 -1
  20. package/{lib → dist/lib}/collect-flow.d.ts +0 -1
  21. package/{lib → dist/lib}/collect-flow.js +5 -6
  22. package/dist/lib/collect-flow.js.map +1 -0
  23. package/{lib → dist/lib}/detour.d.ts +0 -1
  24. package/dist/lib/detour.js.map +1 -0
  25. package/{lib → dist/lib}/dicom-elements.d.ts +0 -1
  26. package/dist/lib/dicom-elements.js.map +1 -0
  27. package/{lib → dist/lib}/dicom-flow.d.ts +5 -9
  28. package/{lib → dist/lib}/dicom-flow.js +20 -21
  29. package/dist/lib/dicom-flow.js.map +1 -0
  30. package/{lib → dist/lib}/dicom-flows.d.ts +0 -1
  31. package/{lib → dist/lib}/dicom-flows.js +14 -14
  32. package/dist/lib/dicom-flows.js.map +1 -0
  33. package/{lib → dist/lib}/dicom-parts.d.ts +0 -1
  34. package/dist/lib/dicom-parts.js.map +1 -0
  35. package/{lib → dist/lib}/element-flows.js +1 -2
  36. package/dist/lib/element-flows.js.map +1 -0
  37. package/{lib → dist/lib}/element-sink.d.ts +0 -1
  38. package/{lib → dist/lib}/element-sink.js +1 -2
  39. package/dist/lib/element-sink.js.map +1 -0
  40. package/dist/lib/elements-builder.js.map +1 -0
  41. package/{lib → dist/lib}/elements.d.ts +0 -1
  42. package/{lib → dist/lib}/elements.js +2 -2
  43. package/dist/lib/elements.js.map +1 -0
  44. package/{lib → dist/lib}/flows.d.ts +0 -1
  45. package/{lib → dist/lib}/flows.js +8 -9
  46. package/dist/lib/flows.js.map +1 -0
  47. package/{lib → dist/lib}/lookup.js +1 -1
  48. package/dist/lib/lookup.js.map +1 -0
  49. package/{lib → dist/lib}/modify-flow.d.ts +0 -1
  50. package/{lib → dist/lib}/modify-flow.js +2 -2
  51. package/dist/lib/modify-flow.js.map +1 -0
  52. package/{lib → dist/lib}/parse-flow.js +1 -2
  53. package/dist/lib/parse-flow.js.map +1 -0
  54. package/{lib → dist/lib}/parser.d.ts +0 -1
  55. package/{lib → dist/lib}/parser.js +36 -4
  56. package/dist/lib/parser.js.map +1 -0
  57. package/{lib → dist/lib}/parsing.d.ts +0 -1
  58. package/{lib → dist/lib}/parsing.js +9 -9
  59. package/dist/lib/parsing.js.map +1 -0
  60. package/{lib → dist/lib}/sinks.d.ts +0 -2
  61. package/{lib → dist/lib}/sinks.js +3 -4
  62. package/dist/lib/sinks.js.map +1 -0
  63. package/{lib → dist/lib}/sources.d.ts +0 -1
  64. package/{lib → dist/lib}/sources.js +2 -3
  65. package/dist/lib/sources.js.map +1 -0
  66. package/dist/lib/tag-path-like.js.map +1 -0
  67. package/dist/lib/tag-path.js.map +1 -0
  68. package/{lib → dist/lib}/tag-to-vr.js +1 -1
  69. package/dist/lib/tag-to-vr.js.map +1 -0
  70. package/dist/lib/tag-tree.js.map +1 -0
  71. package/{lib → dist/lib}/tag.js +448 -448
  72. package/dist/lib/tag.js.map +1 -0
  73. package/{lib → dist/lib}/uid-to-name.js +1 -1
  74. package/dist/lib/uid-to-name.js.map +1 -0
  75. package/{lib → dist/lib}/uid.js +71 -71
  76. package/dist/lib/uid.js.map +1 -0
  77. package/{lib → dist/lib}/value.d.ts +0 -1
  78. package/{lib → dist/lib}/value.js +2 -2
  79. package/dist/lib/value.js.map +1 -0
  80. package/{lib → dist/lib}/vr.js +1 -1
  81. package/dist/lib/vr.js.map +1 -0
  82. package/{node → dist/node}/index.js +693 -670
  83. package/dist/node/index.js.map +1 -0
  84. package/dist/node/index.min.js +1 -0
  85. package/dist/package.json +92 -0
  86. package/{web → dist/web}/index.js +706 -683
  87. package/dist/web/index.js.map +1 -0
  88. package/dist/web/index.min.js +2 -0
  89. package/{web → dist/web}/index.min.js.LICENSE.txt +1 -1
  90. package/example/data-model.png +0 -0
  91. package/example/detour-example.js +52 -0
  92. package/example/image/example-eb.dcm +0 -0
  93. package/example/image/example-ed.dcm +0 -0
  94. package/example/image/example-el-delimited.dcm +0 -0
  95. package/example/image/example-el.dcm +0 -0
  96. package/example/image/example-il.dcm +0 -0
  97. package/example/parse-log.js +13 -0
  98. package/example/parse-modify-log.js +43 -0
  99. package/example/parse-modify-write.js +40 -0
  100. package/package.json +11 -11
  101. package/typings/dicom-character-set/index.d.ts +5 -0
  102. package/typings/multipipe/index.d.ts +4 -0
  103. package/lib/base.js.map +0 -1
  104. package/lib/byte-parser.js.map +0 -1
  105. package/lib/collect-flow.js.map +0 -1
  106. package/lib/detour.js.map +0 -1
  107. package/lib/dicom-elements.js.map +0 -1
  108. package/lib/dicom-flow.js.map +0 -1
  109. package/lib/dicom-flows.js.map +0 -1
  110. package/lib/dicom-parts.js.map +0 -1
  111. package/lib/element-flows.js.map +0 -1
  112. package/lib/element-sink.js.map +0 -1
  113. package/lib/elements-builder.js.map +0 -1
  114. package/lib/elements.js.map +0 -1
  115. package/lib/flows.js.map +0 -1
  116. package/lib/lookup.js.map +0 -1
  117. package/lib/modify-flow.js.map +0 -1
  118. package/lib/parse-flow.js.map +0 -1
  119. package/lib/parser.js.map +0 -1
  120. package/lib/parsing.js.map +0 -1
  121. package/lib/sinks.js.map +0 -1
  122. package/lib/sources.js.map +0 -1
  123. package/lib/tag-path-like.js.map +0 -1
  124. package/lib/tag-path.js.map +0 -1
  125. package/lib/tag-to-vr.js.map +0 -1
  126. package/lib/tag-tree.js.map +0 -1
  127. package/lib/tag.js.map +0 -1
  128. package/lib/uid-to-name.js.map +0 -1
  129. package/lib/uid.js.map +0 -1
  130. package/lib/value.js.map +0 -1
  131. package/lib/vr.js.map +0 -1
  132. package/node/index.js.map +0 -1
  133. package/node/index.min.js +0 -1
  134. package/web/index.js.map +0 -1
  135. package/web/index.min.js +0 -2
  136. /package/{lib → dist/lib}/byte-parser.js +0 -0
  137. /package/{lib → dist/lib}/character-sets.js +0 -0
  138. /package/{lib → dist/lib}/detour.js +0 -0
  139. /package/{lib → dist/lib}/dicom-elements.js +0 -0
  140. /package/{lib → dist/lib}/dicom-parts.js +0 -0
  141. /package/{lib → dist/lib}/element-flows.d.ts +0 -0
  142. /package/{lib → dist/lib}/elements-builder.d.ts +0 -0
  143. /package/{lib → dist/lib}/elements-builder.js +0 -0
  144. /package/{lib → dist/lib}/index.d.ts +0 -0
  145. /package/{lib → dist/lib}/index.js +0 -0
  146. /package/{lib → dist/lib}/index.js.map +0 -0
  147. /package/{lib → dist/lib}/lookup.d.ts +0 -0
  148. /package/{lib → dist/lib}/parse-flow.d.ts +0 -0
  149. /package/{lib → dist/lib}/person-name.d.ts +0 -0
  150. /package/{lib → dist/lib}/person-name.js +0 -0
  151. /package/{lib → dist/lib}/person-name.js.map +0 -0
  152. /package/{lib → dist/lib}/tag-path-like.d.ts +0 -0
  153. /package/{lib → dist/lib}/tag-path-like.js +0 -0
  154. /package/{lib → dist/lib}/tag-path.d.ts +0 -0
  155. /package/{lib → dist/lib}/tag-path.js +0 -0
  156. /package/{lib → dist/lib}/tag-to-vr.d.ts +0 -0
  157. /package/{lib → dist/lib}/tag-tree.d.ts +0 -0
  158. /package/{lib → dist/lib}/tag-tree.js +0 -0
  159. /package/{lib → dist/lib}/tag.d.ts +0 -0
  160. /package/{lib → dist/lib}/uid-to-name.d.ts +0 -0
  161. /package/{lib → dist/lib}/uid.d.ts +0 -0
  162. /package/{lib → dist/lib}/vr.d.ts +0 -0
@@ -5645,18 +5645,6 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
5645
5645
  module.exports = defineProperties;
5646
5646
 
5647
5647
 
5648
- /***/ }),
5649
-
5650
- /***/ "./node_modules/dicom-character-set/dist/dicom-character-set.min.js":
5651
- /*!**************************************************************************!*\
5652
- !*** ./node_modules/dicom-character-set/dist/dicom-character-set.min.js ***!
5653
- \**************************************************************************/
5654
- /***/ (function(module) {
5655
-
5656
- /*! dicom-character-set - 1.0.4 - 2021-09-23 | (c) 2018 Radialogica, LLC | https://github.com/radialogica/dicom-character-set */
5657
- !function(e,n){ true?module.exports=n():0}(this,function(){return function(e){var n={};function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(o,r,function(n){return e[n]}.bind(null,r));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=0)}([function(e,n,t){"use strict";t.r(n);var o={codeElement:"G0",escapeSequence:[27,40,66],encoding:"windows-1252",isASCII:!0,bytesPerCodePoint:1},r={"ISO_IR 6":{encoding:"utf-8"},"ISO_IR 100":{encoding:"windows-1252"},"ISO_IR 101":{encoding:"iso-8859-2"},"ISO_IR 109":{encoding:"iso-8859-3"},"ISO_IR 110":{encoding:"iso-8859-4"},"ISO_IR 144":{encoding:"iso-8859-5"},"ISO_IR 127":{encoding:"iso-8859-6"},"ISO_IR 126":{encoding:"iso-8859-7"},"ISO_IR 138":{encoding:"iso-8859-8"},"ISO_IR 148":{encoding:"windows-1254"},"ISO_IR 13":{encoding:"shift-jis"},"ISO_IR 166":{encoding:"tis-620"},"ISO 2022 IR 6":{extension:!0,elements:[o]},"ISO 2022 IR 100":{extension:!0,elements:[o,{codeElement:"G1",escapeSequence:[27,45,65],encoding:"windows-1252",bytesPerCodePoint:1}]},"ISO 2022 IR 101":{extension:!0,elements:[o,{codeElement:"G1",escapeSequence:[27,45,66],encoding:"iso-8859-2",bytesPerCodePoint:1}]},"ISO 2022 IR 109":{extension:!0,elements:[o,{codeElement:"G1",escapeSequence:[27,45,67],encoding:"iso-8859-3",bytesPerCodePoint:1}]},"ISO 2022 IR 110":{extension:!0,elements:[o,{codeElement:"G1",escapeSequence:[27,45,68],encoding:"iso-8859-4",bytesPerCodePoint:1}]},"ISO 2022 IR 144":{extension:!0,elements:[o,{codeElement:"G1",escapeSequence:[27,45,76],encoding:"iso-8859-5",bytesPerCodePoint:1}]},"ISO 2022 IR 127":{extension:!0,elements:[o,{codeElement:"G1",escapeSequence:[27,45,71],encoding:"iso-8859-6",bytesPerCodePoint:1}]},"ISO 2022 IR 126":{extension:!0,elements:[o,{codeElement:"G1",escapeSequence:[27,45,70],encoding:"iso-8859-7",bytesPerCodePoint:1}]},"ISO 2022 IR 138":{extension:!0,elements:[o,{codeElement:"G1",escapeSequence:[27,45,72],encoding:"iso-8859-8",bytesPerCodePoint:1}]},"ISO 2022 IR 148":{extension:!0,elements:[o,{codeElement:"G1",escapeSequence:[27,45,77],encoding:"windows-1254",bytesPerCodePoint:1}]},"ISO 2022 IR 13":{extension:!0,elements:[{codeElement:"G0",escapeSequence:[27,40,74],encoding:"shift-jis",bytesPerCodePoint:1},{codeElement:"G1",escapeSequence:[27,41,73],encoding:"shift-jis",bytesPerCodePoint:1}]},"ISO 2022 IR 166":{extension:!0,elements:[o,{codeElement:"G1",escapeSequence:[27,45,84],encoding:"tis-620",bytesPerCodePoint:1}]},"ISO 2022 IR 87":{extension:!0,multiByte:!0,elements:[{codeElement:"G0",escapeSequence:[27,36,66],encoding:"euc-jp",setHighBit:!0,bytesPerCodePoint:2}]},"ISO 2022 IR 159":{extension:!0,multiByte:!0,elements:[{codeElement:"G0",escapeSequence:[27,36,40,68],encoding:"euc-jp",isJISX0212:!0,bytesPerCodePoint:2}]},"ISO 2022 IR 149":{extension:!0,multiByte:!0,elements:[{codeElement:"G1",escapeSequence:[27,36,41,67],encoding:"euc-kr",bytesPerCodePoint:2}]},"ISO 2022 IR 58":{extension:!0,multiByte:!0,elements:[{codeElement:"G1",escapeSequence:[27,36,41,65],encoding:"gb18030",bytesPerCodePoint:2}]},"ISO_IR 192":{encoding:"utf-8",multiByte:!0},GB18030:{encoding:"gb18030",multiByte:!0},GBK:{encoding:"gbk",multiByte:!0}},i=27,c=10,s=12,u=13,d=9,a=92,f=61,l=94;function I(e){return e.replace(/~/g,"‾").replace(/\\/g,"¥")}function m(e,n,t,o,r){var i=h(n,t,o,r);return e+p(n.encoding,i)}function S(e,n,t,o,r){var i=h(n,t,o,r);return(""===e?Promise.resolve(""):e).then(function(e){return y(n.encoding,i).then(function(n){return e+n})})}function g(e,n,t,o,i){!function(e,n){if(n&&!(n instanceof Uint8Array))throw new Error("bytes must be a Uint8Array");if(e&&"string"!=typeof e)throw new Error("specificCharacterSet must be a string")}(t,o);var I=function(e){var n=e?e.split("\\").map(function(e){return e.trim().toUpperCase()}):[""];""===n[0]&&(n[0]=n.length>1?"ISO 2022 IR 6":"ISO_IR 6");if(n.some(function(e){return void 0===r[e]}))throw new Error("Invalid specific character set specified.");return function(e){for(var n=e.length>1,t=[],o=0;o<e.length;o++){var r=e[o];t.includes(r)||t.push(n?r.replace("ISO_IR","ISO 2022 IR"):r)}return t}(n=function(e){var n=r[e[0]];return n.multiByte&&!n.extension?[e[0]]:e.filter(function(e){return!r[e].multiByte||r[e].extension})}(n))}(t);if(1===I.length&&!I[0].startsWith("ISO 2022"))return e(r[I[0]].encoding,o);var m=i||{};return function(e,n,t,o){var r="";if(!n||0===n.length)return r;var i={G0:e[0].elements.find(function(e){return"G0"===e.codeElement}),G1:e[0].elements.find(function(e){return"G1"===e.codeElement})},c=Object.assign({},i),s=0,u=void 0,d=0;for(;d<n.length;){u||(u=P(n[s],c));var a=b(n,s,u,c,i,t);if((d=a.index)>s&&(r=o(r,u,n,s,d)),s=d,u=a.characterSet,a.escapeSequence){var f=v(n,d,e);c[f.codeElement]=f,s+=f.escapeSequence.length}}return r}(I.map(function(e){return r[e]}),o,function(e){var n=(e||"").trim().toUpperCase(),t=[c,s,u,d];["UT","ST","LT"].includes(n)||t.push(a);"PN"===n&&(t.push(f),t.push(l));return t}(m.vr),n)}function p(e,n){var t=new TextDecoder(e).decode(n);return"shift-jis"===e?I(t):t}function y(e,n){return new Promise(function(t){var o=new FileReader;o.onload="shift-jis"===e?function(){return t(I(o.result))}:function(){return t(o.result)};var r=new Blob([n]);o.readAsText(r,e)})}function b(e,n,t,o,r,c){for(var s=n;s<e.length;s+=t.bytesPerCodePoint){if(e[s]===i)return{escapeSequence:!0,index:s};1===t.bytesPerCodePoint&&c.includes(e[s])&&Object.assign(o,r);var u=P(e[s],o);if(t&&u!==t)return{characterSet:u,index:s}}return{index:e.length}}function P(e,n){return e>127&&n.G1?n.G1:n.G0?n.G0:n.G1&&1===n.G1.bytesPerCodePoint?n.G1:r["ISO 2022 IR 6"].elements[0]}function h(e,n,t,o){var r=void 0;return e.isJISX0212?r=function(e,n,t){var o=t-n;if(o%2!=0)throw new Error("JIS X string with a character not having exactly two bytes!");for(var r=new Uint8Array(o+o/2),i=0,c=n;c<t;c+=2)r[i++]=143,r[i++]=128|e[c],r[i++]=128|e[c+1];return r}(n,t,o):((r=new Uint8Array(o-t)).set(new Uint8Array(n.buffer,n.byteOffset+t,o-t)),e.setHighBit&&function(e){for(var n=0;n<e.length;n++)e[n]|=128}(r)),r}function O(e,n,t){for(var o=0;o<e.length;o++){if(t+o>=n.length)return!1;if(n[t+o]!==e[o])return!1}return!0}function v(e,n,t){for(var o=0;o<t.length;o++)for(var r=t[o],i=0;i<r.elements.length;i++){var c=r.elements[i];if(O(c.escapeSequence,e,n))return c}throw new Error("Unknown escape sequence encountered at byte "+n)}function R(e,n,t){return g(p,m,e,n,t)}function x(e,n,t){return g(y,S,e,n,t)}t.d(n,"convertBytes",function(){return R}),t.d(n,"convertBytesPromise",function(){return x}),t.d(n,"characterSets",function(){return r})}])});
5658
- //# sourceMappingURL=dicom-character-set.min.js.map
5659
-
5660
5648
  /***/ }),
5661
5649
 
5662
5650
  /***/ "./node_modules/duplexer2/index.js":
@@ -19671,8 +19659,70 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
19671
19659
  return (mod && mod.__esModule) ? mod : { "default": mod };
19672
19660
  };
19673
19661
  Object.defineProperty(exports, "__esModule", ({ value: true }));
19674
- exports.tagToBytes = exports.tagToBytesLE = exports.tagToBytesBE = exports.intToBytes = exports.shortToBytes = exports.shortToBytesLE = exports.shortToBytesBE = exports.intToBytesLE = exports.intToBytesBE = exports.bytesToDouble = exports.bytesToDoubleLE = exports.bytesToDoubleBE = exports.bytesToFloat = exports.bytesToFloatLE = exports.bytesToFloatBE = exports.bytesToTag = exports.bytesToTagLE = exports.bytesToTagBE = exports.bytesToUInt = exports.bytesToUIntLE = exports.bytesToUIntBE = exports.bytesToInt = exports.bytesToIntLE = exports.bytesToIntBE = exports.bytesToVR = exports.bytesToUShort = exports.bytesToUShortLE = exports.bytesToUShortBE = exports.bytesToShort = exports.bytesToShortLE = exports.bytesToShortBE = exports.elementNumber = exports.groupNumber = exports.shiftLeftUnsigned = exports.toInt32 = exports.toUInt32 = exports.emptyBuffer = exports.multiValueDelimiter = exports.randomUID = exports.nameBasedUID = exports.toUID = exports.hexToDec = exports.concatArrays = exports.prependToArray = exports.appendToArray = exports.flatten = exports.concatv = exports.concat = exports.zero4Bytes = exports.indeterminateLength = void 0;
19675
- exports.pipe = exports.createNameBasedUIDFromRoot = exports.createNameBasedUID = exports.createUIDFromRoot = exports.createUID = exports.defaultCharacterSet = exports.systemZone = exports.isDeflated = exports.isGroupLength = exports.isFileMetaInformation = exports.sequenceDelimitationNonZeroLength = exports.sequenceDelimitation = exports.sequenceDelimitationBE = exports.sequenceDelimitationLE = exports.itemDelimitation = exports.itemDelimitationBE = exports.itemDelimitationLE = exports.item = exports.itemBE = exports.itemLE = exports.padToEvenLength = exports.trim = exports.tagToString = exports.doubleToBytes = exports.floatToBytes = void 0;
19662
+ exports.defaultCharacterSet = exports.systemZone = exports.sequenceDelimitationBE = exports.sequenceDelimitationLE = exports.itemDelimitationBE = exports.itemDelimitationLE = exports.itemBE = exports.itemLE = exports.emptyBuffer = exports.multiValueDelimiter = exports.zero4Bytes = exports.indeterminateLength = void 0;
19663
+ exports.concat = concat;
19664
+ exports.concatv = concatv;
19665
+ exports.flatten = flatten;
19666
+ exports.appendToArray = appendToArray;
19667
+ exports.prependToArray = prependToArray;
19668
+ exports.concatArrays = concatArrays;
19669
+ exports.hexToDec = hexToDec;
19670
+ exports.toUID = toUID;
19671
+ exports.nameBasedUID = nameBasedUID;
19672
+ exports.randomUID = randomUID;
19673
+ exports.toUInt32 = toUInt32;
19674
+ exports.toInt32 = toInt32;
19675
+ exports.shiftLeftUnsigned = shiftLeftUnsigned;
19676
+ exports.groupNumber = groupNumber;
19677
+ exports.elementNumber = elementNumber;
19678
+ exports.bytesToShortBE = bytesToShortBE;
19679
+ exports.bytesToShortLE = bytesToShortLE;
19680
+ exports.bytesToShort = bytesToShort;
19681
+ exports.bytesToUShortBE = bytesToUShortBE;
19682
+ exports.bytesToUShortLE = bytesToUShortLE;
19683
+ exports.bytesToUShort = bytesToUShort;
19684
+ exports.bytesToVR = bytesToVR;
19685
+ exports.bytesToIntBE = bytesToIntBE;
19686
+ exports.bytesToIntLE = bytesToIntLE;
19687
+ exports.bytesToInt = bytesToInt;
19688
+ exports.bytesToUIntBE = bytesToUIntBE;
19689
+ exports.bytesToUIntLE = bytesToUIntLE;
19690
+ exports.bytesToUInt = bytesToUInt;
19691
+ exports.bytesToTagBE = bytesToTagBE;
19692
+ exports.bytesToTagLE = bytesToTagLE;
19693
+ exports.bytesToTag = bytesToTag;
19694
+ exports.bytesToFloatBE = bytesToFloatBE;
19695
+ exports.bytesToFloatLE = bytesToFloatLE;
19696
+ exports.bytesToFloat = bytesToFloat;
19697
+ exports.bytesToDoubleBE = bytesToDoubleBE;
19698
+ exports.bytesToDoubleLE = bytesToDoubleLE;
19699
+ exports.bytesToDouble = bytesToDouble;
19700
+ exports.intToBytesBE = intToBytesBE;
19701
+ exports.intToBytesLE = intToBytesLE;
19702
+ exports.shortToBytesBE = shortToBytesBE;
19703
+ exports.shortToBytesLE = shortToBytesLE;
19704
+ exports.shortToBytes = shortToBytes;
19705
+ exports.intToBytes = intToBytes;
19706
+ exports.tagToBytesBE = tagToBytesBE;
19707
+ exports.tagToBytesLE = tagToBytesLE;
19708
+ exports.tagToBytes = tagToBytes;
19709
+ exports.floatToBytes = floatToBytes;
19710
+ exports.doubleToBytes = doubleToBytes;
19711
+ exports.tagToString = tagToString;
19712
+ exports.trim = trim;
19713
+ exports.padToEvenLength = padToEvenLength;
19714
+ exports.item = item;
19715
+ exports.itemDelimitation = itemDelimitation;
19716
+ exports.sequenceDelimitation = sequenceDelimitation;
19717
+ exports.sequenceDelimitationNonZeroLength = sequenceDelimitationNonZeroLength;
19718
+ exports.isFileMetaInformation = isFileMetaInformation;
19719
+ exports.isGroupLength = isGroupLength;
19720
+ exports.isDeflated = isDeflated;
19721
+ exports.createUID = createUID;
19722
+ exports.createUIDFromRoot = createUIDFromRoot;
19723
+ exports.createNameBasedUID = createNameBasedUID;
19724
+ exports.createNameBasedUIDFromRoot = createNameBasedUIDFromRoot;
19725
+ exports.pipe = pipe;
19676
19726
  const js_joda_1 = __webpack_require__(/*! js-joda */ "js-joda");
19677
19727
  const multipipe_1 = __importDefault(__webpack_require__(/*! multipipe */ "./node_modules/multipipe/index.js"));
19678
19728
  const uuid_1 = __webpack_require__(/*! uuid */ "./node_modules/uuid/dist/commonjs-browser/index.js");
@@ -19686,33 +19736,27 @@ exports.zero4Bytes = Buffer.from([0, 0, 0, 0]);
19686
19736
  function concat(a, b) {
19687
19737
  return Buffer.concat([a, b], a.length + b.length);
19688
19738
  }
19689
- exports.concat = concat;
19690
19739
  function concatv(...buffers) {
19691
19740
  return Buffer.concat(buffers);
19692
19741
  }
19693
- exports.concatv = concatv;
19694
19742
  function flatten(array) {
19695
19743
  return [].concat(...array);
19696
19744
  }
19697
- exports.flatten = flatten;
19698
19745
  function appendToArray(object, array) {
19699
19746
  const newArray = array.slice();
19700
19747
  newArray.push(object);
19701
19748
  return newArray;
19702
19749
  }
19703
- exports.appendToArray = appendToArray;
19704
19750
  function prependToArray(object, array) {
19705
19751
  const newArray = array.slice();
19706
19752
  newArray.unshift(object);
19707
19753
  return newArray;
19708
19754
  }
19709
- exports.prependToArray = prependToArray;
19710
19755
  function concatArrays(array1, array2) {
19711
19756
  const newArray = array1.slice();
19712
19757
  array2.forEach((i) => newArray.push(i));
19713
19758
  return newArray;
19714
19759
  }
19715
- exports.concatArrays = concatArrays;
19716
19760
  const uidRoot = '2.25';
19717
19761
  const uuidNamespace = 'd181d67b-0a1c-45bf-8616-070f1bb0d0cf';
19718
19762
  function hexToDec(s) {
@@ -19732,167 +19776,127 @@ function hexToDec(s) {
19732
19776
  }
19733
19777
  return digits.reverse().join('');
19734
19778
  }
19735
- exports.hexToDec = hexToDec;
19736
19779
  function toUID(root, uuid) {
19737
19780
  const hexStr = uuid.replace(/-/g, '');
19738
19781
  const docStr = hexToDec(hexStr).replace(/^0+/, '');
19739
19782
  return (root + '.' + docStr).substring(0, 64);
19740
19783
  }
19741
- exports.toUID = toUID;
19742
19784
  function nameBasedUID(name, root) {
19743
19785
  return toUID(root, (0, uuid_1.v5)(name, uuidNamespace));
19744
19786
  }
19745
- exports.nameBasedUID = nameBasedUID;
19746
19787
  function randomUID(root) {
19747
19788
  return toUID(root, (0, uuid_1.v4)());
19748
19789
  }
19749
- exports.randomUID = randomUID;
19750
19790
  exports.multiValueDelimiter = '\\';
19751
19791
  exports.emptyBuffer = Buffer.alloc(0);
19752
19792
  function toUInt32(num) {
19753
19793
  return num >>> 0;
19754
19794
  }
19755
- exports.toUInt32 = toUInt32;
19756
19795
  function toInt32(num) {
19757
19796
  return num >> 0;
19758
19797
  }
19759
- exports.toInt32 = toInt32;
19760
19798
  function shiftLeftUnsigned(num, n) {
19761
19799
  return toUInt32(num << n);
19762
19800
  }
19763
- exports.shiftLeftUnsigned = shiftLeftUnsigned;
19764
19801
  function groupNumber(tag) {
19765
19802
  return tag >>> 16;
19766
19803
  }
19767
- exports.groupNumber = groupNumber;
19768
19804
  function elementNumber(tag) {
19769
19805
  return tag & 0xffff;
19770
19806
  }
19771
- exports.elementNumber = elementNumber;
19772
19807
  function bytesToShortBE(bytes) {
19773
19808
  return bytes.readInt16BE(0);
19774
19809
  }
19775
- exports.bytesToShortBE = bytesToShortBE;
19776
19810
  function bytesToShortLE(bytes) {
19777
19811
  return bytes.readInt16LE(0);
19778
19812
  }
19779
- exports.bytesToShortLE = bytesToShortLE;
19780
19813
  function bytesToShort(bytes, bigEndian = false) {
19781
19814
  return bigEndian ? bytesToShortBE(bytes) : bytesToShortLE(bytes);
19782
19815
  }
19783
- exports.bytesToShort = bytesToShort;
19784
19816
  function bytesToUShortBE(bytes) {
19785
19817
  return bytes.readUInt16BE(0);
19786
19818
  }
19787
- exports.bytesToUShortBE = bytesToUShortBE;
19788
19819
  function bytesToUShortLE(bytes) {
19789
19820
  return bytes.readUInt16LE(0);
19790
19821
  }
19791
- exports.bytesToUShortLE = bytesToUShortLE;
19792
19822
  function bytesToUShort(bytes, bigEndian = false) {
19793
19823
  return bigEndian ? bytesToUShortBE(bytes) : bytesToUShortLE(bytes);
19794
19824
  }
19795
- exports.bytesToUShort = bytesToUShort;
19796
19825
  function bytesToVR(bytes) {
19797
19826
  return bytesToUShortBE(bytes);
19798
19827
  }
19799
- exports.bytesToVR = bytesToVR;
19800
19828
  function bytesToIntBE(bytes) {
19801
19829
  return bytes.readInt32BE(0);
19802
19830
  }
19803
- exports.bytesToIntBE = bytesToIntBE;
19804
19831
  function bytesToIntLE(bytes) {
19805
19832
  return bytes.readInt32LE(0);
19806
19833
  }
19807
- exports.bytesToIntLE = bytesToIntLE;
19808
19834
  function bytesToInt(bytes, bigEndian = false) {
19809
19835
  return bigEndian ? bytesToIntBE(bytes) : bytesToIntLE(bytes);
19810
19836
  }
19811
- exports.bytesToInt = bytesToInt;
19812
19837
  function bytesToUIntBE(bytes) {
19813
19838
  return bytes.readUInt32BE(0);
19814
19839
  }
19815
- exports.bytesToUIntBE = bytesToUIntBE;
19816
19840
  function bytesToUIntLE(bytes) {
19817
19841
  return bytes.readUInt32LE(0);
19818
19842
  }
19819
- exports.bytesToUIntLE = bytesToUIntLE;
19820
19843
  function bytesToUInt(bytes, bigEndian = false) {
19821
19844
  return bigEndian ? bytesToUIntBE(bytes) : bytesToUIntLE(bytes);
19822
19845
  }
19823
- exports.bytesToUInt = bytesToUInt;
19824
19846
  function bytesToTagBE(bytes) {
19825
19847
  return bytesToUIntBE(bytes);
19826
19848
  }
19827
- exports.bytesToTagBE = bytesToTagBE;
19828
19849
  function bytesToTagLE(bytes) {
19829
19850
  return shiftLeftUnsigned(bytes.readUInt16LE(0), 16) + bytes.readUInt16LE(2);
19830
19851
  }
19831
- exports.bytesToTagLE = bytesToTagLE;
19832
19852
  function bytesToTag(bytes, bigEndian = false) {
19833
19853
  return bigEndian ? bytesToTagBE(bytes) : bytesToTagLE(bytes);
19834
19854
  }
19835
- exports.bytesToTag = bytesToTag;
19836
19855
  function bytesToFloatBE(bytes) {
19837
19856
  return bytes.readFloatBE(0);
19838
19857
  }
19839
- exports.bytesToFloatBE = bytesToFloatBE;
19840
19858
  function bytesToFloatLE(bytes) {
19841
19859
  return bytes.readFloatLE(0);
19842
19860
  }
19843
- exports.bytesToFloatLE = bytesToFloatLE;
19844
19861
  function bytesToFloat(bytes, bigEndian = false) {
19845
19862
  return bigEndian ? bytesToFloatBE(bytes) : bytesToFloatLE(bytes);
19846
19863
  }
19847
- exports.bytesToFloat = bytesToFloat;
19848
19864
  function bytesToDoubleBE(bytes) {
19849
19865
  return bytes.readDoubleBE(0);
19850
19866
  }
19851
- exports.bytesToDoubleBE = bytesToDoubleBE;
19852
19867
  function bytesToDoubleLE(bytes) {
19853
19868
  return bytes.readDoubleLE(0);
19854
19869
  }
19855
- exports.bytesToDoubleLE = bytesToDoubleLE;
19856
19870
  function bytesToDouble(bytes, bigEndian = false) {
19857
19871
  return bigEndian ? bytesToDoubleBE(bytes) : bytesToDoubleLE(bytes);
19858
19872
  }
19859
- exports.bytesToDouble = bytesToDouble;
19860
19873
  function intToBytesBE(i) {
19861
19874
  return Buffer.from([i >> 24, i >> 16, i >> 8, i]);
19862
19875
  }
19863
- exports.intToBytesBE = intToBytesBE;
19864
19876
  function intToBytesLE(i) {
19865
19877
  return Buffer.from([i, i >> 8, i >> 16, i >> 24]);
19866
19878
  }
19867
- exports.intToBytesLE = intToBytesLE;
19868
19879
  function shortToBytesBE(i) {
19869
19880
  return Buffer.from([i >> 8, i]);
19870
19881
  }
19871
- exports.shortToBytesBE = shortToBytesBE;
19872
19882
  function shortToBytesLE(i) {
19873
19883
  return Buffer.from([i, i >> 8]);
19874
19884
  }
19875
- exports.shortToBytesLE = shortToBytesLE;
19876
19885
  function shortToBytes(i, bigEndian = false) {
19877
19886
  return bigEndian ? shortToBytesBE(i) : shortToBytesLE(i);
19878
19887
  }
19879
- exports.shortToBytes = shortToBytes;
19880
19888
  function intToBytes(i, bigEndian = false) {
19881
19889
  return bigEndian ? intToBytesBE(i) : intToBytesLE(i);
19882
19890
  }
19883
- exports.intToBytes = intToBytes;
19884
19891
  function tagToBytesBE(tag) {
19885
19892
  return intToBytesBE(tag);
19886
19893
  }
19887
- exports.tagToBytesBE = tagToBytesBE;
19888
19894
  function tagToBytesLE(tag) {
19889
19895
  return Buffer.from([tag >> 16, tag >> 24, tag, tag >> 8]);
19890
19896
  }
19891
- exports.tagToBytesLE = tagToBytesLE;
19892
19897
  function tagToBytes(tag, bigEndian = false) {
19893
19898
  return bigEndian ? tagToBytesBE(tag) : tagToBytesLE(tag);
19894
19899
  }
19895
- exports.tagToBytes = tagToBytes;
19896
19900
  function floatToBytes(f, bigEndian = false) {
19897
19901
  const buf = Buffer.allocUnsafe(4);
19898
19902
  if (bigEndian) {
@@ -19903,7 +19907,6 @@ function floatToBytes(f, bigEndian = false) {
19903
19907
  }
19904
19908
  return buf;
19905
19909
  }
19906
- exports.floatToBytes = floatToBytes;
19907
19910
  function doubleToBytes(f, bigEndian = false) {
19908
19911
  const buf = Buffer.allocUnsafe(8);
19909
19912
  if (bigEndian) {
@@ -19914,21 +19917,17 @@ function doubleToBytes(f, bigEndian = false) {
19914
19917
  }
19915
19918
  return buf;
19916
19919
  }
19917
- exports.doubleToBytes = doubleToBytes;
19918
19920
  function tagToString(tag) {
19919
19921
  const hex = ('00000000' + tag.toString(16)).slice(-8);
19920
19922
  return '(' + hex.slice(0, 4) + ',' + hex.slice(4, 8) + ')';
19921
19923
  }
19922
- exports.tagToString = tagToString;
19923
19924
  function trim(s) {
19924
19925
  return s.replace(/^[\x00-\x20]*/g, '').replace(/[\x00-\x20]*$/g, '');
19925
19926
  }
19926
- exports.trim = trim;
19927
19927
  function padToEvenLength(bytes, tagOrVR) {
19928
19928
  const vr = isNaN(tagOrVR) ? tagOrVR : lookup_1.Lookup.vrOf(tagOrVR);
19929
19929
  return (bytes.length & 1) !== 0 ? concat(bytes, Buffer.from([vr.paddingByte])) : bytes;
19930
19930
  }
19931
- exports.padToEvenLength = padToEvenLength;
19932
19931
  exports.itemLE = concat(tagToBytesLE(tag_1.Tag.Item), intToBytesLE(exports.indeterminateLength));
19933
19932
  exports.itemBE = concat(tagToBytesBE(tag_1.Tag.Item), intToBytesBE(exports.indeterminateLength));
19934
19933
  function item(length = exports.indeterminateLength, bigEndian = false) {
@@ -19938,57 +19937,45 @@ function item(length = exports.indeterminateLength, bigEndian = false) {
19938
19937
  : exports.itemLE
19939
19938
  : concat(tagToBytes(tag_1.Tag.Item, bigEndian), intToBytes(length, bigEndian));
19940
19939
  }
19941
- exports.item = item;
19942
19940
  exports.itemDelimitationLE = concat(tagToBytesLE(tag_1.Tag.ItemDelimitationItem), exports.zero4Bytes);
19943
19941
  exports.itemDelimitationBE = concat(tagToBytesBE(tag_1.Tag.ItemDelimitationItem), exports.zero4Bytes);
19944
19942
  function itemDelimitation(bigEndian = false) {
19945
19943
  return bigEndian ? exports.itemDelimitationBE : exports.itemDelimitationLE;
19946
19944
  }
19947
- exports.itemDelimitation = itemDelimitation;
19948
19945
  exports.sequenceDelimitationLE = concat(tagToBytesLE(tag_1.Tag.SequenceDelimitationItem), exports.zero4Bytes);
19949
19946
  exports.sequenceDelimitationBE = concat(tagToBytesBE(tag_1.Tag.SequenceDelimitationItem), exports.zero4Bytes);
19950
19947
  function sequenceDelimitation(bigEndian = false) {
19951
19948
  return bigEndian ? exports.sequenceDelimitationBE : exports.sequenceDelimitationLE;
19952
19949
  }
19953
- exports.sequenceDelimitation = sequenceDelimitation;
19954
19950
  function sequenceDelimitationNonZeroLength(bigEndian = false) {
19955
19951
  return concatv(tagToBytes(tag_1.Tag.SequenceDelimitationItem, bigEndian), intToBytes(0x00000010, bigEndian));
19956
19952
  }
19957
- exports.sequenceDelimitationNonZeroLength = sequenceDelimitationNonZeroLength;
19958
19953
  function isFileMetaInformation(tag) {
19959
19954
  return (tag & 0xffff0000) === 0x00020000;
19960
19955
  }
19961
- exports.isFileMetaInformation = isFileMetaInformation;
19962
19956
  function isGroupLength(tag) {
19963
19957
  return elementNumber(tag) === 0;
19964
19958
  }
19965
- exports.isGroupLength = isGroupLength;
19966
19959
  function isDeflated(transferSyntaxUid) {
19967
19960
  return transferSyntaxUid === uid_1.UID.DeflatedExplicitVRLittleEndian || transferSyntaxUid === uid_1.UID.JPIPReferencedDeflate;
19968
19961
  }
19969
- exports.isDeflated = isDeflated;
19970
19962
  exports.systemZone = js_joda_1.ZoneId.SYSTEM;
19971
19963
  exports.defaultCharacterSet = CS.defaultCharacterSet;
19972
19964
  function createUID() {
19973
19965
  return randomUID(uidRoot);
19974
19966
  }
19975
- exports.createUID = createUID;
19976
19967
  function createUIDFromRoot(root) {
19977
19968
  return randomUID(root);
19978
19969
  }
19979
- exports.createUIDFromRoot = createUIDFromRoot;
19980
19970
  function createNameBasedUID(name) {
19981
19971
  return nameBasedUID(name, uidRoot);
19982
19972
  }
19983
- exports.createNameBasedUID = createNameBasedUID;
19984
19973
  function createNameBasedUIDFromRoot(name, root) {
19985
19974
  return nameBasedUID(name, root);
19986
19975
  }
19987
- exports.createNameBasedUIDFromRoot = createNameBasedUIDFromRoot;
19988
19976
  function pipe(...streams) {
19989
19977
  return (0, multipipe_1.default)(streams);
19990
19978
  }
19991
- exports.pipe = pipe;
19992
19979
 
19993
19980
 
19994
19981
  /***/ }),
@@ -20179,7 +20166,7 @@ exports.ByteParser = ByteParser;
20179
20166
 
20180
20167
  Object.defineProperty(exports, "__esModule", ({ value: true }));
20181
20168
  exports.defaultCharacterSet = exports.CharacterSets = void 0;
20182
- const dicom_character_set_1 = __webpack_require__(/*! dicom-character-set */ "./node_modules/dicom-character-set/dist/dicom-character-set.min.js");
20169
+ const dicom_character_set_1 = __webpack_require__(/*! dicom-character-set */ "./node_modules/dicom-character-set/dist/dicom-character-set.min.cjs");
20183
20170
  const vr_1 = __webpack_require__(/*! ./vr */ "./src/vr.ts");
20184
20171
  class CharacterSets {
20185
20172
  static isVrAffectedBySpecificCharacterSet(vr) {
@@ -20230,7 +20217,8 @@ exports.defaultCharacterSet = CharacterSets.defaultOnly();
20230
20217
  "use strict";
20231
20218
 
20232
20219
  Object.defineProperty(exports, "__esModule", ({ value: true }));
20233
- exports.collectFromTagPathsFlow = exports.collectFlow = void 0;
20220
+ exports.collectFlow = collectFlow;
20221
+ exports.collectFromTagPathsFlow = collectFromTagPathsFlow;
20234
20222
  const base_1 = __webpack_require__(/*! ./base */ "./src/base.ts");
20235
20223
  const dicom_flow_1 = __webpack_require__(/*! ./dicom-flow */ "./src/dicom-flow.ts");
20236
20224
  const dicom_elements_1 = __webpack_require__(/*! ./dicom-elements */ "./src/dicom-elements.ts");
@@ -20272,8 +20260,8 @@ function collectFlow(tagCondition, stopCondition, label, maxBufferSize = 1000000
20272
20260
  if (maxBufferSize > 0 && this.currentBufferSize > maxBufferSize) {
20273
20261
  throw Error('Error collecting elements: max buffer size exceeded');
20274
20262
  }
20275
- if (part !== dicom_flow_1.valueChunkMarker &&
20276
- part !== dicom_flow_1.sequenceDelimitationPartMarker &&
20263
+ if (!(part instanceof dicom_flow_1.ValueChunkMarker) &&
20264
+ !(part instanceof dicom_flow_1.SequenceDelimitationPartMarker) &&
20277
20265
  !(part instanceof dicom_flow_1.ItemDelimitationPartMarker)) {
20278
20266
  this.buffer.push(part);
20279
20267
  this.currentBufferSize += part.bytes.length;
@@ -20324,7 +20312,7 @@ function collectFlow(tagCondition, stopCondition, label, maxBufferSize = 1000000
20324
20312
  this.maybeAdd(new dicom_elements_1.ItemDelimitationElement(part.bigEndian));
20325
20313
  return [];
20326
20314
  }
20327
- if (part === dicom_flow_1.sequenceDelimitationPartMarker) {
20315
+ if (part instanceof dicom_flow_1.SequenceDelimitationPartMarker) {
20328
20316
  return [];
20329
20317
  }
20330
20318
  if (part instanceof dicom_parts_1.SequenceDelimitationPart) {
@@ -20336,14 +20324,12 @@ function collectFlow(tagCondition, stopCondition, label, maxBufferSize = 1000000
20336
20324
  }
20337
20325
  })());
20338
20326
  }
20339
- exports.collectFlow = collectFlow;
20340
20327
  function collectFromTagPathsFlow(allowlist, label, maxBufferSize) {
20341
20328
  const maxTag = allowlist.length > 0 ? Math.max(...allowlist.map((t) => t.head().tag())) : 0;
20342
20329
  const tagCondition = (currentPath) => allowlist.find((t) => t.hasTrunk(currentPath) || t.isTrunkOf(currentPath)) !== undefined;
20343
20330
  const stopCondition = (tagPath) => allowlist.length === 0 || (tagPath.isRoot() && tagPath.tag() > maxTag);
20344
20331
  return collectFlow(tagCondition, stopCondition, label, maxBufferSize);
20345
20332
  }
20346
- exports.collectFromTagPathsFlow = collectFromTagPathsFlow;
20347
20333
 
20348
20334
 
20349
20335
  /***/ }),
@@ -20825,7 +20811,8 @@ exports.Fragments = Fragments;
20825
20811
  "use strict";
20826
20812
 
20827
20813
  Object.defineProperty(exports, "__esModule", ({ value: true }));
20828
- exports.GroupLengthWarnings = exports.TagPathTracking = exports.InSequence = exports.GuaranteedDelimitationEvents = exports.itemDelimitationPartMarker = exports.ItemDelimitationPartMarker = exports.sequenceDelimitationPartMarker = exports.GuaranteedValueEvent = exports.valueChunkMarker = exports.InFragments = exports.EndEvent = exports.dicomEndMarker = exports.StartEvent = exports.dicomStartMarker = exports.DeferToPartFlow = exports.IdentityFlow = exports.DicomFlow = exports.createFlow = void 0;
20814
+ exports.GroupLengthWarnings = exports.TagPathTracking = exports.InSequence = exports.GuaranteedDelimitationEvents = exports.ItemDelimitationPartMarker = exports.SequenceDelimitationPartMarker = exports.GuaranteedValueEvent = exports.ValueChunkMarker = exports.InFragments = exports.EndEvent = exports.dicomEndMarker = exports.StartEvent = exports.dicomStartMarker = exports.DeferToPartFlow = exports.IdentityFlow = exports.DicomFlow = void 0;
20815
+ exports.createFlow = createFlow;
20829
20816
  const base_1 = __webpack_require__(/*! ./base */ "./src/base.ts");
20830
20817
  const flows_1 = __webpack_require__(/*! ./flows */ "./src/flows.ts");
20831
20818
  const dicom_parts_1 = __webpack_require__(/*! ./dicom-parts */ "./src/dicom-parts.ts");
@@ -20834,7 +20821,6 @@ const tag_path_1 = __webpack_require__(/*! ./tag-path */ "./src/tag-path.ts");
20834
20821
  function createFlow(flow) {
20835
20822
  return (0, base_1.pipe)(flow.baseFlow(), (0, flows_1.flatMapFlow)(flow.handlePart.bind(flow)));
20836
20823
  }
20837
- exports.createFlow = createFlow;
20838
20824
  class DicomFlow {
20839
20825
  baseFlow() {
20840
20826
  return (0, flows_1.identityFlow)(true);
@@ -21001,49 +20987,48 @@ const InFragments = (Super) => class extends Super {
21001
20987
  };
21002
20988
  exports.InFragments = InFragments;
21003
20989
  class ValueChunkMarker extends dicom_parts_1.ValueChunk {
21004
- constructor() {
21005
- super(false, base_1.emptyBuffer, true);
20990
+ constructor(bigEndian) {
20991
+ super(bigEndian, base_1.emptyBuffer, true);
21006
20992
  }
21007
20993
  toString() {
21008
- return 'Value Chunk Marker []';
20994
+ return `Value Chunk Marker [bigEndian=${this.bigEndian}]`;
21009
20995
  }
21010
20996
  }
21011
- exports.valueChunkMarker = new ValueChunkMarker();
20997
+ exports.ValueChunkMarker = ValueChunkMarker;
21012
20998
  const GuaranteedValueEvent = (Super) => class extends Super {
21013
20999
  onHeader(part) {
21014
21000
  return part.length === 0
21015
- ? super.onHeader(part).concat(this.onValueChunk(exports.valueChunkMarker))
21001
+ ? super.onHeader(part).concat(this.onValueChunk(new ValueChunkMarker(part.bigEndian)))
21016
21002
  : super.onHeader(part);
21017
21003
  }
21018
21004
  onItem(part) {
21019
21005
  return this.inFragments && part.length === 0
21020
- ? super.onItem(part).concat(this.onValueChunk(exports.valueChunkMarker))
21006
+ ? super.onItem(part).concat(this.onValueChunk(new ValueChunkMarker(part.bigEndian)))
21021
21007
  : super.onItem(part);
21022
21008
  }
21023
21009
  onValueChunk(part) {
21024
- return super.onValueChunk(part).filter((c) => c !== exports.valueChunkMarker);
21010
+ return super.onValueChunk(part).filter((c) => !(c instanceof ValueChunkMarker));
21025
21011
  }
21026
21012
  };
21027
21013
  exports.GuaranteedValueEvent = GuaranteedValueEvent;
21028
21014
  class SequenceDelimitationPartMarker extends dicom_parts_1.SequenceDelimitationPart {
21029
- constructor() {
21030
- super(false, base_1.emptyBuffer);
21015
+ constructor(bigEndian) {
21016
+ super(bigEndian, base_1.emptyBuffer);
21031
21017
  }
21032
21018
  toString() {
21033
- return 'SequenceDelimitationMarker []';
21019
+ return `SequenceDelimitationMarker [bigEndian=${this.bigEndian}]`;
21034
21020
  }
21035
21021
  }
21036
- exports.sequenceDelimitationPartMarker = new SequenceDelimitationPartMarker();
21022
+ exports.SequenceDelimitationPartMarker = SequenceDelimitationPartMarker;
21037
21023
  class ItemDelimitationPartMarker extends dicom_parts_1.ItemDelimitationPart {
21038
- constructor() {
21039
- super(false, base_1.emptyBuffer);
21024
+ constructor(bigEndian) {
21025
+ super(bigEndian, base_1.emptyBuffer);
21040
21026
  }
21041
21027
  toString() {
21042
- return 'ItemDelimitationMarker []';
21028
+ return `ItemDelimitationMarker [bigEndian=${this.bigEndian}]`;
21043
21029
  }
21044
21030
  }
21045
21031
  exports.ItemDelimitationPartMarker = ItemDelimitationPartMarker;
21046
- exports.itemDelimitationPartMarker = new ItemDelimitationPartMarker();
21047
21032
  /**
21048
21033
  * Depends on InFragments
21049
21034
  */
@@ -21065,10 +21050,10 @@ const GuaranteedDelimitationEvents = (Super) => class extends Super {
21065
21050
  return super.onItem(part).concat(this.maybeDelimit());
21066
21051
  }
21067
21052
  onSequenceDelimitation(part) {
21068
- if (this.partStack.length > 0 && part != exports.sequenceDelimitationPartMarker && !this.inFragments) {
21053
+ if (this.partStack.length > 0 && !(part instanceof SequenceDelimitationPartMarker) && !this.inFragments) {
21069
21054
  this.partStack.shift();
21070
21055
  }
21071
- return this.subtractAndEmit(part, (p) => super.onSequenceDelimitation(p).filter((d) => d !== exports.sequenceDelimitationPartMarker));
21056
+ return this.subtractAndEmit(part, (p) => super.onSequenceDelimitation(p).filter((d) => !(d instanceof SequenceDelimitationPartMarker)));
21072
21057
  }
21073
21058
  onItemDelimitation(part) {
21074
21059
  if (this.partStack.length > 0 && !(part instanceof ItemDelimitationPartMarker)) {
@@ -21102,8 +21087,8 @@ const GuaranteedDelimitationEvents = (Super) => class extends Super {
21102
21087
  const inactive = this.partStack.slice(0, splitIndex);
21103
21088
  this.partStack = this.partStack.slice(splitIndex);
21104
21089
  const out = inactive.map((i) => i.part instanceof dicom_parts_1.ItemPart
21105
- ? this.onItemDelimitation(exports.itemDelimitationPartMarker)
21106
- : this.onSequenceDelimitation(exports.sequenceDelimitationPartMarker));
21090
+ ? this.onItemDelimitation(new ItemDelimitationPartMarker(i.part.bigEndian))
21091
+ : this.onSequenceDelimitation(new SequenceDelimitationPartMarker(i.part.bigEndian)));
21107
21092
  return [].concat(...out);
21108
21093
  }
21109
21094
  subtractAndEmit(part, handle) {
@@ -21245,7 +21230,20 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
21245
21230
  return (mod && mod.__esModule) ? mod : { "default": mod };
21246
21231
  };
21247
21232
  Object.defineProperty(exports, "__esModule", ({ value: true }));
21248
- exports.deflateDatasetFlow = exports.toUtf8Flow = exports.toIndeterminateLengthSequences = exports.fmiGroupLengthFlow = exports.validateContextFlow = exports.ValidationContext = exports.headerFilter = exports.fmiDiscardFilter = exports.groupLengthDiscardFilter = exports.denyFilter = exports.allowFilter = exports.tagFilter = exports.stopTagFlow = exports.toBytesFlow = void 0;
21233
+ exports.ValidationContext = void 0;
21234
+ exports.toBytesFlow = toBytesFlow;
21235
+ exports.stopTagFlow = stopTagFlow;
21236
+ exports.tagFilter = tagFilter;
21237
+ exports.allowFilter = allowFilter;
21238
+ exports.denyFilter = denyFilter;
21239
+ exports.groupLengthDiscardFilter = groupLengthDiscardFilter;
21240
+ exports.fmiDiscardFilter = fmiDiscardFilter;
21241
+ exports.headerFilter = headerFilter;
21242
+ exports.validateContextFlow = validateContextFlow;
21243
+ exports.fmiGroupLengthFlow = fmiGroupLengthFlow;
21244
+ exports.toIndeterminateLengthSequences = toIndeterminateLengthSequences;
21245
+ exports.toUtf8Flow = toUtf8Flow;
21246
+ exports.deflateDatasetFlow = deflateDatasetFlow;
21249
21247
  const stream_1 = __webpack_require__(/*! stream */ "./node_modules/stream-browserify/index.js");
21250
21248
  const zlib_1 = __importDefault(__webpack_require__(/*! zlib */ "./node_modules/browserify-zlib/lib/index.js"));
21251
21249
  const base_1 = __webpack_require__(/*! ./base */ "./src/base.ts");
@@ -21270,7 +21268,6 @@ function toBytesFlow() {
21270
21268
  },
21271
21269
  });
21272
21270
  }
21273
- exports.toBytesFlow = toBytesFlow;
21274
21271
  function stopTagFlow(tag) {
21275
21272
  let endReached = false;
21276
21273
  return (0, base_1.pipe)((0, dicom_flow_1.createFlow)(new (class extends (0, dicom_flow_1.InSequence)((0, dicom_flow_1.GuaranteedDelimitationEvents)((0, dicom_flow_1.InFragments)(dicom_flow_1.IdentityFlow))) {
@@ -21294,7 +21291,6 @@ function stopTagFlow(tag) {
21294
21291
  },
21295
21292
  }));
21296
21293
  }
21297
- exports.stopTagFlow = stopTagFlow;
21298
21294
  function tagFilter(keepCondition, defaultCondition = () => true, logGroupLengthWarnings = false) {
21299
21295
  return (0, dicom_flow_1.createFlow)(new (class extends (0, dicom_flow_1.TagPathTracking)((0, dicom_flow_1.GuaranteedDelimitationEvents)((0, dicom_flow_1.GuaranteedValueEvent)((0, dicom_flow_1.GroupLengthWarnings)((0, dicom_flow_1.InFragments)(dicom_flow_1.DeferToPartFlow))))) {
21300
21296
  constructor() {
@@ -21308,23 +21304,18 @@ function tagFilter(keepCondition, defaultCondition = () => true, logGroupLengthW
21308
21304
  }
21309
21305
  })());
21310
21306
  }
21311
- exports.tagFilter = tagFilter;
21312
21307
  function allowFilter(allowlist, defaultCondition, logGroupLengthWarnings) {
21313
21308
  return tagFilter((currentPath) => allowlist.some((t) => t.hasTrunk(currentPath) || t.isTrunkOf(currentPath)), defaultCondition, logGroupLengthWarnings);
21314
21309
  }
21315
- exports.allowFilter = allowFilter;
21316
21310
  function denyFilter(denylist, defaultCondition, logGroupLengthWarnings) {
21317
21311
  return tagFilter((currentPath) => !denylist.some((t) => t.isTrunkOf(currentPath)), defaultCondition, logGroupLengthWarnings);
21318
21312
  }
21319
- exports.denyFilter = denyFilter;
21320
21313
  function groupLengthDiscardFilter() {
21321
21314
  return tagFilter((tagPath) => !(0, base_1.isGroupLength)(tagPath.tag()) || (0, base_1.isFileMetaInformation)(tagPath.tag()));
21322
21315
  }
21323
- exports.groupLengthDiscardFilter = groupLengthDiscardFilter;
21324
21316
  function fmiDiscardFilter() {
21325
21317
  return tagFilter((tagPath) => !(0, base_1.isFileMetaInformation)(tagPath.tag()), () => false);
21326
21318
  }
21327
- exports.fmiDiscardFilter = fmiDiscardFilter;
21328
21319
  function headerFilter(keepCondition, logGroupLengthWarnings = false) {
21329
21320
  return (0, dicom_flow_1.createFlow)(new (class extends (0, dicom_flow_1.GroupLengthWarnings)((0, dicom_flow_1.InFragments)(dicom_flow_1.DeferToPartFlow)) {
21330
21321
  constructor() {
@@ -21345,7 +21336,6 @@ function headerFilter(keepCondition, logGroupLengthWarnings = false) {
21345
21336
  }
21346
21337
  })());
21347
21338
  }
21348
- exports.headerFilter = headerFilter;
21349
21339
  class ValidationContext {
21350
21340
  constructor(sopClassUID, transferSyntaxUID) {
21351
21341
  this.sopClassUID = sopClassUID;
@@ -21387,7 +21377,6 @@ function validateContextFlow(contexts) {
21387
21377
  }
21388
21378
  })()));
21389
21379
  }
21390
- exports.validateContextFlow = validateContextFlow;
21391
21380
  function fmiGroupLengthFlow() {
21392
21381
  return (0, base_1.pipe)((0, collect_flow_1.collectFlow)((tagPath) => tagPath.isRoot() && (0, base_1.isFileMetaInformation)(tagPath.tag()), (tagPath) => !(0, base_1.isFileMetaInformation)(tagPath.tag()), 'fmigrouplength'), tagFilter((tagPath) => !(0, base_1.isFileMetaInformation)(tagPath.tag()), () => true, false), (0, dicom_flow_1.createFlow)(new (class extends (0, dicom_flow_1.EndEvent)(dicom_flow_1.DeferToPartFlow) {
21393
21382
  constructor() {
@@ -21424,7 +21413,6 @@ function fmiGroupLengthFlow() {
21424
21413
  }
21425
21414
  })()));
21426
21415
  }
21427
- exports.fmiGroupLengthFlow = fmiGroupLengthFlow;
21428
21416
  function toIndeterminateLengthSequences() {
21429
21417
  return (0, dicom_flow_1.createFlow)(new (class extends (0, dicom_flow_1.GuaranteedDelimitationEvents)((0, dicom_flow_1.InFragments)(dicom_flow_1.IdentityFlow)) {
21430
21418
  constructor() {
@@ -21463,7 +21451,6 @@ function toIndeterminateLengthSequences() {
21463
21451
  }
21464
21452
  })());
21465
21453
  }
21466
- exports.toIndeterminateLengthSequences = toIndeterminateLengthSequences;
21467
21454
  function toUtf8Flow() {
21468
21455
  return (0, base_1.pipe)((0, collect_flow_1.collectFromTagPathsFlow)([tag_tree_1.TagTree.fromTag(tag_1.Tag.SpecificCharacterSet)], 'toutf8'), (0, modify_flow_1.modifyFlow)([], [new modify_flow_1.TagInsertion(tag_path_1.TagPath.fromTag(tag_1.Tag.SpecificCharacterSet), () => Buffer.from('ISO_IR 192'))]), (0, dicom_flow_1.createFlow)(new (class extends (0, dicom_flow_1.GroupLengthWarnings)((0, dicom_flow_1.InFragments)(dicom_flow_1.IdentityFlow)) {
21469
21456
  constructor() {
@@ -21514,7 +21501,6 @@ function toUtf8Flow() {
21514
21501
  }
21515
21502
  })()));
21516
21503
  }
21517
- exports.toUtf8Flow = toUtf8Flow;
21518
21504
  class DeflateDatasetFlow extends detour_1.Detour {
21519
21505
  constructor() {
21520
21506
  super({ objectMode: true });
@@ -21556,7 +21542,6 @@ class DeflateDatasetFlow extends detour_1.Detour {
21556
21542
  function deflateDatasetFlow() {
21557
21543
  return new DeflateDatasetFlow();
21558
21544
  }
21559
- exports.deflateDatasetFlow = deflateDatasetFlow;
21560
21545
 
21561
21546
 
21562
21547
  /***/ }),
@@ -21779,7 +21764,7 @@ exports.ElementsPart = ElementsPart;
21779
21764
  "use strict";
21780
21765
 
21781
21766
  Object.defineProperty(exports, "__esModule", ({ value: true }));
21782
- exports.elementFlow = void 0;
21767
+ exports.elementFlow = elementFlow;
21783
21768
  const base_1 = __webpack_require__(/*! ./base */ "./src/base.ts");
21784
21769
  const dicom_flow_1 = __webpack_require__(/*! ./dicom-flow */ "./src/dicom-flow.ts");
21785
21770
  const dicom_elements_1 = __webpack_require__(/*! ./dicom-elements */ "./src/dicom-elements.ts");
@@ -21847,7 +21832,6 @@ function elementFlow() {
21847
21832
  }
21848
21833
  })());
21849
21834
  }
21850
- exports.elementFlow = elementFlow;
21851
21835
 
21852
21836
 
21853
21837
  /***/ }),
@@ -21861,7 +21845,7 @@ exports.elementFlow = elementFlow;
21861
21845
  "use strict";
21862
21846
 
21863
21847
  Object.defineProperty(exports, "__esModule", ({ value: true }));
21864
- exports.elementSink = void 0;
21848
+ exports.elementSink = elementSink;
21865
21849
  const stream_1 = __webpack_require__(/*! stream */ "./node_modules/stream-browserify/index.js");
21866
21850
  const elements_builder_1 = __webpack_require__(/*! ./elements-builder */ "./src/elements-builder.ts");
21867
21851
  function elementSink(callback) {
@@ -21883,7 +21867,6 @@ function elementSink(callback) {
21883
21867
  });
21884
21868
  return sink;
21885
21869
  }
21886
- exports.elementSink = elementSink;
21887
21870
 
21888
21871
 
21889
21872
  /***/ }),
@@ -22112,7 +22095,8 @@ exports.ElementsBuilder = ElementsBuilder;
22112
22095
  "use strict";
22113
22096
 
22114
22097
  Object.defineProperty(exports, "__esModule", ({ value: true }));
22115
- exports.Elements = exports.parseZoneOffset = void 0;
22098
+ exports.Elements = void 0;
22099
+ exports.parseZoneOffset = parseZoneOffset;
22116
22100
  const js_joda_1 = __webpack_require__(/*! js-joda */ "js-joda");
22117
22101
  const dicom_elements_1 = __webpack_require__(/*! ./dicom-elements */ "./src/dicom-elements.ts");
22118
22102
  const base_1 = __webpack_require__(/*! ./base */ "./src/base.ts");
@@ -22133,7 +22117,6 @@ function parseZoneOffset(s) {
22133
22117
  return undefined;
22134
22118
  }
22135
22119
  }
22136
- exports.parseZoneOffset = parseZoneOffset;
22137
22120
  class Elements {
22138
22121
  static empty(characterSets = base_1.defaultCharacterSet, zoneOffset = base_1.systemZone) {
22139
22122
  return new Elements(characterSets, zoneOffset, []);
@@ -22746,7 +22729,14 @@ exports.Elements = Elements;
22746
22729
  "use strict";
22747
22730
 
22748
22731
  Object.defineProperty(exports, "__esModule", ({ value: true }));
22749
- exports.flatMapFlow = exports.filterFlow = exports.mapFlow = exports.objectToStringFlow = exports.appendFlow = exports.prependFlow = exports.printFlow = exports.identityFlow = void 0;
22732
+ exports.identityFlow = identityFlow;
22733
+ exports.printFlow = printFlow;
22734
+ exports.prependFlow = prependFlow;
22735
+ exports.appendFlow = appendFlow;
22736
+ exports.objectToStringFlow = objectToStringFlow;
22737
+ exports.mapFlow = mapFlow;
22738
+ exports.filterFlow = filterFlow;
22739
+ exports.flatMapFlow = flatMapFlow;
22750
22740
  const stream_1 = __webpack_require__(/*! stream */ "./node_modules/stream-browserify/index.js");
22751
22741
  function identityFlow(objectMode = false) {
22752
22742
  return new stream_1.Transform({
@@ -22757,7 +22747,6 @@ function identityFlow(objectMode = false) {
22757
22747
  },
22758
22748
  });
22759
22749
  }
22760
- exports.identityFlow = identityFlow;
22761
22750
  function printFlow(objectMode = false) {
22762
22751
  return new stream_1.Transform({
22763
22752
  objectMode,
@@ -22768,7 +22757,6 @@ function printFlow(objectMode = false) {
22768
22757
  },
22769
22758
  });
22770
22759
  }
22771
- exports.printFlow = printFlow;
22772
22760
  function prependFlow(prependChunk, objectMode = false) {
22773
22761
  let hasEmitted = false;
22774
22762
  return new stream_1.Transform({
@@ -22783,7 +22771,6 @@ function prependFlow(prependChunk, objectMode = false) {
22783
22771
  },
22784
22772
  });
22785
22773
  }
22786
- exports.prependFlow = prependFlow;
22787
22774
  function appendFlow(appendChunk, objectMode = false) {
22788
22775
  return new stream_1.Transform({
22789
22776
  objectMode,
@@ -22796,7 +22783,6 @@ function appendFlow(appendChunk, objectMode = false) {
22796
22783
  },
22797
22784
  });
22798
22785
  }
22799
- exports.appendFlow = appendFlow;
22800
22786
  function objectToStringFlow(toStringFunction) {
22801
22787
  return new stream_1.Transform({
22802
22788
  writableObjectMode: true,
@@ -22806,7 +22792,6 @@ function objectToStringFlow(toStringFunction) {
22806
22792
  },
22807
22793
  });
22808
22794
  }
22809
- exports.objectToStringFlow = objectToStringFlow;
22810
22795
  function mapFlow(f) {
22811
22796
  return new stream_1.Transform({
22812
22797
  objectMode: true,
@@ -22821,7 +22806,6 @@ function mapFlow(f) {
22821
22806
  },
22822
22807
  });
22823
22808
  }
22824
- exports.mapFlow = mapFlow;
22825
22809
  function filterFlow(f) {
22826
22810
  return new stream_1.Transform({
22827
22811
  objectMode: true,
@@ -22838,7 +22822,6 @@ function filterFlow(f) {
22838
22822
  },
22839
22823
  });
22840
22824
  }
22841
- exports.filterFlow = filterFlow;
22842
22825
  function flatMapFlow(toChunks) {
22843
22826
  return new stream_1.Transform({
22844
22827
  objectMode: true,
@@ -22855,7 +22838,6 @@ function flatMapFlow(toChunks) {
22855
22838
  },
22856
22839
  });
22857
22840
  }
22858
- exports.flatMapFlow = flatMapFlow;
22859
22841
 
22860
22842
 
22861
22843
  /***/ }),
@@ -22961,8 +22943,8 @@ class Lookup {
22961
22943
  return uid_to_name_1.UIDToName.nameOf(uid);
22962
22944
  }
22963
22945
  }
22964
- Lookup.keywords = Object.keys(tag_1.Tag);
22965
22946
  exports.Lookup = Lookup;
22947
+ Lookup.keywords = Object.keys(tag_1.Tag);
22966
22948
 
22967
22949
 
22968
22950
  /***/ }),
@@ -22976,7 +22958,8 @@ exports.Lookup = Lookup;
22976
22958
  "use strict";
22977
22959
 
22978
22960
  Object.defineProperty(exports, "__esModule", ({ value: true }));
22979
- exports.modifyFlow = exports.TagModificationsPart = exports.TagInsertion = exports.TagModification = void 0;
22961
+ exports.TagModificationsPart = exports.TagInsertion = exports.TagModification = void 0;
22962
+ exports.modifyFlow = modifyFlow;
22980
22963
  const base_1 = __webpack_require__(/*! ./base */ "./src/base.ts");
22981
22964
  const dicom_flow_1 = __webpack_require__(/*! ./dicom-flow */ "./src/dicom-flow.ts");
22982
22965
  const lookup_1 = __webpack_require__(/*! ./lookup */ "./src/lookup.ts");
@@ -23144,7 +23127,6 @@ function modifyFlow(modifications = [], insertions = [], logGroupLengthWarnings
23144
23127
  }
23145
23128
  })());
23146
23129
  }
23147
- exports.modifyFlow = modifyFlow;
23148
23130
 
23149
23131
 
23150
23132
  /***/ }),
@@ -23161,7 +23143,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
23161
23143
  return (mod && mod.__esModule) ? mod : { "default": mod };
23162
23144
  };
23163
23145
  Object.defineProperty(exports, "__esModule", ({ value: true }));
23164
- exports.parseFlow = void 0;
23146
+ exports.parseFlow = parseFlow;
23165
23147
  const zlib_1 = __importDefault(__webpack_require__(/*! zlib */ "./node_modules/browserify-zlib/lib/index.js"));
23166
23148
  const base_1 = __webpack_require__(/*! ./base */ "./src/base.ts");
23167
23149
  const byte_parser_1 = __webpack_require__(/*! ./byte-parser */ "./src/byte-parser.ts");
@@ -23503,7 +23485,6 @@ class ParseFlow extends detour_1.Detour {
23503
23485
  function parseFlow(chunkSize, inflate, bufferBytes) {
23504
23486
  return new ParseFlow(chunkSize, inflate, bufferBytes);
23505
23487
  }
23506
- exports.parseFlow = parseFlow;
23507
23488
 
23508
23489
 
23509
23490
  /***/ }),
@@ -23654,11 +23635,39 @@ class InFmiAttribute extends DicomParseStep {
23654
23635
  }
23655
23636
  })();
23656
23637
  }
23657
- reader.setInput(inflater.inflate(reader.remainingData()));
23638
+ return new InDeflated(new AttributeState(true, bigEndian, explicitVR, inflater), this.stop);
23658
23639
  }
23659
23640
  return new InAttribute(new AttributeState(true, bigEndian, explicitVR, inflater), this.stop);
23660
23641
  }
23661
23642
  }
23643
+ /**
23644
+ * Some implementations of zlib, like the one used in browserify-zlib, can only inflate the complete array of deflated bytes. Therefore
23645
+ * the parse method of this class will accumulate bytes and attempt inflate on parser.result() or when marked as done.
23646
+ */
23647
+ class InDeflated extends DicomParseStep {
23648
+ constructor(state, stop) {
23649
+ state.inflater;
23650
+ super(state, stop);
23651
+ this.bufferedData = base_1.emptyBuffer;
23652
+ }
23653
+ inflate() {
23654
+ return this.state.inflater.inflate(this.bufferedData);
23655
+ }
23656
+ bufferSize() {
23657
+ return this.bufferedData.length;
23658
+ }
23659
+ parse(reader) {
23660
+ const done = !reader.hasRemaining();
23661
+ this.bufferedData = (0, base_1.concat)(this.bufferedData, reader.take(reader.remainingSize()));
23662
+ if (done) {
23663
+ reader.setInput(this.state.inflater.inflate(this.bufferedData));
23664
+ return new byte_parser_1.ParseResult(undefined, new InAttribute(this.state, this.stop));
23665
+ }
23666
+ else {
23667
+ return new byte_parser_1.ParseResult(undefined, this);
23668
+ }
23669
+ }
23670
+ }
23662
23671
  class InAttribute extends DicomParseStep {
23663
23672
  constructor(state, stop) {
23664
23673
  super(state, stop);
@@ -23751,9 +23760,6 @@ class Parser {
23751
23760
  */
23752
23761
  parse(chunk) {
23753
23762
  const step = this.byteParser.current instanceof DicomParseStep ? this.byteParser.current : undefined;
23754
- if (step && step.state && step.state.inflater) {
23755
- chunk = step.state.inflater.inflate(chunk);
23756
- }
23757
23763
  this.byteParser.parse(chunk);
23758
23764
  }
23759
23765
  /**
@@ -23766,6 +23772,13 @@ class Parser {
23766
23772
  * Get the current elements as represented by the builder
23767
23773
  */
23768
23774
  result() {
23775
+ if (this.byteParser.current instanceof InDeflated) {
23776
+ const inDeflatedStep = this.byteParser.current;
23777
+ this.byteParser.startWith(new InAttribute(inDeflatedStep.state, inDeflatedStep.stop));
23778
+ const buff = inDeflatedStep.inflate();
23779
+ this.byteParser.parse(buff);
23780
+ this.byteParser.isCompleted = true;
23781
+ }
23769
23782
  return this.builder.build();
23770
23783
  }
23771
23784
  /**
@@ -23801,7 +23814,15 @@ exports.Parser = Parser;
23801
23814
  "use strict";
23802
23815
 
23803
23816
  Object.defineProperty(exports, "__esModule", ({ value: true }));
23804
- exports.warnIfOdd = exports.readHeader = exports.AttributeInfo = exports.readTagVr = exports.isSpecial = exports.TagVr = exports.isPreamble = exports.headerInfo = exports.tryReadHeader = exports.HeaderInfo = exports.isDICM = exports.dicomPreambleLength = void 0;
23817
+ exports.AttributeInfo = exports.TagVr = exports.HeaderInfo = exports.dicomPreambleLength = void 0;
23818
+ exports.isDICM = isDICM;
23819
+ exports.tryReadHeader = tryReadHeader;
23820
+ exports.headerInfo = headerInfo;
23821
+ exports.isPreamble = isPreamble;
23822
+ exports.isSpecial = isSpecial;
23823
+ exports.readTagVr = readTagVr;
23824
+ exports.readHeader = readHeader;
23825
+ exports.warnIfOdd = warnIfOdd;
23805
23826
  const base_1 = __webpack_require__(/*! ./base */ "./src/base.ts");
23806
23827
  const lookup_1 = __webpack_require__(/*! ./lookup */ "./src/lookup.ts");
23807
23828
  const vr_1 = __webpack_require__(/*! ./vr */ "./src/vr.ts");
@@ -23809,7 +23830,6 @@ exports.dicomPreambleLength = 132;
23809
23830
  function isDICM(bytes) {
23810
23831
  return bytes[0] === 68 && bytes[1] === 73 && bytes[2] === 67 && bytes[3] === 77;
23811
23832
  }
23812
- exports.isDICM = isDICM;
23813
23833
  class HeaderInfo {
23814
23834
  constructor(bigEndian, explicitVR, hasFmi) {
23815
23835
  this.bigEndian = bigEndian;
@@ -23822,7 +23842,6 @@ function tryReadHeader(data) {
23822
23842
  const info = headerInfo(data, false);
23823
23843
  return info === undefined ? headerInfo(data, true) : info;
23824
23844
  }
23825
- exports.tryReadHeader = tryReadHeader;
23826
23845
  function headerInfo(data, assumeBigEndian) {
23827
23846
  const tag = (0, base_1.bytesToTag)(data, assumeBigEndian);
23828
23847
  const vr = lookup_1.Lookup.vrOf(tag);
@@ -23850,11 +23869,9 @@ function headerInfo(data, assumeBigEndian) {
23850
23869
  }
23851
23870
  return undefined;
23852
23871
  }
23853
- exports.headerInfo = headerInfo;
23854
23872
  function isPreamble(data) {
23855
23873
  return data.length >= exports.dicomPreambleLength && isDICM(data.slice(exports.dicomPreambleLength - 4, exports.dicomPreambleLength));
23856
23874
  }
23857
- exports.isPreamble = isPreamble;
23858
23875
  class TagVr {
23859
23876
  constructor(tag, vr) {
23860
23877
  this.tag = tag;
@@ -23865,7 +23882,6 @@ exports.TagVr = TagVr;
23865
23882
  function isSpecial(tag) {
23866
23883
  return tag === 0xfffee000 || tag === 0xfffee00d || tag === 0xfffee0dd;
23867
23884
  }
23868
- exports.isSpecial = isSpecial;
23869
23885
  function readTagVr(data, bigEndian, explicitVr) {
23870
23886
  const tag = (0, base_1.bytesToTag)(data, bigEndian);
23871
23887
  if (isSpecial(tag)) {
@@ -23876,7 +23892,6 @@ function readTagVr(data, bigEndian, explicitVr) {
23876
23892
  }
23877
23893
  return new TagVr(tag, lookup_1.Lookup.vrOf(tag));
23878
23894
  }
23879
- exports.readTagVr = readTagVr;
23880
23895
  class AttributeInfo {
23881
23896
  constructor(tag, vr, headerLength, valueLength) {
23882
23897
  this.tag = tag;
@@ -23899,13 +23914,11 @@ function readHeader(reader, state) {
23899
23914
  }
23900
23915
  return new AttributeInfo(tagVr.tag, tagVr.vr, 8, (0, base_1.bytesToUInt)(tagVrBytes.slice(4), state.bigEndian));
23901
23916
  }
23902
- exports.readHeader = readHeader;
23903
23917
  function warnIfOdd(tag, vr, valueLength) {
23904
23918
  if (valueLength % 2 > 0 && valueLength != base_1.indeterminateLength && vr != null && vr != vr_1.VR.SQ) {
23905
23919
  console.warn(`Element ${(0, base_1.tagToString)(tag)} has odd length`);
23906
23920
  }
23907
23921
  }
23908
- exports.warnIfOdd = warnIfOdd;
23909
23922
 
23910
23923
 
23911
23924
  /***/ }),
@@ -23972,7 +23985,9 @@ exports.PersonName = PersonName;
23972
23985
  "use strict";
23973
23986
 
23974
23987
  Object.defineProperty(exports, "__esModule", ({ value: true }));
23975
- exports.arraySink = exports.ignoreSink = exports.byteSink = void 0;
23988
+ exports.byteSink = byteSink;
23989
+ exports.ignoreSink = ignoreSink;
23990
+ exports.arraySink = arraySink;
23976
23991
  const stream_1 = __webpack_require__(/*! stream */ "./node_modules/stream-browserify/index.js");
23977
23992
  const base_1 = __webpack_require__(/*! ./base */ "./src/base.ts");
23978
23993
  function byteSink(callback) {
@@ -23988,7 +24003,6 @@ function byteSink(callback) {
23988
24003
  });
23989
24004
  return sink;
23990
24005
  }
23991
- exports.byteSink = byteSink;
23992
24006
  function ignoreSink(objectMode = false) {
23993
24007
  return new stream_1.Writable({
23994
24008
  objectMode,
@@ -23997,7 +24011,6 @@ function ignoreSink(objectMode = false) {
23997
24011
  },
23998
24012
  });
23999
24013
  }
24000
- exports.ignoreSink = ignoreSink;
24001
24014
  function arraySink(arrayCallback) {
24002
24015
  const array = [];
24003
24016
  const sink = new stream_1.Writable({
@@ -24010,7 +24023,6 @@ function arraySink(arrayCallback) {
24010
24023
  sink.once('finish', () => arrayCallback(array));
24011
24024
  return sink;
24012
24025
  }
24013
- exports.arraySink = arraySink;
24014
24026
 
24015
24027
 
24016
24028
  /***/ }),
@@ -24024,7 +24036,8 @@ exports.arraySink = arraySink;
24024
24036
  "use strict";
24025
24037
 
24026
24038
  Object.defineProperty(exports, "__esModule", ({ value: true }));
24027
- exports.arraySource = exports.singleSource = void 0;
24039
+ exports.singleSource = singleSource;
24040
+ exports.arraySource = arraySource;
24028
24041
  const stream_1 = __webpack_require__(/*! stream */ "./node_modules/stream-browserify/index.js");
24029
24042
  function singleSource(element, objectMode = false) {
24030
24043
  return new stream_1.Readable({
@@ -24035,7 +24048,6 @@ function singleSource(element, objectMode = false) {
24035
24048
  },
24036
24049
  });
24037
24050
  }
24038
- exports.singleSource = singleSource;
24039
24051
  function arraySource(array, objectMode = false) {
24040
24052
  let pos = 0;
24041
24053
  return new stream_1.Readable({
@@ -24055,7 +24067,6 @@ function arraySource(array, objectMode = false) {
24055
24067
  },
24056
24068
  });
24057
24069
  }
24058
- exports.arraySource = arraySource;
24059
24070
 
24060
24071
 
24061
24072
  /***/ }),
@@ -24449,6 +24460,7 @@ class TagToVR {
24449
24460
  return key in TagToVR.dict ? TagToVR.dict[key] : vr_1.VR.UN;
24450
24461
  }
24451
24462
  }
24463
+ exports.TagToVR = TagToVR;
24452
24464
  TagToVR.dict = {
24453
24465
  '0': vr_1.VR.UL,
24454
24466
  '2': vr_1.VR.UI,
@@ -28750,7 +28762,6 @@ TagToVR.dict = {
28750
28762
  fffafffa: vr_1.VR.SQ,
28751
28763
  fffcfffc: vr_1.VR.OB,
28752
28764
  };
28753
- exports.TagToVR = TagToVR;
28754
28765
 
28755
28766
 
28756
28767
  /***/ }),
@@ -29206,18 +29217,18 @@ exports.Tag = {
29206
29217
  DirectoryRecordType: 0x00041430,
29207
29218
  PrivateRecordUID: 0x00041432,
29208
29219
  ReferencedFileID: 0x00041500,
29209
- MRDRDirectoryRecordOffset: 0x00041504,
29220
+ MRDRDirectoryRecordOffset: 0x00041504, // retired
29210
29221
  ReferencedSOPClassUIDInFile: 0x00041510,
29211
29222
  ReferencedSOPInstanceUIDInFile: 0x00041511,
29212
29223
  ReferencedTransferSyntaxUIDInFile: 0x00041512,
29213
29224
  ReferencedRelatedGeneralSOPClassUIDInFile: 0x0004151a,
29214
- NumberOfReferences: 0x00041600,
29225
+ NumberOfReferences: 0x00041600, // retired
29215
29226
  // data elements
29216
- LengthToEnd: 0x00080001,
29227
+ LengthToEnd: 0x00080001, // retired
29217
29228
  SpecificCharacterSet: 0x00080005,
29218
29229
  LanguageCodeSequence: 0x00080006,
29219
29230
  ImageType: 0x00080008,
29220
- RecognitionCode: 0x00080010,
29231
+ RecognitionCode: 0x00080010, // retired
29221
29232
  InstanceCreationDate: 0x00080012,
29222
29233
  InstanceCreationTime: 0x00080013,
29223
29234
  InstanceCreatorUID: 0x00080014,
@@ -29230,18 +29241,18 @@ exports.Tag = {
29230
29241
  SeriesDate: 0x00080021,
29231
29242
  AcquisitionDate: 0x00080022,
29232
29243
  ContentDate: 0x00080023,
29233
- OverlayDate: 0x00080024,
29234
- CurveDate: 0x00080025,
29244
+ OverlayDate: 0x00080024, // retired
29245
+ CurveDate: 0x00080025, // retired
29235
29246
  AcquisitionDateTime: 0x0008002a,
29236
29247
  StudyTime: 0x00080030,
29237
29248
  SeriesTime: 0x00080031,
29238
29249
  AcquisitionTime: 0x00080032,
29239
29250
  ContentTime: 0x00080033,
29240
- OverlayTime: 0x00080034,
29241
- CurveTime: 0x00080035,
29242
- DataSetType: 0x00080040,
29243
- DataSetSubtype: 0x00080041,
29244
- NuclearMedicineSeriesType: 0x00080042,
29251
+ OverlayTime: 0x00080034, // retired
29252
+ CurveTime: 0x00080035, // retired
29253
+ DataSetType: 0x00080040, // retired
29254
+ DataSetSubtype: 0x00080041, // retired
29255
+ NuclearMedicineSeriesType: 0x00080042, // retired
29245
29256
  AccessionNumber: 0x00080050,
29246
29257
  IssuerOfAccessionNumberSequence: 0x00080051,
29247
29258
  QueryRetrieveLevel: 0x00080052,
@@ -29316,7 +29327,7 @@ exports.Tag = {
29316
29327
  PrivateDataElementDescription: 0x0008030e,
29317
29328
  PrivateDataElementEncoding: 0x0008030f,
29318
29329
  PrivateDataElementDefinitionSequence: 0x00080310,
29319
- NetworkID: 0x00081000,
29330
+ NetworkID: 0x00081000, // retired
29320
29331
  StationName: 0x00081010,
29321
29332
  StudyDescription: 0x00081030,
29322
29333
  ProcedureCodeSequence: 0x00081032,
@@ -29334,17 +29345,17 @@ exports.Tag = {
29334
29345
  AdmittingDiagnosesDescription: 0x00081080,
29335
29346
  AdmittingDiagnosesCodeSequence: 0x00081084,
29336
29347
  ManufacturerModelName: 0x00081090,
29337
- ReferencedResultsSequence: 0x00081100,
29348
+ ReferencedResultsSequence: 0x00081100, // retired
29338
29349
  ReferencedStudySequence: 0x00081110,
29339
29350
  ReferencedPerformedProcedureStepSequence: 0x00081111,
29340
29351
  ReferencedSeriesSequence: 0x00081115,
29341
29352
  ReferencedPatientSequence: 0x00081120,
29342
29353
  ReferencedVisitSequence: 0x00081125,
29343
- ReferencedOverlaySequence: 0x00081130,
29354
+ ReferencedOverlaySequence: 0x00081130, // retired
29344
29355
  ReferencedStereometricInstanceSequence: 0x00081134,
29345
29356
  ReferencedWaveformSequence: 0x0008113a,
29346
29357
  ReferencedImageSequence: 0x00081140,
29347
- ReferencedCurveSequence: 0x00081145,
29358
+ ReferencedCurveSequence: 0x00081145, // retired
29348
29359
  ReferencedInstanceSequence: 0x0008114a,
29349
29360
  ReferencedRealWorldValueMappingInstanceSequence: 0x0008114b,
29350
29361
  ReferencedSOPClassUID: 0x00081150,
@@ -29366,7 +29377,7 @@ exports.Tag = {
29366
29377
  OtherFailuresSequence: 0x0008119a,
29367
29378
  StudiesContainingOtherReferencedInstancesSequence: 0x00081200,
29368
29379
  RelatedSeriesSequence: 0x00081250,
29369
- LossyImageCompressionRetired: 0x00082110,
29380
+ LossyImageCompressionRetired: 0x00082110, // retired
29370
29381
  DerivationDescription: 0x00082111,
29371
29382
  SourceImageSequence: 0x00082112,
29372
29383
  StageName: 0x00082120,
@@ -29384,32 +29395,32 @@ exports.Tag = {
29384
29395
  StartTrim: 0x00082142,
29385
29396
  StopTrim: 0x00082143,
29386
29397
  RecommendedDisplayFrameRate: 0x00082144,
29387
- TransducerPosition: 0x00082200,
29388
- TransducerOrientation: 0x00082204,
29389
- AnatomicStructure: 0x00082208,
29398
+ TransducerPosition: 0x00082200, // retired
29399
+ TransducerOrientation: 0x00082204, // retired
29400
+ AnatomicStructure: 0x00082208, // retired
29390
29401
  AnatomicRegionSequence: 0x00082218,
29391
29402
  AnatomicRegionModifierSequence: 0x00082220,
29392
29403
  PrimaryAnatomicStructureSequence: 0x00082228,
29393
- AnatomicStructureSpaceOrRegionSequence: 0x00082229,
29404
+ AnatomicStructureSpaceOrRegionSequence: 0x00082229, // retired
29394
29405
  PrimaryAnatomicStructureModifierSequence: 0x00082230,
29395
- TransducerPositionSequence: 0x00082240,
29396
- TransducerPositionModifierSequence: 0x00082242,
29397
- TransducerOrientationSequence: 0x00082244,
29398
- TransducerOrientationModifierSequence: 0x00082246,
29399
- AnatomicStructureSpaceOrRegionCodeSequenceTrial: 0x00082251,
29400
- AnatomicPortalOfEntranceCodeSequenceTrial: 0x00082253,
29401
- AnatomicApproachDirectionCodeSequenceTrial: 0x00082255,
29402
- AnatomicPerspectiveDescriptionTrial: 0x00082256,
29403
- AnatomicPerspectiveCodeSequenceTrial: 0x00082257,
29404
- AnatomicLocationOfExaminingInstrumentDescriptionTrial: 0x00082258,
29405
- AnatomicLocationOfExaminingInstrumentCodeSequenceTrial: 0x00082259,
29406
- AnatomicStructureSpaceOrRegionModifierCodeSequenceTrial: 0x0008225a,
29407
- OnAxisBackgroundAnatomicStructureCodeSequenceTrial: 0x0008225c,
29406
+ TransducerPositionSequence: 0x00082240, // retired
29407
+ TransducerPositionModifierSequence: 0x00082242, // retired
29408
+ TransducerOrientationSequence: 0x00082244, // retired
29409
+ TransducerOrientationModifierSequence: 0x00082246, // retired
29410
+ AnatomicStructureSpaceOrRegionCodeSequenceTrial: 0x00082251, // retired
29411
+ AnatomicPortalOfEntranceCodeSequenceTrial: 0x00082253, // retired
29412
+ AnatomicApproachDirectionCodeSequenceTrial: 0x00082255, // retired
29413
+ AnatomicPerspectiveDescriptionTrial: 0x00082256, // retired
29414
+ AnatomicPerspectiveCodeSequenceTrial: 0x00082257, // retired
29415
+ AnatomicLocationOfExaminingInstrumentDescriptionTrial: 0x00082258, // retired
29416
+ AnatomicLocationOfExaminingInstrumentCodeSequenceTrial: 0x00082259, // retired
29417
+ AnatomicStructureSpaceOrRegionModifierCodeSequenceTrial: 0x0008225a, // retired
29418
+ OnAxisBackgroundAnatomicStructureCodeSequenceTrial: 0x0008225c, // retired
29408
29419
  AlternateRepresentationSequence: 0x00083001,
29409
29420
  IrradiationEventUID: 0x00083010,
29410
29421
  SourceIrradiationEventSequence: 0x00083011,
29411
29422
  RadiopharmaceuticalAdministrationEventUID: 0x00083012,
29412
- IdentifyingComments: 0x00084000,
29423
+ IdentifyingComments: 0x00084000, // retired
29413
29424
  FrameType: 0x00089007,
29414
29425
  ReferencedImageEvidenceSequence: 0x00089092,
29415
29426
  ReferencedRawDataSequence: 0x00089121,
@@ -29458,7 +29469,7 @@ exports.Tag = {
29458
29469
  GeneticModificationsDescription: 0x00100222,
29459
29470
  GeneticModificationsNomenclature: 0x00100223,
29460
29471
  GeneticModificationsCodeSequence: 0x00100229,
29461
- OtherPatientIDs: 0x00101000,
29472
+ OtherPatientIDs: 0x00101000, // retired
29462
29473
  OtherPatientNames: 0x00101001,
29463
29474
  OtherPatientIDsSequence: 0x00101002,
29464
29475
  PatientBirthName: 0x00101005,
@@ -29470,11 +29481,11 @@ exports.Tag = {
29470
29481
  MeasuredLateralDimension: 0x00101024,
29471
29482
  PatientWeight: 0x00101030,
29472
29483
  PatientAddress: 0x00101040,
29473
- InsurancePlanIdentification: 0x00101050,
29484
+ InsurancePlanIdentification: 0x00101050, // retired
29474
29485
  PatientMotherBirthName: 0x00101060,
29475
29486
  MilitaryRank: 0x00101080,
29476
29487
  BranchOfService: 0x00101081,
29477
- MedicalRecordLocator: 0x00101090,
29488
+ MedicalRecordLocator: 0x00101090, // retired
29478
29489
  ReferencedPatientPhotoSequence: 0x00101100,
29479
29490
  MedicalAlerts: 0x00102000,
29480
29491
  Allergies: 0x00102110,
@@ -29527,8 +29538,8 @@ exports.Tag = {
29527
29538
  ConsentForDistributionFlag: 0x00120085,
29528
29539
  EthicsCommitteeApprovalEffectivenessStartDate: 0x00120086,
29529
29540
  EthicsCommitteeApprovalEffectivenessEndDate: 0x00120087,
29530
- CADFileFormat: 0x00140023,
29531
- ComponentReferenceSystem: 0x00140024,
29541
+ CADFileFormat: 0x00140023, // retired
29542
+ ComponentReferenceSystem: 0x00140024, // retired
29532
29543
  ComponentManufacturingProcedure: 0x00140025,
29533
29544
  ComponentManufacturer: 0x00140028,
29534
29545
  MaterialThickness: 0x00140030,
@@ -29536,7 +29547,7 @@ exports.Tag = {
29536
29547
  MaterialIsolationDiameter: 0x00140034,
29537
29548
  MaterialGrade: 0x00140042,
29538
29549
  MaterialPropertiesDescription: 0x00140044,
29539
- MaterialPropertiesFileFormatRetired: 0x00140045,
29550
+ MaterialPropertiesFileFormatRetired: 0x00140045, // retired
29540
29551
  MaterialNotes: 0x00140046,
29541
29552
  ComponentShape: 0x00140050,
29542
29553
  CurvatureType: 0x00140052,
@@ -29735,16 +29746,16 @@ exports.Tag = {
29735
29746
  InterventionDrugDose: 0x00180028,
29736
29747
  InterventionDrugCodeSequence: 0x00180029,
29737
29748
  AdditionalDrugSequence: 0x0018002a,
29738
- Radionuclide: 0x00180030,
29749
+ Radionuclide: 0x00180030, // retired
29739
29750
  Radiopharmaceutical: 0x00180031,
29740
- EnergyWindowCenterline: 0x00180032,
29741
- EnergyWindowTotalWidth: 0x00180033,
29751
+ EnergyWindowCenterline: 0x00180032, // retired
29752
+ EnergyWindowTotalWidth: 0x00180033, // retired
29742
29753
  InterventionDrugName: 0x00180034,
29743
29754
  InterventionDrugStartTime: 0x00180035,
29744
29755
  InterventionSequence: 0x00180036,
29745
- TherapyType: 0x00180037,
29756
+ TherapyType: 0x00180037, // retired
29746
29757
  InterventionStatus: 0x00180038,
29747
- TherapyDescription: 0x00180039,
29758
+ TherapyDescription: 0x00180039, // retired
29748
29759
  InterventionDescription: 0x0018003a,
29749
29760
  CineRate: 0x00180040,
29750
29761
  InitialCineRunState: 0x00180042,
@@ -29782,15 +29793,15 @@ exports.Tag = {
29782
29793
  UniqueDeviceIdentifier: 0x00181009,
29783
29794
  UDISequence: 0x0018100a,
29784
29795
  SecondaryCaptureDeviceID: 0x00181010,
29785
- HardcopyCreationDeviceID: 0x00181011,
29796
+ HardcopyCreationDeviceID: 0x00181011, // retired
29786
29797
  DateOfSecondaryCapture: 0x00181012,
29787
29798
  TimeOfSecondaryCapture: 0x00181014,
29788
29799
  SecondaryCaptureDeviceManufacturer: 0x00181016,
29789
- HardcopyDeviceManufacturer: 0x00181017,
29800
+ HardcopyDeviceManufacturer: 0x00181017, // retired
29790
29801
  SecondaryCaptureDeviceManufacturerModelName: 0x00181018,
29791
29802
  SecondaryCaptureDeviceSoftwareVersions: 0x00181019,
29792
- HardcopyDeviceSoftwareVersion: 0x0018101a,
29793
- HardcopyDeviceManufacturerModelName: 0x0018101b,
29803
+ HardcopyDeviceSoftwareVersion: 0x0018101a, // retired
29804
+ HardcopyDeviceManufacturerModelName: 0x0018101b, // retired
29794
29805
  SoftwareVersions: 0x00181020,
29795
29806
  VideoImageFormatAcquired: 0x00181022,
29796
29807
  DigitalImageFormatAcquired: 0x00181023,
@@ -29854,12 +29865,12 @@ exports.Tag = {
29854
29865
  TableAngle: 0x00181138,
29855
29866
  TableType: 0x0018113a,
29856
29867
  RotationDirection: 0x00181140,
29857
- AngularPosition: 0x00181141,
29868
+ AngularPosition: 0x00181141, // retired
29858
29869
  RadialPosition: 0x00181142,
29859
29870
  ScanArc: 0x00181143,
29860
29871
  AngularStep: 0x00181144,
29861
29872
  CenterOfRotationOffset: 0x00181145,
29862
- RotationOffset: 0x00181146,
29873
+ RotationOffset: 0x00181146, // retired
29863
29874
  FieldOfViewShape: 0x00181147,
29864
29875
  FieldOfViewDimensions: 0x00181149,
29865
29876
  ExposureTime: 0x00181150,
@@ -29893,7 +29904,7 @@ exports.Tag = {
29893
29904
  TimeOfLastCalibration: 0x00181201,
29894
29905
  DateTimeOfLastCalibration: 0x00181202,
29895
29906
  ConvolutionKernel: 0x00181210,
29896
- UpperLowerPixelValues: 0x00181240,
29907
+ UpperLowerPixelValues: 0x00181240, // retired
29897
29908
  ActualFrameDuration: 0x00181242,
29898
29909
  CountRate: 0x00181243,
29899
29910
  PreferredPlaybackSequencing: 0x00181244,
@@ -29981,26 +29992,26 @@ exports.Tag = {
29981
29992
  IVUSPullbackStartFrameNumber: 0x00183103,
29982
29993
  IVUSPullbackStopFrameNumber: 0x00183104,
29983
29994
  LesionNumber: 0x00183105,
29984
- AcquisitionComments: 0x00184000,
29995
+ AcquisitionComments: 0x00184000, // retired
29985
29996
  OutputPower: 0x00185000,
29986
29997
  TransducerData: 0x00185010,
29987
29998
  FocusDepth: 0x00185012,
29988
29999
  ProcessingFunction: 0x00185020,
29989
- PostprocessingFunction: 0x00185021,
30000
+ PostprocessingFunction: 0x00185021, // retired
29990
30001
  MechanicalIndex: 0x00185022,
29991
30002
  BoneThermalIndex: 0x00185024,
29992
30003
  CranialThermalIndex: 0x00185026,
29993
30004
  SoftTissueThermalIndex: 0x00185027,
29994
30005
  SoftTissueFocusThermalIndex: 0x00185028,
29995
30006
  SoftTissueSurfaceThermalIndex: 0x00185029,
29996
- DynamicRange: 0x00185030,
29997
- TotalGain: 0x00185040,
30007
+ DynamicRange: 0x00185030, // retired
30008
+ TotalGain: 0x00185040, // retired
29998
30009
  DepthOfScanField: 0x00185050,
29999
30010
  PatientPosition: 0x00185100,
30000
30011
  ViewPosition: 0x00185101,
30001
30012
  ProjectionEponymousNameCodeSequence: 0x00185104,
30002
- ImageTransformationMatrix: 0x00185210,
30003
- ImageTranslationVector: 0x00185212,
30013
+ ImageTransformationMatrix: 0x00185210, // retired
30014
+ ImageTranslationVector: 0x00185212, // retired
30004
30015
  Sensitivity: 0x00186000,
30005
30016
  SequenceOfUltrasoundRegions: 0x00186011,
30006
30017
  RegionSpatialFormat: 0x00186012,
@@ -30023,17 +30034,17 @@ exports.Tag = {
30023
30034
  PulseRepetitionFrequency: 0x00186032,
30024
30035
  DopplerCorrectionAngle: 0x00186034,
30025
30036
  SteeringAngle: 0x00186036,
30026
- DopplerSampleVolumeXPositionRetired: 0x00186038,
30037
+ DopplerSampleVolumeXPositionRetired: 0x00186038, // retired
30027
30038
  DopplerSampleVolumeXPosition: 0x00186039,
30028
- DopplerSampleVolumeYPositionRetired: 0x0018603a,
30039
+ DopplerSampleVolumeYPositionRetired: 0x0018603a, // retired
30029
30040
  DopplerSampleVolumeYPosition: 0x0018603b,
30030
- TMLinePositionX0Retired: 0x0018603c,
30041
+ TMLinePositionX0Retired: 0x0018603c, // retired
30031
30042
  TMLinePositionX0: 0x0018603d,
30032
- TMLinePositionY0Retired: 0x0018603e,
30043
+ TMLinePositionY0Retired: 0x0018603e, // retired
30033
30044
  TMLinePositionY0: 0x0018603f,
30034
- TMLinePositionX1Retired: 0x00186040,
30045
+ TMLinePositionX1Retired: 0x00186040, // retired
30035
30046
  TMLinePositionX1: 0x00186041,
30036
- TMLinePositionY1Retired: 0x00186042,
30047
+ TMLinePositionY1Retired: 0x00186042, // retired
30037
30048
  TMLinePositionY1: 0x00186043,
30038
30049
  PixelComponentOrganization: 0x00186044,
30039
30050
  PixelComponentMask: 0x00186046,
@@ -30170,7 +30181,7 @@ exports.Tag = {
30170
30181
  NumberOfKSpaceTrajectories: 0x00189093,
30171
30182
  CoverageOfKSpace: 0x00189094,
30172
30183
  SpectroscopyAcquisitionPhaseRows: 0x00189095,
30173
- ParallelReductionFactorInPlaneRetired: 0x00189096,
30184
+ ParallelReductionFactorInPlaneRetired: 0x00189096, // retired
30174
30185
  TransmitterFrequency: 0x00189098,
30175
30186
  ResonantNucleus: 0x00189100,
30176
30187
  FrequencyCorrection: 0x00189101,
@@ -30193,7 +30204,7 @@ exports.Tag = {
30193
30204
  MRMetaboliteMapSequence: 0x00189152,
30194
30205
  ParallelReductionFactorOutOfPlane: 0x00189155,
30195
30206
  SpectroscopyAcquisitionOutOfPlanePhaseSteps: 0x00189159,
30196
- BulkMotionStatus: 0x00189166,
30207
+ BulkMotionStatus: 0x00189166, // retired
30197
30208
  ParallelReductionFactorSecondInPlane: 0x00189168,
30198
30209
  CardiacBeatRejectionTechnique: 0x00189169,
30199
30210
  RespiratoryMotionCompensationTechnique: 0x00189170,
@@ -30213,8 +30224,8 @@ exports.Tag = {
30213
30224
  TaggingDelay: 0x00189184,
30214
30225
  RespiratoryMotionCompensationTechniqueDescription: 0x00189185,
30215
30226
  RespiratorySignalSourceID: 0x00189186,
30216
- ChemicalShiftMinimumIntegrationLimitInHz: 0x00189195,
30217
- ChemicalShiftMaximumIntegrationLimitInHz: 0x00189196,
30227
+ ChemicalShiftMinimumIntegrationLimitInHz: 0x00189195, // retired
30228
+ ChemicalShiftMaximumIntegrationLimitInHz: 0x00189196, // retired
30218
30229
  MRVelocityEncodingSequence: 0x00189197,
30219
30230
  FirstOrderPhaseCorrection: 0x00189198,
30220
30231
  WaterReferencedPhaseCorrection: 0x00189199,
@@ -30530,59 +30541,59 @@ exports.Tag = {
30530
30541
  SeriesNumber: 0x00200011,
30531
30542
  AcquisitionNumber: 0x00200012,
30532
30543
  InstanceNumber: 0x00200013,
30533
- IsotopeNumber: 0x00200014,
30534
- PhaseNumber: 0x00200015,
30535
- IntervalNumber: 0x00200016,
30536
- TimeSlotNumber: 0x00200017,
30537
- AngleNumber: 0x00200018,
30544
+ IsotopeNumber: 0x00200014, // retired
30545
+ PhaseNumber: 0x00200015, // retired
30546
+ IntervalNumber: 0x00200016, // retired
30547
+ TimeSlotNumber: 0x00200017, // retired
30548
+ AngleNumber: 0x00200018, // retired
30538
30549
  ItemNumber: 0x00200019,
30539
30550
  PatientOrientation: 0x00200020,
30540
- OverlayNumber: 0x00200022,
30541
- CurveNumber: 0x00200024,
30542
- LUTNumber: 0x00200026,
30543
- ImagePosition: 0x00200030,
30551
+ OverlayNumber: 0x00200022, // retired
30552
+ CurveNumber: 0x00200024, // retired
30553
+ LUTNumber: 0x00200026, // retired
30554
+ ImagePosition: 0x00200030, // retired
30544
30555
  ImagePositionPatient: 0x00200032,
30545
- ImageOrientation: 0x00200035,
30556
+ ImageOrientation: 0x00200035, // retired
30546
30557
  ImageOrientationPatient: 0x00200037,
30547
- Location: 0x00200050,
30558
+ Location: 0x00200050, // retired
30548
30559
  FrameOfReferenceUID: 0x00200052,
30549
30560
  Laterality: 0x00200060,
30550
30561
  ImageLaterality: 0x00200062,
30551
- ImageGeometryType: 0x00200070,
30552
- MaskingImage: 0x00200080,
30553
- ReportNumber: 0x002000aa,
30562
+ ImageGeometryType: 0x00200070, // retired
30563
+ MaskingImage: 0x00200080, // retired
30564
+ ReportNumber: 0x002000aa, // retired
30554
30565
  TemporalPositionIdentifier: 0x00200100,
30555
30566
  NumberOfTemporalPositions: 0x00200105,
30556
30567
  TemporalResolution: 0x00200110,
30557
30568
  SynchronizationFrameOfReferenceUID: 0x00200200,
30558
30569
  SOPInstanceUIDOfConcatenationSource: 0x00200242,
30559
- SeriesInStudy: 0x00201000,
30560
- AcquisitionsInSeries: 0x00201001,
30570
+ SeriesInStudy: 0x00201000, // retired
30571
+ AcquisitionsInSeries: 0x00201001, // retired
30561
30572
  ImagesInAcquisition: 0x00201002,
30562
- ImagesInSeries: 0x00201003,
30563
- AcquisitionsInStudy: 0x00201004,
30564
- ImagesInStudy: 0x00201005,
30565
- Reference: 0x00201020,
30573
+ ImagesInSeries: 0x00201003, // retired
30574
+ AcquisitionsInStudy: 0x00201004, // retired
30575
+ ImagesInStudy: 0x00201005, // retired
30576
+ Reference: 0x00201020, // retired
30566
30577
  TargetPositionReferenceIndicator: 0x0020103f,
30567
30578
  PositionReferenceIndicator: 0x00201040,
30568
30579
  SliceLocation: 0x00201041,
30569
- OtherStudyNumbers: 0x00201070,
30580
+ OtherStudyNumbers: 0x00201070, // retired
30570
30581
  NumberOfPatientRelatedStudies: 0x00201200,
30571
30582
  NumberOfPatientRelatedSeries: 0x00201202,
30572
30583
  NumberOfPatientRelatedInstances: 0x00201204,
30573
30584
  NumberOfStudyRelatedSeries: 0x00201206,
30574
30585
  NumberOfStudyRelatedInstances: 0x00201208,
30575
30586
  NumberOfSeriesRelatedInstances: 0x00201209,
30576
- SourceImageIDs: 0x00203100,
30577
- ModifyingDeviceID: 0x00203401,
30578
- ModifiedImageID: 0x00203402,
30579
- ModifiedImageDate: 0x00203403,
30580
- ModifyingDeviceManufacturer: 0x00203404,
30581
- ModifiedImageTime: 0x00203405,
30582
- ModifiedImageDescription: 0x00203406,
30587
+ SourceImageIDs: 0x00203100, // retired
30588
+ ModifyingDeviceID: 0x00203401, // retired
30589
+ ModifiedImageID: 0x00203402, // retired
30590
+ ModifiedImageDate: 0x00203403, // retired
30591
+ ModifyingDeviceManufacturer: 0x00203404, // retired
30592
+ ModifiedImageTime: 0x00203405, // retired
30593
+ ModifiedImageDescription: 0x00203406, // retired
30583
30594
  ImageComments: 0x00204000,
30584
- OriginalImageIdentification: 0x00205000,
30585
- OriginalImageIdentificationNomenclature: 0x00205002,
30595
+ OriginalImageIdentification: 0x00205000, // retired
30596
+ OriginalImageIdentificationNomenclature: 0x00205002, // retired
30586
30597
  StackID: 0x00209056,
30587
30598
  InStackPositionNumber: 0x00209057,
30588
30599
  FrameAnatomySequence: 0x00209071,
@@ -30721,7 +30732,7 @@ exports.Tag = {
30721
30732
  IOLPowerSequence: 0x00221090,
30722
30733
  LensConstantSequence: 0x00221092,
30723
30734
  IOLManufacturer: 0x00221093,
30724
- LensConstantDescription: 0x00221094,
30735
+ LensConstantDescription: 0x00221094, // retired
30725
30736
  ImplantName: 0x00221095,
30726
30737
  KeratometryMeasurementTypeCodeSequence: 0x00221096,
30727
30738
  ImplantPartNumber: 0x00221097,
@@ -30741,7 +30752,7 @@ exports.Tag = {
30741
30752
  SourceOfRefractiveMeasurementsCodeSequence: 0x00221135,
30742
30753
  OphthalmicAxialLengthMeasurementModified: 0x00221140,
30743
30754
  OphthalmicAxialLengthDataSourceCodeSequence: 0x00221150,
30744
- OphthalmicAxialLengthAcquisitionMethodCodeSequence: 0x00221153,
30755
+ OphthalmicAxialLengthAcquisitionMethodCodeSequence: 0x00221153, // retired
30745
30756
  SignalToNoiseRatio: 0x00221155,
30746
30757
  OphthalmicAxialLengthDataSourceDescription: 0x00221159,
30747
30758
  OphthalmicAxialLengthMeasurementsTotalLengthSequence: 0x00221210,
@@ -30755,8 +30766,8 @@ exports.Tag = {
30755
30766
  SelectedSegmentalOphthalmicAxialLengthSequence: 0x00221257,
30756
30767
  SelectedTotalOphthalmicAxialLengthSequence: 0x00221260,
30757
30768
  OphthalmicAxialLengthQualityMetricSequence: 0x00221262,
30758
- OphthalmicAxialLengthQualityMetricTypeCodeSequence: 0x00221265,
30759
- OphthalmicAxialLengthQualityMetricTypeDescription: 0x00221273,
30769
+ OphthalmicAxialLengthQualityMetricTypeCodeSequence: 0x00221265, // retired
30770
+ OphthalmicAxialLengthQualityMetricTypeDescription: 0x00221273, // retired
30760
30771
  IntraocularLensCalculationsRightEyeSequence: 0x00221300,
30761
30772
  IntraocularLensCalculationsLeftEyeSequence: 0x00221310,
30762
30773
  ReferencedOphthalmicAxialLengthMeasurementQCImageSequence: 0x00221330,
@@ -30913,88 +30924,88 @@ exports.Tag = {
30913
30924
  SamplesPerPixel: 0x00280002,
30914
30925
  SamplesPerPixelUsed: 0x00280003,
30915
30926
  PhotometricInterpretation: 0x00280004,
30916
- ImageDimensions: 0x00280005,
30927
+ ImageDimensions: 0x00280005, // retired
30917
30928
  PlanarConfiguration: 0x00280006,
30918
30929
  NumberOfFrames: 0x00280008,
30919
30930
  FrameIncrementPointer: 0x00280009,
30920
30931
  FrameDimensionPointer: 0x0028000a,
30921
30932
  Rows: 0x00280010,
30922
30933
  Columns: 0x00280011,
30923
- Planes: 0x00280012,
30934
+ Planes: 0x00280012, // retired
30924
30935
  UltrasoundColorDataPresent: 0x00280014,
30925
30936
  PixelSpacing: 0x00280030,
30926
30937
  ZoomFactor: 0x00280031,
30927
30938
  ZoomCenter: 0x00280032,
30928
30939
  PixelAspectRatio: 0x00280034,
30929
- ImageFormat: 0x00280040,
30930
- ManipulatedImage: 0x00280050,
30940
+ ImageFormat: 0x00280040, // retired
30941
+ ManipulatedImage: 0x00280050, // retired
30931
30942
  CorrectedImage: 0x00280051,
30932
- CompressionRecognitionCode: 0x0028005f,
30933
- CompressionCode: 0x00280060,
30934
- CompressionOriginator: 0x00280061,
30935
- CompressionLabel: 0x00280062,
30936
- CompressionDescription: 0x00280063,
30937
- CompressionSequence: 0x00280065,
30938
- CompressionStepPointers: 0x00280066,
30939
- RepeatInterval: 0x00280068,
30940
- BitsGrouped: 0x00280069,
30941
- PerimeterTable: 0x00280070,
30942
- PerimeterValue: 0x00280071,
30943
- PredictorRows: 0x00280080,
30944
- PredictorColumns: 0x00280081,
30945
- PredictorConstants: 0x00280082,
30946
- BlockedPixels: 0x00280090,
30947
- BlockRows: 0x00280091,
30948
- BlockColumns: 0x00280092,
30949
- RowOverlap: 0x00280093,
30950
- ColumnOverlap: 0x00280094,
30943
+ CompressionRecognitionCode: 0x0028005f, // retired
30944
+ CompressionCode: 0x00280060, // retired
30945
+ CompressionOriginator: 0x00280061, // retired
30946
+ CompressionLabel: 0x00280062, // retired
30947
+ CompressionDescription: 0x00280063, // retired
30948
+ CompressionSequence: 0x00280065, // retired
30949
+ CompressionStepPointers: 0x00280066, // retired
30950
+ RepeatInterval: 0x00280068, // retired
30951
+ BitsGrouped: 0x00280069, // retired
30952
+ PerimeterTable: 0x00280070, // retired
30953
+ PerimeterValue: 0x00280071, // retired
30954
+ PredictorRows: 0x00280080, // retired
30955
+ PredictorColumns: 0x00280081, // retired
30956
+ PredictorConstants: 0x00280082, // retired
30957
+ BlockedPixels: 0x00280090, // retired
30958
+ BlockRows: 0x00280091, // retired
30959
+ BlockColumns: 0x00280092, // retired
30960
+ RowOverlap: 0x00280093, // retired
30961
+ ColumnOverlap: 0x00280094, // retired
30951
30962
  BitsAllocated: 0x00280100,
30952
30963
  BitsStored: 0x00280101,
30953
30964
  HighBit: 0x00280102,
30954
30965
  PixelRepresentation: 0x00280103,
30955
- SmallestValidPixelValue: 0x00280104,
30956
- LargestValidPixelValue: 0x00280105,
30966
+ SmallestValidPixelValue: 0x00280104, // retired
30967
+ LargestValidPixelValue: 0x00280105, // retired
30957
30968
  SmallestImagePixelValue: 0x00280106,
30958
30969
  LargestImagePixelValue: 0x00280107,
30959
30970
  SmallestPixelValueInSeries: 0x00280108,
30960
30971
  LargestPixelValueInSeries: 0x00280109,
30961
- SmallestImagePixelValueInPlane: 0x00280110,
30962
- LargestImagePixelValueInPlane: 0x00280111,
30972
+ SmallestImagePixelValueInPlane: 0x00280110, // retired
30973
+ LargestImagePixelValueInPlane: 0x00280111, // retired
30963
30974
  PixelPaddingValue: 0x00280120,
30964
30975
  PixelPaddingRangeLimit: 0x00280121,
30965
30976
  FloatPixelPaddingValue: 0x00280122,
30966
30977
  DoubleFloatPixelPaddingValue: 0x00280123,
30967
30978
  FloatPixelPaddingRangeLimit: 0x00280124,
30968
30979
  DoubleFloatPixelPaddingRangeLimit: 0x00280125,
30969
- ImageLocation: 0x00280200,
30980
+ ImageLocation: 0x00280200, // retired
30970
30981
  QualityControlImage: 0x00280300,
30971
30982
  BurnedInAnnotation: 0x00280301,
30972
30983
  RecognizableVisualFeatures: 0x00280302,
30973
30984
  LongitudinalTemporalInformationModified: 0x00280303,
30974
30985
  ReferencedColorPaletteInstanceUID: 0x00280304,
30975
- TransformLabel: 0x00280400,
30976
- TransformVersionNumber: 0x00280401,
30977
- NumberOfTransformSteps: 0x00280402,
30978
- SequenceOfCompressedData: 0x00280403,
30979
- DetailsOfCoefficients: 0x00280404,
30980
- RowsForNthOrderCoefficients: 0x00280400,
30981
- ColumnsForNthOrderCoefficients: 0x00280401,
30982
- CoefficientCoding: 0x00280402,
30983
- CoefficientCodingPointers: 0x00280403,
30984
- DCTLabel: 0x00280700,
30985
- DataBlockDescription: 0x00280701,
30986
- DataBlock: 0x00280702,
30987
- NormalizationFactorFormat: 0x00280710,
30988
- ZonalMapNumberFormat: 0x00280720,
30989
- ZonalMapLocation: 0x00280721,
30990
- ZonalMapFormat: 0x00280722,
30991
- AdaptiveMapFormat: 0x00280730,
30992
- CodeNumberFormat: 0x00280740,
30993
- CodeLabel: 0x00280800,
30994
- NumberOfTables: 0x00280802,
30995
- CodeTableLocation: 0x00280803,
30996
- BitsForCodeWord: 0x00280804,
30997
- ImageDataLocation: 0x00280808,
30986
+ TransformLabel: 0x00280400, // retired
30987
+ TransformVersionNumber: 0x00280401, // retired
30988
+ NumberOfTransformSteps: 0x00280402, // retired
30989
+ SequenceOfCompressedData: 0x00280403, // retired
30990
+ DetailsOfCoefficients: 0x00280404, // retired
30991
+ RowsForNthOrderCoefficients: 0x00280400, // retired
30992
+ ColumnsForNthOrderCoefficients: 0x00280401, // retired
30993
+ CoefficientCoding: 0x00280402, // retired
30994
+ CoefficientCodingPointers: 0x00280403, // retired
30995
+ DCTLabel: 0x00280700, // retired
30996
+ DataBlockDescription: 0x00280701, // retired
30997
+ DataBlock: 0x00280702, // retired
30998
+ NormalizationFactorFormat: 0x00280710, // retired
30999
+ ZonalMapNumberFormat: 0x00280720, // retired
31000
+ ZonalMapLocation: 0x00280721, // retired
31001
+ ZonalMapFormat: 0x00280722, // retired
31002
+ AdaptiveMapFormat: 0x00280730, // retired
31003
+ CodeNumberFormat: 0x00280740, // retired
31004
+ CodeLabel: 0x00280800, // retired
31005
+ NumberOfTables: 0x00280802, // retired
31006
+ CodeTableLocation: 0x00280803, // retired
31007
+ BitsForCodeWord: 0x00280804, // retired
31008
+ ImageDataLocation: 0x00280808, // retired
30998
31009
  PixelSpacingCalibrationType: 0x00280a02,
30999
31010
  PixelSpacingCalibrationDescription: 0x00280a04,
31000
31011
  PixelIntensityRelationship: 0x00281040,
@@ -31006,26 +31017,26 @@ exports.Tag = {
31006
31017
  RescaleType: 0x00281054,
31007
31018
  WindowCenterWidthExplanation: 0x00281055,
31008
31019
  VOILUTFunction: 0x00281056,
31009
- GrayScale: 0x00281080,
31020
+ GrayScale: 0x00281080, // retired
31010
31021
  RecommendedViewingMode: 0x00281090,
31011
- GrayLookupTableDescriptor: 0x00281100,
31022
+ GrayLookupTableDescriptor: 0x00281100, // retired
31012
31023
  RedPaletteColorLookupTableDescriptor: 0x00281101,
31013
31024
  GreenPaletteColorLookupTableDescriptor: 0x00281102,
31014
31025
  BluePaletteColorLookupTableDescriptor: 0x00281103,
31015
31026
  AlphaPaletteColorLookupTableDescriptor: 0x00281104,
31016
- LargeRedPaletteColorLookupTableDescriptor: 0x00281111,
31017
- LargeGreenPaletteColorLookupTableDescriptor: 0x00281112,
31018
- LargeBluePaletteColorLookupTableDescriptor: 0x00281113,
31027
+ LargeRedPaletteColorLookupTableDescriptor: 0x00281111, // retired
31028
+ LargeGreenPaletteColorLookupTableDescriptor: 0x00281112, // retired
31029
+ LargeBluePaletteColorLookupTableDescriptor: 0x00281113, // retired
31019
31030
  PaletteColorLookupTableUID: 0x00281199,
31020
- GrayLookupTableData: 0x00281200,
31031
+ GrayLookupTableData: 0x00281200, // retired
31021
31032
  RedPaletteColorLookupTableData: 0x00281201,
31022
31033
  GreenPaletteColorLookupTableData: 0x00281202,
31023
31034
  BluePaletteColorLookupTableData: 0x00281203,
31024
31035
  AlphaPaletteColorLookupTableData: 0x00281204,
31025
- LargeRedPaletteColorLookupTableData: 0x00281211,
31026
- LargeGreenPaletteColorLookupTableData: 0x00281212,
31027
- LargeBluePaletteColorLookupTableData: 0x00281213,
31028
- LargePaletteColorLookupTableUID: 0x00281214,
31036
+ LargeRedPaletteColorLookupTableData: 0x00281211, // retired
31037
+ LargeGreenPaletteColorLookupTableData: 0x00281212, // retired
31038
+ LargeBluePaletteColorLookupTableData: 0x00281213, // retired
31039
+ LargePaletteColorLookupTableUID: 0x00281214, // retired
31029
31040
  SegmentedRedPaletteColorLookupTableData: 0x00281221,
31030
31041
  SegmentedGreenPaletteColorLookupTableData: 0x00281222,
31031
31042
  SegmentedBluePaletteColorLookupTableData: 0x00281223,
@@ -31064,13 +31075,13 @@ exports.Tag = {
31064
31075
  LUTData: 0x00283006,
31065
31076
  VOILUTSequence: 0x00283010,
31066
31077
  SoftcopyVOILUTSequence: 0x00283110,
31067
- ImagePresentationComments: 0x00284000,
31068
- BiPlaneAcquisitionSequence: 0x00285000,
31078
+ ImagePresentationComments: 0x00284000, // retired
31079
+ BiPlaneAcquisitionSequence: 0x00285000, // retired
31069
31080
  RepresentativeFrameNumber: 0x00286010,
31070
31081
  FrameNumbersOfInterest: 0x00286020,
31071
31082
  FrameOfInterestDescription: 0x00286022,
31072
31083
  FrameOfInterestType: 0x00286023,
31073
- MaskPointers: 0x00286030,
31084
+ MaskPointers: 0x00286030, // retired
31074
31085
  RWavePointer: 0x00286040,
31075
31086
  MaskSubtractionSequence: 0x00286100,
31076
31087
  MaskOperation: 0x00286101,
@@ -31131,7 +31142,7 @@ exports.Tag = {
31131
31142
  DataPointRows: 0x00289001,
31132
31143
  DataPointColumns: 0x00289002,
31133
31144
  SignalDomainColumns: 0x00289003,
31134
- LargestMonochromePixelValue: 0x00289099,
31145
+ LargestMonochromePixelValue: 0x00289099, // retired
31135
31146
  DataRepresentation: 0x00289108,
31136
31147
  PixelMeasuresSequence: 0x00289110,
31137
31148
  FrameVOILUTSequence: 0x00289132,
@@ -31156,53 +31167,53 @@ exports.Tag = {
31156
31167
  LUTFrameRange: 0x00289507,
31157
31168
  ImageToEquipmentMappingMatrix: 0x00289520,
31158
31169
  EquipmentCoordinateSystemIdentification: 0x00289537,
31159
- StudyStatusID: 0x0032000a,
31160
- StudyPriorityID: 0x0032000c,
31161
- StudyIDIssuer: 0x00320012,
31162
- StudyVerifiedDate: 0x00320032,
31163
- StudyVerifiedTime: 0x00320033,
31164
- StudyReadDate: 0x00320034,
31165
- StudyReadTime: 0x00320035,
31166
- ScheduledStudyStartDate: 0x00321000,
31167
- ScheduledStudyStartTime: 0x00321001,
31168
- ScheduledStudyStopDate: 0x00321010,
31169
- ScheduledStudyStopTime: 0x00321011,
31170
- ScheduledStudyLocation: 0x00321020,
31171
- ScheduledStudyLocationAETitle: 0x00321021,
31172
- ReasonForStudy: 0x00321030,
31170
+ StudyStatusID: 0x0032000a, // retired
31171
+ StudyPriorityID: 0x0032000c, // retired
31172
+ StudyIDIssuer: 0x00320012, // retired
31173
+ StudyVerifiedDate: 0x00320032, // retired
31174
+ StudyVerifiedTime: 0x00320033, // retired
31175
+ StudyReadDate: 0x00320034, // retired
31176
+ StudyReadTime: 0x00320035, // retired
31177
+ ScheduledStudyStartDate: 0x00321000, // retired
31178
+ ScheduledStudyStartTime: 0x00321001, // retired
31179
+ ScheduledStudyStopDate: 0x00321010, // retired
31180
+ ScheduledStudyStopTime: 0x00321011, // retired
31181
+ ScheduledStudyLocation: 0x00321020, // retired
31182
+ ScheduledStudyLocationAETitle: 0x00321021, // retired
31183
+ ReasonForStudy: 0x00321030, // retired
31173
31184
  RequestingPhysicianIdentificationSequence: 0x00321031,
31174
31185
  RequestingPhysician: 0x00321032,
31175
31186
  RequestingService: 0x00321033,
31176
31187
  RequestingServiceCodeSequence: 0x00321034,
31177
- StudyArrivalDate: 0x00321040,
31178
- StudyArrivalTime: 0x00321041,
31179
- StudyCompletionDate: 0x00321050,
31180
- StudyCompletionTime: 0x00321051,
31181
- StudyComponentStatusID: 0x00321055,
31188
+ StudyArrivalDate: 0x00321040, // retired
31189
+ StudyArrivalTime: 0x00321041, // retired
31190
+ StudyCompletionDate: 0x00321050, // retired
31191
+ StudyCompletionTime: 0x00321051, // retired
31192
+ StudyComponentStatusID: 0x00321055, // retired
31182
31193
  RequestedProcedureDescription: 0x00321060,
31183
31194
  RequestedProcedureCodeSequence: 0x00321064,
31184
31195
  RequestedContrastAgent: 0x00321070,
31185
- StudyComments: 0x00324000,
31196
+ StudyComments: 0x00324000, // retired
31186
31197
  ReferencedPatientAliasSequence: 0x00380004,
31187
31198
  VisitStatusID: 0x00380008,
31188
31199
  AdmissionID: 0x00380010,
31189
- IssuerOfAdmissionID: 0x00380011,
31200
+ IssuerOfAdmissionID: 0x00380011, // retired
31190
31201
  IssuerOfAdmissionIDSequence: 0x00380014,
31191
31202
  RouteOfAdmissions: 0x00380016,
31192
- ScheduledAdmissionDate: 0x0038001a,
31193
- ScheduledAdmissionTime: 0x0038001b,
31194
- ScheduledDischargeDate: 0x0038001c,
31195
- ScheduledDischargeTime: 0x0038001d,
31196
- ScheduledPatientInstitutionResidence: 0x0038001e,
31203
+ ScheduledAdmissionDate: 0x0038001a, // retired
31204
+ ScheduledAdmissionTime: 0x0038001b, // retired
31205
+ ScheduledDischargeDate: 0x0038001c, // retired
31206
+ ScheduledDischargeTime: 0x0038001d, // retired
31207
+ ScheduledPatientInstitutionResidence: 0x0038001e, // retired
31197
31208
  AdmittingDate: 0x00380020,
31198
31209
  AdmittingTime: 0x00380021,
31199
- DischargeDate: 0x00380030,
31200
- DischargeTime: 0x00380032,
31201
- DischargeDiagnosisDescription: 0x00380040,
31202
- DischargeDiagnosisCodeSequence: 0x00380044,
31210
+ DischargeDate: 0x00380030, // retired
31211
+ DischargeTime: 0x00380032, // retired
31212
+ DischargeDiagnosisDescription: 0x00380040, // retired
31213
+ DischargeDiagnosisCodeSequence: 0x00380044, // retired
31203
31214
  SpecialNeeds: 0x00380050,
31204
31215
  ServiceEpisodeID: 0x00380060,
31205
- IssuerOfServiceEpisodeID: 0x00380061,
31216
+ IssuerOfServiceEpisodeID: 0x00380061, // retired
31206
31217
  ServiceEpisodeDescription: 0x00380062,
31207
31218
  IssuerOfServiceEpisodeIDSequence: 0x00380064,
31208
31219
  PertinentDocumentsSequence: 0x00380100,
@@ -31298,13 +31309,13 @@ exports.Tag = {
31298
31309
  Quantity: 0x00400294,
31299
31310
  MeasuringUnitsSequence: 0x00400295,
31300
31311
  BillingItemSequence: 0x00400296,
31301
- TotalTimeOfFluoroscopy: 0x00400300,
31302
- TotalNumberOfExposures: 0x00400301,
31312
+ TotalTimeOfFluoroscopy: 0x00400300, // retired
31313
+ TotalNumberOfExposures: 0x00400301, // retired
31303
31314
  EntranceDose: 0x00400302,
31304
31315
  ExposedArea: 0x00400303,
31305
31316
  DistanceSourceToEntrance: 0x00400306,
31306
- DistanceSourceToSupport: 0x00400307,
31307
- ExposureDoseSequence: 0x0040030e,
31317
+ DistanceSourceToSupport: 0x00400307, // retired
31318
+ ExposureDoseSequence: 0x0040030e, // retired
31308
31319
  CommentsOnRadiationDose: 0x00400310,
31309
31320
  XRayOutput: 0x00400312,
31310
31321
  HalfValueLayer: 0x00400314,
@@ -31313,23 +31324,23 @@ exports.Tag = {
31313
31324
  BillingProcedureStepSequence: 0x00400320,
31314
31325
  FilmConsumptionSequence: 0x00400321,
31315
31326
  BillingSuppliesAndDevicesSequence: 0x00400324,
31316
- ReferencedProcedureStepSequence: 0x00400330,
31327
+ ReferencedProcedureStepSequence: 0x00400330, // retired
31317
31328
  PerformedSeriesSequence: 0x00400340,
31318
31329
  CommentsOnTheScheduledProcedureStep: 0x00400400,
31319
31330
  ProtocolContextSequence: 0x00400440,
31320
31331
  ContentItemModifierSequence: 0x00400441,
31321
31332
  ScheduledSpecimenSequence: 0x00400500,
31322
- SpecimenAccessionNumber: 0x0040050a,
31333
+ SpecimenAccessionNumber: 0x0040050a, // retired
31323
31334
  ContainerIdentifier: 0x00400512,
31324
31335
  IssuerOfTheContainerIdentifierSequence: 0x00400513,
31325
31336
  AlternateContainerIdentifierSequence: 0x00400515,
31326
31337
  ContainerTypeCodeSequence: 0x00400518,
31327
31338
  ContainerDescription: 0x0040051a,
31328
31339
  ContainerComponentSequence: 0x00400520,
31329
- SpecimenSequence: 0x00400550,
31340
+ SpecimenSequence: 0x00400550, // retired
31330
31341
  SpecimenIdentifier: 0x00400551,
31331
- SpecimenDescriptionSequenceTrial: 0x00400552,
31332
- SpecimenDescriptionTrial: 0x00400553,
31342
+ SpecimenDescriptionSequenceTrial: 0x00400552, // retired
31343
+ SpecimenDescriptionTrial: 0x00400553, // retired
31333
31344
  SpecimenUID: 0x00400554,
31334
31345
  AcquisitionContextSequence: 0x00400555,
31335
31346
  AcquisitionContextDescription: 0x00400556,
@@ -31341,39 +31352,39 @@ exports.Tag = {
31341
31352
  SpecimenPreparationSequence: 0x00400610,
31342
31353
  SpecimenPreparationStepContentItemSequence: 0x00400612,
31343
31354
  SpecimenLocalizationContentItemSequence: 0x00400620,
31344
- SlideIdentifier: 0x004006fa,
31355
+ SlideIdentifier: 0x004006fa, // retired
31345
31356
  ImageCenterPointCoordinatesSequence: 0x0040071a,
31346
31357
  XOffsetInSlideCoordinateSystem: 0x0040072a,
31347
31358
  YOffsetInSlideCoordinateSystem: 0x0040073a,
31348
31359
  ZOffsetInSlideCoordinateSystem: 0x0040074a,
31349
- PixelSpacingSequence: 0x004008d8,
31350
- CoordinateSystemAxisCodeSequence: 0x004008da,
31360
+ PixelSpacingSequence: 0x004008d8, // retired
31361
+ CoordinateSystemAxisCodeSequence: 0x004008da, // retired
31351
31362
  MeasurementUnitsCodeSequence: 0x004008ea,
31352
- VitalStainCodeSequenceTrial: 0x004009f8,
31363
+ VitalStainCodeSequenceTrial: 0x004009f8, // retired
31353
31364
  RequestedProcedureID: 0x00401001,
31354
31365
  ReasonForTheRequestedProcedure: 0x00401002,
31355
31366
  RequestedProcedurePriority: 0x00401003,
31356
31367
  PatientTransportArrangements: 0x00401004,
31357
31368
  RequestedProcedureLocation: 0x00401005,
31358
- PlacerOrderNumberProcedure: 0x00401006,
31359
- FillerOrderNumberProcedure: 0x00401007,
31369
+ PlacerOrderNumberProcedure: 0x00401006, // retired
31370
+ FillerOrderNumberProcedure: 0x00401007, // retired
31360
31371
  ConfidentialityCode: 0x00401008,
31361
31372
  ReportingPriority: 0x00401009,
31362
31373
  ReasonForRequestedProcedureCodeSequence: 0x0040100a,
31363
31374
  NamesOfIntendedRecipientsOfResults: 0x00401010,
31364
31375
  IntendedRecipientsOfResultsIdentificationSequence: 0x00401011,
31365
31376
  ReasonForPerformedProcedureCodeSequence: 0x00401012,
31366
- RequestedProcedureDescriptionTrial: 0x00401060,
31377
+ RequestedProcedureDescriptionTrial: 0x00401060, // retired
31367
31378
  PersonIdentificationCodeSequence: 0x00401101,
31368
31379
  PersonAddress: 0x00401102,
31369
31380
  PersonTelephoneNumbers: 0x00401103,
31370
31381
  PersonTelecomInformation: 0x00401104,
31371
31382
  RequestedProcedureComments: 0x00401400,
31372
- ReasonForTheImagingServiceRequest: 0x00402001,
31383
+ ReasonForTheImagingServiceRequest: 0x00402001, // retired
31373
31384
  IssueDateOfImagingServiceRequest: 0x00402004,
31374
31385
  IssueTimeOfImagingServiceRequest: 0x00402005,
31375
- PlacerOrderNumberImagingServiceRequestRetired: 0x00402006,
31376
- FillerOrderNumberImagingServiceRequestRetired: 0x00402007,
31386
+ PlacerOrderNumberImagingServiceRequestRetired: 0x00402006, // retired
31387
+ FillerOrderNumberImagingServiceRequestRetired: 0x00402007, // retired
31377
31388
  OrderEnteredBy: 0x00402008,
31378
31389
  OrderEntererLocation: 0x00402009,
31379
31390
  OrderCallbackPhoneNumber: 0x00402010,
@@ -31382,32 +31393,32 @@ exports.Tag = {
31382
31393
  FillerOrderNumberImagingServiceRequest: 0x00402017,
31383
31394
  ImagingServiceRequestComments: 0x00402400,
31384
31395
  ConfidentialityConstraintOnPatientDataDescription: 0x00403001,
31385
- GeneralPurposeScheduledProcedureStepStatus: 0x00404001,
31386
- GeneralPurposePerformedProcedureStepStatus: 0x00404002,
31387
- GeneralPurposeScheduledProcedureStepPriority: 0x00404003,
31388
- ScheduledProcessingApplicationsCodeSequence: 0x00404004,
31396
+ GeneralPurposeScheduledProcedureStepStatus: 0x00404001, // retired
31397
+ GeneralPurposePerformedProcedureStepStatus: 0x00404002, // retired
31398
+ GeneralPurposeScheduledProcedureStepPriority: 0x00404003, // retired
31399
+ ScheduledProcessingApplicationsCodeSequence: 0x00404004, // retired
31389
31400
  ScheduledProcedureStepStartDateTime: 0x00404005,
31390
- MultipleCopiesFlag: 0x00404006,
31391
- PerformedProcessingApplicationsCodeSequence: 0x00404007,
31401
+ MultipleCopiesFlag: 0x00404006, // retired
31402
+ PerformedProcessingApplicationsCodeSequence: 0x00404007, // retired
31392
31403
  HumanPerformerCodeSequence: 0x00404009,
31393
31404
  ScheduledProcedureStepModificationDateTime: 0x00404010,
31394
31405
  ExpectedCompletionDateTime: 0x00404011,
31395
- ResultingGeneralPurposePerformedProcedureStepsSequence: 0x00404015,
31396
- ReferencedGeneralPurposeScheduledProcedureStepSequence: 0x00404016,
31406
+ ResultingGeneralPurposePerformedProcedureStepsSequence: 0x00404015, // retired
31407
+ ReferencedGeneralPurposeScheduledProcedureStepSequence: 0x00404016, // retired
31397
31408
  ScheduledWorkitemCodeSequence: 0x00404018,
31398
31409
  PerformedWorkitemCodeSequence: 0x00404019,
31399
- InputAvailabilityFlag: 0x00404020,
31410
+ InputAvailabilityFlag: 0x00404020, // retired
31400
31411
  InputInformationSequence: 0x00404021,
31401
- RelevantInformationSequence: 0x00404022,
31402
- ReferencedGeneralPurposeScheduledProcedureStepTransactionUID: 0x00404023,
31412
+ RelevantInformationSequence: 0x00404022, // retired
31413
+ ReferencedGeneralPurposeScheduledProcedureStepTransactionUID: 0x00404023, // retired
31403
31414
  ScheduledStationNameCodeSequence: 0x00404025,
31404
31415
  ScheduledStationClassCodeSequence: 0x00404026,
31405
31416
  ScheduledStationGeographicLocationCodeSequence: 0x00404027,
31406
31417
  PerformedStationNameCodeSequence: 0x00404028,
31407
31418
  PerformedStationClassCodeSequence: 0x00404029,
31408
31419
  PerformedStationGeographicLocationCodeSequence: 0x00404030,
31409
- RequestedSubsequentWorkitemCodeSequence: 0x00404031,
31410
- NonDICOMOutputCodeSequence: 0x00404032,
31420
+ RequestedSubsequentWorkitemCodeSequence: 0x00404031, // retired
31421
+ NonDICOMOutputCodeSequence: 0x00404032, // retired
31411
31422
  OutputInformationSequence: 0x00404033,
31412
31423
  ScheduledHumanPerformersSequence: 0x00404034,
31413
31424
  ActualHumanPerformersSequence: 0x00404035,
@@ -31438,51 +31449,51 @@ exports.Tag = {
31438
31449
  QuantityDefinitionSequence: 0x00409220,
31439
31450
  RealWorldValueIntercept: 0x00409224,
31440
31451
  RealWorldValueSlope: 0x00409225,
31441
- FindingsFlagTrial: 0x0040a007,
31452
+ FindingsFlagTrial: 0x0040a007, // retired
31442
31453
  RelationshipType: 0x0040a010,
31443
- FindingsSequenceTrial: 0x0040a020,
31444
- FindingsGroupUIDTrial: 0x0040a021,
31445
- ReferencedFindingsGroupUIDTrial: 0x0040a022,
31446
- FindingsGroupRecordingDateTrial: 0x0040a023,
31447
- FindingsGroupRecordingTimeTrial: 0x0040a024,
31448
- FindingsSourceCategoryCodeSequenceTrial: 0x0040a026,
31454
+ FindingsSequenceTrial: 0x0040a020, // retired
31455
+ FindingsGroupUIDTrial: 0x0040a021, // retired
31456
+ ReferencedFindingsGroupUIDTrial: 0x0040a022, // retired
31457
+ FindingsGroupRecordingDateTrial: 0x0040a023, // retired
31458
+ FindingsGroupRecordingTimeTrial: 0x0040a024, // retired
31459
+ FindingsSourceCategoryCodeSequenceTrial: 0x0040a026, // retired
31449
31460
  VerifyingOrganization: 0x0040a027,
31450
- DocumentingOrganizationIdentifierCodeSequenceTrial: 0x0040a028,
31461
+ DocumentingOrganizationIdentifierCodeSequenceTrial: 0x0040a028, // retired
31451
31462
  VerificationDateTime: 0x0040a030,
31452
31463
  ObservationDateTime: 0x0040a032,
31453
31464
  ValueType: 0x0040a040,
31454
31465
  ConceptNameCodeSequence: 0x0040a043,
31455
- MeasurementPrecisionDescriptionTrial: 0x0040a047,
31466
+ MeasurementPrecisionDescriptionTrial: 0x0040a047, // retired
31456
31467
  ContinuityOfContent: 0x0040a050,
31457
- UrgencyOrPriorityAlertsTrial: 0x0040a057,
31458
- SequencingIndicatorTrial: 0x0040a060,
31459
- DocumentIdentifierCodeSequenceTrial: 0x0040a066,
31460
- DocumentAuthorTrial: 0x0040a067,
31461
- DocumentAuthorIdentifierCodeSequenceTrial: 0x0040a068,
31462
- IdentifierCodeSequenceTrial: 0x0040a070,
31468
+ UrgencyOrPriorityAlertsTrial: 0x0040a057, // retired
31469
+ SequencingIndicatorTrial: 0x0040a060, // retired
31470
+ DocumentIdentifierCodeSequenceTrial: 0x0040a066, // retired
31471
+ DocumentAuthorTrial: 0x0040a067, // retired
31472
+ DocumentAuthorIdentifierCodeSequenceTrial: 0x0040a068, // retired
31473
+ IdentifierCodeSequenceTrial: 0x0040a070, // retired
31463
31474
  VerifyingObserverSequence: 0x0040a073,
31464
- ObjectBinaryIdentifierTrial: 0x0040a074,
31475
+ ObjectBinaryIdentifierTrial: 0x0040a074, // retired
31465
31476
  VerifyingObserverName: 0x0040a075,
31466
- DocumentingObserverIdentifierCodeSequenceTrial: 0x0040a076,
31477
+ DocumentingObserverIdentifierCodeSequenceTrial: 0x0040a076, // retired
31467
31478
  AuthorObserverSequence: 0x0040a078,
31468
31479
  ParticipantSequence: 0x0040a07a,
31469
31480
  CustodialOrganizationSequence: 0x0040a07c,
31470
31481
  ParticipationType: 0x0040a080,
31471
31482
  ParticipationDateTime: 0x0040a082,
31472
31483
  ObserverType: 0x0040a084,
31473
- ProcedureIdentifierCodeSequenceTrial: 0x0040a085,
31484
+ ProcedureIdentifierCodeSequenceTrial: 0x0040a085, // retired
31474
31485
  VerifyingObserverIdentificationCodeSequence: 0x0040a088,
31475
- ObjectDirectoryBinaryIdentifierTrial: 0x0040a089,
31476
- EquivalentCDADocumentSequence: 0x0040a090,
31486
+ ObjectDirectoryBinaryIdentifierTrial: 0x0040a089, // retired
31487
+ EquivalentCDADocumentSequence: 0x0040a090, // retired
31477
31488
  ReferencedWaveformChannels: 0x0040a0b0,
31478
- DateOfDocumentOrVerbalTransactionTrial: 0x0040a110,
31479
- TimeOfDocumentCreationOrVerbalTransactionTrial: 0x0040a112,
31489
+ DateOfDocumentOrVerbalTransactionTrial: 0x0040a110, // retired
31490
+ TimeOfDocumentCreationOrVerbalTransactionTrial: 0x0040a112, // retired
31480
31491
  DateTime: 0x0040a120,
31481
31492
  Date: 0x0040a121,
31482
31493
  Time: 0x0040a122,
31483
31494
  PersonName: 0x0040a123,
31484
31495
  UID: 0x0040a124,
31485
- ReportStatusIDTrial: 0x0040a125,
31496
+ ReportStatusIDTrial: 0x0040a125, // retired
31486
31497
  TemporalRangeType: 0x0040a130,
31487
31498
  ReferencedSamplePositions: 0x0040a132,
31488
31499
  ReferencedFrameNumbers: 0x0040a136,
@@ -31492,45 +31503,45 @@ exports.Tag = {
31492
31503
  FloatingPointValue: 0x0040a161,
31493
31504
  RationalNumeratorValue: 0x0040a162,
31494
31505
  RationalDenominatorValue: 0x0040a163,
31495
- ObservationCategoryCodeSequenceTrial: 0x0040a167,
31506
+ ObservationCategoryCodeSequenceTrial: 0x0040a167, // retired
31496
31507
  ConceptCodeSequence: 0x0040a168,
31497
- BibliographicCitationTrial: 0x0040a16a,
31508
+ BibliographicCitationTrial: 0x0040a16a, // retired
31498
31509
  PurposeOfReferenceCodeSequence: 0x0040a170,
31499
31510
  ObservationUID: 0x0040a171,
31500
- ReferencedObservationUIDTrial: 0x0040a172,
31501
- ReferencedObservationClassTrial: 0x0040a173,
31502
- ReferencedObjectObservationClassTrial: 0x0040a174,
31511
+ ReferencedObservationUIDTrial: 0x0040a172, // retired
31512
+ ReferencedObservationClassTrial: 0x0040a173, // retired
31513
+ ReferencedObjectObservationClassTrial: 0x0040a174, // retired
31503
31514
  AnnotationGroupNumber: 0x0040a180,
31504
- ObservationDateTrial: 0x0040a192,
31505
- ObservationTimeTrial: 0x0040a193,
31506
- MeasurementAutomationTrial: 0x0040a194,
31515
+ ObservationDateTrial: 0x0040a192, // retired
31516
+ ObservationTimeTrial: 0x0040a193, // retired
31517
+ MeasurementAutomationTrial: 0x0040a194, // retired
31507
31518
  ModifierCodeSequence: 0x0040a195,
31508
- IdentificationDescriptionTrial: 0x0040a224,
31509
- CoordinatesSetGeometricTypeTrial: 0x0040a290,
31510
- AlgorithmCodeSequenceTrial: 0x0040a296,
31511
- AlgorithmDescriptionTrial: 0x0040a297,
31512
- PixelCoordinatesSetTrial: 0x0040a29a,
31519
+ IdentificationDescriptionTrial: 0x0040a224, // retired
31520
+ CoordinatesSetGeometricTypeTrial: 0x0040a290, // retired
31521
+ AlgorithmCodeSequenceTrial: 0x0040a296, // retired
31522
+ AlgorithmDescriptionTrial: 0x0040a297, // retired
31523
+ PixelCoordinatesSetTrial: 0x0040a29a, // retired
31513
31524
  MeasuredValueSequence: 0x0040a300,
31514
31525
  NumericValueQualifierCodeSequence: 0x0040a301,
31515
- CurrentObserverTrial: 0x0040a307,
31526
+ CurrentObserverTrial: 0x0040a307, // retired
31516
31527
  NumericValue: 0x0040a30a,
31517
- ReferencedAccessionSequenceTrial: 0x0040a313,
31518
- ReportStatusCommentTrial: 0x0040a33a,
31519
- ProcedureContextSequenceTrial: 0x0040a340,
31520
- VerbalSourceTrial: 0x0040a352,
31521
- AddressTrial: 0x0040a353,
31522
- TelephoneNumberTrial: 0x0040a354,
31523
- VerbalSourceIdentifierCodeSequenceTrial: 0x0040a358,
31528
+ ReferencedAccessionSequenceTrial: 0x0040a313, // retired
31529
+ ReportStatusCommentTrial: 0x0040a33a, // retired
31530
+ ProcedureContextSequenceTrial: 0x0040a340, // retired
31531
+ VerbalSourceTrial: 0x0040a352, // retired
31532
+ AddressTrial: 0x0040a353, // retired
31533
+ TelephoneNumberTrial: 0x0040a354, // retired
31534
+ VerbalSourceIdentifierCodeSequenceTrial: 0x0040a358, // retired
31524
31535
  PredecessorDocumentsSequence: 0x0040a360,
31525
31536
  ReferencedRequestSequence: 0x0040a370,
31526
31537
  PerformedProcedureCodeSequence: 0x0040a372,
31527
31538
  CurrentRequestedProcedureEvidenceSequence: 0x0040a375,
31528
- ReportDetailSequenceTrial: 0x0040a380,
31539
+ ReportDetailSequenceTrial: 0x0040a380, // retired
31529
31540
  PertinentOtherEvidenceSequence: 0x0040a385,
31530
31541
  HL7StructuredDocumentReferenceSequence: 0x0040a390,
31531
- ObservationSubjectUIDTrial: 0x0040a402,
31532
- ObservationSubjectClassTrial: 0x0040a403,
31533
- ObservationSubjectTypeCodeSequenceTrial: 0x0040a404,
31542
+ ObservationSubjectUIDTrial: 0x0040a402, // retired
31543
+ ObservationSubjectClassTrial: 0x0040a403, // retired
31544
+ ObservationSubjectTypeCodeSequenceTrial: 0x0040a404, // retired
31534
31545
  CompletionFlag: 0x0040a491,
31535
31546
  CompletionFlagDescription: 0x0040a492,
31536
31547
  VerificationFlag: 0x0040a493,
@@ -31538,21 +31549,21 @@ exports.Tag = {
31538
31549
  PreliminaryFlag: 0x0040a496,
31539
31550
  ContentTemplateSequence: 0x0040a504,
31540
31551
  IdenticalDocumentsSequence: 0x0040a525,
31541
- ObservationSubjectContextFlagTrial: 0x0040a600,
31542
- ObserverContextFlagTrial: 0x0040a601,
31543
- ProcedureContextFlagTrial: 0x0040a603,
31552
+ ObservationSubjectContextFlagTrial: 0x0040a600, // retired
31553
+ ObserverContextFlagTrial: 0x0040a601, // retired
31554
+ ProcedureContextFlagTrial: 0x0040a603, // retired
31544
31555
  ContentSequence: 0x0040a730,
31545
- RelationshipSequenceTrial: 0x0040a731,
31546
- RelationshipTypeCodeSequenceTrial: 0x0040a732,
31547
- LanguageCodeSequenceTrial: 0x0040a744,
31548
- UniformResourceLocatorTrial: 0x0040a992,
31556
+ RelationshipSequenceTrial: 0x0040a731, // retired
31557
+ RelationshipTypeCodeSequenceTrial: 0x0040a732, // retired
31558
+ LanguageCodeSequenceTrial: 0x0040a744, // retired
31559
+ UniformResourceLocatorTrial: 0x0040a992, // retired
31549
31560
  WaveformAnnotationSequence: 0x0040b020,
31550
31561
  TemplateIdentifier: 0x0040db00,
31551
- TemplateVersion: 0x0040db06,
31552
- TemplateLocalVersion: 0x0040db07,
31553
- TemplateExtensionFlag: 0x0040db0b,
31554
- TemplateExtensionOrganizationUID: 0x0040db0c,
31555
- TemplateExtensionCreatorUID: 0x0040db0d,
31562
+ TemplateVersion: 0x0040db06, // retired
31563
+ TemplateLocalVersion: 0x0040db07, // retired
31564
+ TemplateExtensionFlag: 0x0040db0b, // retired
31565
+ TemplateExtensionOrganizationUID: 0x0040db0c, // retired
31566
+ TemplateExtensionCreatorUID: 0x0040db0d, // retired
31556
31567
  ReferencedContentItemIdentifier: 0x0040db73,
31557
31568
  HL7InstanceIdentifier: 0x0040e001,
31558
31569
  HL7DocumentEffectiveTime: 0x0040e004,
@@ -31829,8 +31840,8 @@ exports.Tag = {
31829
31840
  ScatterFractionFactor: 0x00541323,
31830
31841
  DeadTimeFactor: 0x00541324,
31831
31842
  ImageIndex: 0x00541330,
31832
- CountsIncluded: 0x00541400,
31833
- DeadTimeCorrectionFlag: 0x00541401,
31843
+ CountsIncluded: 0x00541400, // retired
31844
+ DeadTimeCorrectionFlag: 0x00541401, // retired
31834
31845
  HistogramSequence: 0x00603000,
31835
31846
  HistogramNumberOfBins: 0x00603002,
31836
31847
  HistogramFirstBinValue: 0x00603004,
@@ -31892,13 +31903,13 @@ exports.Tag = {
31892
31903
  VectorDimensionality: 0x0066001f,
31893
31904
  VectorAccuracy: 0x00660020,
31894
31905
  VectorCoordinateData: 0x00660021,
31895
- TrianglePointIndexList: 0x00660023,
31896
- EdgePointIndexList: 0x00660024,
31897
- VertexPointIndexList: 0x00660025,
31906
+ TrianglePointIndexList: 0x00660023, // retired
31907
+ EdgePointIndexList: 0x00660024, // retired
31908
+ VertexPointIndexList: 0x00660025, // retired
31898
31909
  TriangleStripSequence: 0x00660026,
31899
31910
  TriangleFanSequence: 0x00660027,
31900
31911
  LineSequence: 0x00660028,
31901
- PrimitivePointIndexList: 0x00660029,
31912
+ PrimitivePointIndexList: 0x00660029, // retired
31902
31913
  SurfaceCount: 0x0066002a,
31903
31914
  ReferencedSurfaceSequence: 0x0066002b,
31904
31915
  ReferencedSurfaceNumber: 0x0066002c,
@@ -32021,18 +32032,18 @@ exports.Tag = {
32021
32032
  GraphicData: 0x00700022,
32022
32033
  GraphicType: 0x00700023,
32023
32034
  GraphicFilled: 0x00700024,
32024
- ImageRotationRetired: 0x00700040,
32035
+ ImageRotationRetired: 0x00700040, // retired
32025
32036
  ImageHorizontalFlip: 0x00700041,
32026
32037
  ImageRotation: 0x00700042,
32027
- DisplayedAreaTopLeftHandCornerTrial: 0x00700050,
32028
- DisplayedAreaBottomRightHandCornerTrial: 0x00700051,
32038
+ DisplayedAreaTopLeftHandCornerTrial: 0x00700050, // retired
32039
+ DisplayedAreaBottomRightHandCornerTrial: 0x00700051, // retired
32029
32040
  DisplayedAreaTopLeftHandCorner: 0x00700052,
32030
32041
  DisplayedAreaBottomRightHandCorner: 0x00700053,
32031
32042
  DisplayedAreaSelectionSequence: 0x0070005a,
32032
32043
  GraphicLayerSequence: 0x00700060,
32033
32044
  GraphicLayerOrder: 0x00700062,
32034
32045
  GraphicLayerRecommendedDisplayGrayscaleValue: 0x00700066,
32035
- GraphicLayerRecommendedDisplayRGBValue: 0x00700067,
32046
+ GraphicLayerRecommendedDisplayRGBValue: 0x00700067, // retired
32036
32047
  GraphicLayerDescription: 0x00700068,
32037
32048
  ContentLabel: 0x00700080,
32038
32049
  ContentDescription: 0x00700081,
@@ -32121,7 +32132,7 @@ exports.Tag = {
32121
32132
  InputSequencePositionIndex: 0x00701203,
32122
32133
  Crop: 0x00701204,
32123
32134
  CroppingSpecificationIndex: 0x00701205,
32124
- CompositingMethod: 0x00701206,
32135
+ CompositingMethod: 0x00701206, // retired
32125
32136
  VolumetricPresentationInputNumber: 0x00701207,
32126
32137
  ImageVolumeGeometry: 0x00701208,
32127
32138
  VolumetricPresentationInputSetUID: 0x00701209,
@@ -32324,7 +32335,7 @@ exports.Tag = {
32324
32335
  ProcedureStepDiscontinuationReasonCodeSequence: 0x0074100e,
32325
32336
  BeamTaskSequence: 0x00741020,
32326
32337
  BeamTaskType: 0x00741022,
32327
- BeamOrderIndexTrial: 0x00741024,
32338
+ BeamOrderIndexTrial: 0x00741024, // retired
32328
32339
  AutosequenceFlag: 0x00741025,
32329
32340
  TableTopVerticalAdjustedPosition: 0x00741026,
32330
32341
  TableTopLongitudinalAdjustedPosition: 0x00741027,
@@ -32337,8 +32348,8 @@ exports.Tag = {
32337
32348
  VerificationImageTiming: 0x00741032,
32338
32349
  DoubleExposureFlag: 0x00741034,
32339
32350
  DoubleExposureOrdering: 0x00741036,
32340
- DoubleExposureMetersetTrial: 0x00741038,
32341
- DoubleExposureFieldDeltaTrial: 0x0074103a,
32351
+ DoubleExposureMetersetTrial: 0x00741038, // retired
32352
+ DoubleExposureFieldDeltaTrial: 0x0074103a, // retired
32342
32353
  RelatedReferenceRTImageSequence: 0x00741040,
32343
32354
  GeneralMachineVerificationSequence: 0x00741042,
32344
32355
  ConventionalMachineVerificationSequence: 0x00741044,
@@ -32358,8 +32369,8 @@ exports.Tag = {
32358
32369
  ScheduledProcessingParametersSequence: 0x00741210,
32359
32370
  PerformedProcessingParametersSequence: 0x00741212,
32360
32371
  UnifiedProcedureStepPerformedProcedureSequence: 0x00741216,
32361
- RelatedProcedureStepSequence: 0x00741220,
32362
- ProcedureStepRelationshipType: 0x00741222,
32372
+ RelatedProcedureStepSequence: 0x00741220, // retired
32373
+ ProcedureStepRelationshipType: 0x00741222, // retired
32363
32374
  ReplacedProcedureStepSequence: 0x00741224,
32364
32375
  DeletionLock: 0x00741230,
32365
32376
  ReceivingAE: 0x00741234,
@@ -32466,10 +32477,10 @@ exports.Tag = {
32466
32477
  StorageMediaFileSetID: 0x00880130,
32467
32478
  StorageMediaFileSetUID: 0x00880140,
32468
32479
  IconImageSequence: 0x00880200,
32469
- TopicTitle: 0x00880904,
32470
- TopicSubject: 0x00880906,
32471
- TopicAuthor: 0x00880910,
32472
- TopicKeywords: 0x00880912,
32480
+ TopicTitle: 0x00880904, // retired
32481
+ TopicSubject: 0x00880906, // retired
32482
+ TopicAuthor: 0x00880910, // retired
32483
+ TopicKeywords: 0x00880912, // retired
32473
32484
  SOPInstanceStatus: 0x01000410,
32474
32485
  SOPAuthorizationDateTime: 0x01000420,
32475
32486
  SOPAuthorizationComment: 0x01000424,
@@ -32498,13 +32509,13 @@ exports.Tag = {
32498
32509
  ModifyingSystem: 0x04000563,
32499
32510
  SourceOfPreviousValues: 0x04000564,
32500
32511
  ReasonForTheAttributeModification: 0x04000565,
32501
- EscapeTriplet: 0x10000000,
32502
- RunLengthTriplet: 0x10000001,
32503
- HuffmanTableSize: 0x10000002,
32504
- HuffmanTableTriplet: 0x10000003,
32505
- ShiftTableSize: 0x10000004,
32506
- ShiftTableTriplet: 0x10000005,
32507
- ZonalMap: 0x10100000,
32512
+ EscapeTriplet: 0x10000000, // retired
32513
+ RunLengthTriplet: 0x10000001, // retired
32514
+ HuffmanTableSize: 0x10000002, // retired
32515
+ HuffmanTableTriplet: 0x10000003, // retired
32516
+ ShiftTableSize: 0x10000004, // retired
32517
+ ShiftTableTriplet: 0x10000005, // retired
32518
+ ZonalMap: 0x10100000, // retired
32508
32519
  NumberOfCopies: 0x20000010,
32509
32520
  PrinterConfigurationSequence: 0x2000001e,
32510
32521
  PrintPriority: 0x20000020,
@@ -32513,19 +32524,19 @@ exports.Tag = {
32513
32524
  FilmSessionLabel: 0x20000050,
32514
32525
  MemoryAllocation: 0x20000060,
32515
32526
  MaximumMemoryAllocation: 0x20000061,
32516
- ColorImagePrintingFlag: 0x20000062,
32517
- CollationFlag: 0x20000063,
32518
- AnnotationFlag: 0x20000065,
32519
- ImageOverlayFlag: 0x20000067,
32520
- PresentationLUTFlag: 0x20000069,
32521
- ImageBoxPresentationLUTFlag: 0x2000006a,
32527
+ ColorImagePrintingFlag: 0x20000062, // retired
32528
+ CollationFlag: 0x20000063, // retired
32529
+ AnnotationFlag: 0x20000065, // retired
32530
+ ImageOverlayFlag: 0x20000067, // retired
32531
+ PresentationLUTFlag: 0x20000069, // retired
32532
+ ImageBoxPresentationLUTFlag: 0x2000006a, // retired
32522
32533
  MemoryBitDepth: 0x200000a0,
32523
32534
  PrintingBitDepth: 0x200000a1,
32524
32535
  MediaInstalledSequence: 0x200000a2,
32525
32536
  OtherMediaAvailableSequence: 0x200000a4,
32526
32537
  SupportedImageDisplayFormatsSequence: 0x200000a8,
32527
32538
  ReferencedFilmBoxSequence: 0x20000500,
32528
- ReferencedStoredPrintSequence: 0x20000510,
32539
+ ReferencedStoredPrintSequence: 0x20000510, // retired
32529
32540
  ImageDisplayFormat: 0x20100010,
32530
32541
  AnnotationDisplayFormatID: 0x20100030,
32531
32542
  FilmOrientation: 0x20100040,
@@ -32561,26 +32572,26 @@ exports.Tag = {
32561
32572
  DecimateCropResult: 0x202000a2,
32562
32573
  BasicGrayscaleImageSequence: 0x20200110,
32563
32574
  BasicColorImageSequence: 0x20200111,
32564
- ReferencedImageOverlayBoxSequence: 0x20200130,
32565
- ReferencedVOILUTBoxSequence: 0x20200140,
32575
+ ReferencedImageOverlayBoxSequence: 0x20200130, // retired
32576
+ ReferencedVOILUTBoxSequence: 0x20200140, // retired
32566
32577
  AnnotationPosition: 0x20300010,
32567
32578
  TextString: 0x20300020,
32568
- ReferencedOverlayPlaneSequence: 0x20400010,
32569
- ReferencedOverlayPlaneGroups: 0x20400011,
32570
- OverlayPixelDataSequence: 0x20400020,
32571
- OverlayMagnificationType: 0x20400060,
32572
- OverlaySmoothingType: 0x20400070,
32573
- OverlayOrImageMagnification: 0x20400072,
32574
- MagnifyToNumberOfColumns: 0x20400074,
32575
- OverlayForegroundDensity: 0x20400080,
32576
- OverlayBackgroundDensity: 0x20400082,
32577
- OverlayMode: 0x20400090,
32578
- ThresholdDensity: 0x20400100,
32579
- ReferencedImageBoxSequenceRetired: 0x20400500,
32579
+ ReferencedOverlayPlaneSequence: 0x20400010, // retired
32580
+ ReferencedOverlayPlaneGroups: 0x20400011, // retired
32581
+ OverlayPixelDataSequence: 0x20400020, // retired
32582
+ OverlayMagnificationType: 0x20400060, // retired
32583
+ OverlaySmoothingType: 0x20400070, // retired
32584
+ OverlayOrImageMagnification: 0x20400072, // retired
32585
+ MagnifyToNumberOfColumns: 0x20400074, // retired
32586
+ OverlayForegroundDensity: 0x20400080, // retired
32587
+ OverlayBackgroundDensity: 0x20400082, // retired
32588
+ OverlayMode: 0x20400090, // retired
32589
+ ThresholdDensity: 0x20400100, // retired
32590
+ ReferencedImageBoxSequenceRetired: 0x20400500, // retired
32580
32591
  PresentationLUTSequence: 0x20500010,
32581
32592
  PresentationLUTShape: 0x20500020,
32582
32593
  ReferencedPresentationLUTSequence: 0x20500500,
32583
- PrintJobID: 0x21000010,
32594
+ PrintJobID: 0x21000010, // retired
32584
32595
  ExecutionStatus: 0x21000020,
32585
32596
  ExecutionStatusInfo: 0x21000030,
32586
32597
  CreationDate: 0x21000040,
@@ -32589,23 +32600,23 @@ exports.Tag = {
32589
32600
  DestinationAE: 0x21000140,
32590
32601
  OwnerID: 0x21000160,
32591
32602
  NumberOfFilms: 0x21000170,
32592
- ReferencedPrintJobSequencePullStoredPrint: 0x21000500,
32603
+ ReferencedPrintJobSequencePullStoredPrint: 0x21000500, // retired
32593
32604
  PrinterStatus: 0x21100010,
32594
32605
  PrinterStatusInfo: 0x21100020,
32595
32606
  PrinterName: 0x21100030,
32596
- PrintQueueID: 0x21100099,
32597
- QueueStatus: 0x21200010,
32598
- PrintJobDescriptionSequence: 0x21200050,
32599
- ReferencedPrintJobSequence: 0x21200070,
32600
- PrintManagementCapabilitiesSequence: 0x21300010,
32601
- PrinterCharacteristicsSequence: 0x21300015,
32602
- FilmBoxContentSequence: 0x21300030,
32603
- ImageBoxContentSequence: 0x21300040,
32604
- AnnotationContentSequence: 0x21300050,
32605
- ImageOverlayBoxContentSequence: 0x21300060,
32606
- PresentationLUTContentSequence: 0x21300080,
32607
- ProposedStudySequence: 0x213000a0,
32608
- OriginalImageSequence: 0x213000c0,
32607
+ PrintQueueID: 0x21100099, // retired
32608
+ QueueStatus: 0x21200010, // retired
32609
+ PrintJobDescriptionSequence: 0x21200050, // retired
32610
+ ReferencedPrintJobSequence: 0x21200070, // retired
32611
+ PrintManagementCapabilitiesSequence: 0x21300010, // retired
32612
+ PrinterCharacteristicsSequence: 0x21300015, // retired
32613
+ FilmBoxContentSequence: 0x21300030, // retired
32614
+ ImageBoxContentSequence: 0x21300040, // retired
32615
+ AnnotationContentSequence: 0x21300050, // retired
32616
+ ImageOverlayBoxContentSequence: 0x21300060, // retired
32617
+ PresentationLUTContentSequence: 0x21300080, // retired
32618
+ ProposedStudySequence: 0x213000a0, // retired
32619
+ OriginalImageSequence: 0x213000c0, // retired
32609
32620
  LabelUsingInformationExtractedFromInstances: 0x22000001,
32610
32621
  LabelText: 0x22000002,
32611
32622
  LabelStyleSelection: 0x22000003,
@@ -32716,10 +32727,10 @@ exports.Tag = {
32716
32727
  ROIElementalCompositionSequence: 0x300600b6,
32717
32728
  ROIElementalCompositionAtomicNumber: 0x300600b7,
32718
32729
  ROIElementalCompositionAtomicMassFraction: 0x300600b8,
32719
- AdditionalRTROIIdentificationCodeSequence: 0x300600b9,
32720
- FrameOfReferenceRelationshipSequence: 0x300600c0,
32721
- RelatedFrameOfReferenceUID: 0x300600c2,
32722
- FrameOfReferenceTransformationType: 0x300600c4,
32730
+ AdditionalRTROIIdentificationCodeSequence: 0x300600b9, // retired
32731
+ FrameOfReferenceRelationshipSequence: 0x300600c0, // retired
32732
+ RelatedFrameOfReferenceUID: 0x300600c2, // retired
32733
+ FrameOfReferenceTransformationType: 0x300600c4, // retired
32723
32734
  FrameOfReferenceTransformationMatrix: 0x300600c6,
32724
32735
  FrameOfReferenceTransformationComment: 0x300600c8,
32725
32736
  MeasuredDoseReferenceSequence: 0x30080010,
@@ -32880,9 +32891,9 @@ exports.Tag = {
32880
32891
  BeamDosePointSSD: 0x300a008a,
32881
32892
  BeamDoseMeaning: 0x300a008b,
32882
32893
  BeamDoseVerificationControlPointSequence: 0x300a008c,
32883
- AverageBeamDosePointDepth: 0x300a008d,
32884
- AverageBeamDosePointEquivalentDepth: 0x300a008e,
32885
- AverageBeamDosePointSSD: 0x300a008f,
32894
+ AverageBeamDosePointDepth: 0x300a008d, // retired
32895
+ AverageBeamDosePointEquivalentDepth: 0x300a008e, // retired
32896
+ AverageBeamDosePointSSD: 0x300a008f, // retired
32886
32897
  BeamDoseType: 0x300a0090,
32887
32898
  AlternateBeamDose: 0x300a0091,
32888
32899
  AlternateBeamDoseType: 0x300a0092,
@@ -33254,36 +33265,36 @@ exports.Tag = {
33254
33265
  ReviewDate: 0x300e0004,
33255
33266
  ReviewTime: 0x300e0005,
33256
33267
  ReviewerName: 0x300e0008,
33257
- Arbitrary: 0x40000010,
33258
- TextComments: 0x40004000,
33259
- ResultsID: 0x40080040,
33260
- ResultsIDIssuer: 0x40080042,
33261
- ReferencedInterpretationSequence: 0x40080050,
33262
- ReportProductionStatusTrial: 0x400800ff,
33263
- InterpretationRecordedDate: 0x40080100,
33264
- InterpretationRecordedTime: 0x40080101,
33265
- InterpretationRecorder: 0x40080102,
33266
- ReferenceToRecordedSound: 0x40080103,
33267
- InterpretationTranscriptionDate: 0x40080108,
33268
- InterpretationTranscriptionTime: 0x40080109,
33269
- InterpretationTranscriber: 0x4008010a,
33270
- InterpretationText: 0x4008010b,
33271
- InterpretationAuthor: 0x4008010c,
33272
- InterpretationApproverSequence: 0x40080111,
33273
- InterpretationApprovalDate: 0x40080112,
33274
- InterpretationApprovalTime: 0x40080113,
33275
- PhysicianApprovingInterpretation: 0x40080114,
33276
- InterpretationDiagnosisDescription: 0x40080115,
33277
- InterpretationDiagnosisCodeSequence: 0x40080117,
33278
- ResultsDistributionListSequence: 0x40080118,
33279
- DistributionName: 0x40080119,
33280
- DistributionAddress: 0x4008011a,
33281
- InterpretationID: 0x40080200,
33282
- InterpretationIDIssuer: 0x40080202,
33283
- InterpretationTypeID: 0x40080210,
33284
- InterpretationStatusID: 0x40080212,
33285
- Impressions: 0x40080300,
33286
- ResultsComments: 0x40084000,
33268
+ Arbitrary: 0x40000010, // retired
33269
+ TextComments: 0x40004000, // retired
33270
+ ResultsID: 0x40080040, // retired
33271
+ ResultsIDIssuer: 0x40080042, // retired
33272
+ ReferencedInterpretationSequence: 0x40080050, // retired
33273
+ ReportProductionStatusTrial: 0x400800ff, // retired
33274
+ InterpretationRecordedDate: 0x40080100, // retired
33275
+ InterpretationRecordedTime: 0x40080101, // retired
33276
+ InterpretationRecorder: 0x40080102, // retired
33277
+ ReferenceToRecordedSound: 0x40080103, // retired
33278
+ InterpretationTranscriptionDate: 0x40080108, // retired
33279
+ InterpretationTranscriptionTime: 0x40080109, // retired
33280
+ InterpretationTranscriber: 0x4008010a, // retired
33281
+ InterpretationText: 0x4008010b, // retired
33282
+ InterpretationAuthor: 0x4008010c, // retired
33283
+ InterpretationApproverSequence: 0x40080111, // retired
33284
+ InterpretationApprovalDate: 0x40080112, // retired
33285
+ InterpretationApprovalTime: 0x40080113, // retired
33286
+ PhysicianApprovingInterpretation: 0x40080114, // retired
33287
+ InterpretationDiagnosisDescription: 0x40080115, // retired
33288
+ InterpretationDiagnosisCodeSequence: 0x40080117, // retired
33289
+ ResultsDistributionListSequence: 0x40080118, // retired
33290
+ DistributionName: 0x40080119, // retired
33291
+ DistributionAddress: 0x4008011a, // retired
33292
+ InterpretationID: 0x40080200, // retired
33293
+ InterpretationIDIssuer: 0x40080202, // retired
33294
+ InterpretationTypeID: 0x40080210, // retired
33295
+ InterpretationStatusID: 0x40080212, // retired
33296
+ Impressions: 0x40080300, // retired
33297
+ ResultsComments: 0x40084000, // retired
33287
33298
  LowEnergyDetectors: 0x40100001,
33288
33299
  HighEnergyDetectors: 0x40100002,
33289
33300
  DetectorGeometrySequence: 0x40100004,
@@ -33371,32 +33382,32 @@ exports.Tag = {
33371
33382
  SecondaryInspectionMethodSequence: 0x4010107d,
33372
33383
  PRCSToRCSOrientation: 0x4010107e,
33373
33384
  MACParametersSequence: 0x4ffe0001,
33374
- CurveDimensions: 0x50000005,
33375
- NumberOfPoints: 0x50000010,
33376
- TypeOfData: 0x50000020,
33377
- CurveDescription: 0x50000022,
33378
- AxisUnits: 0x50000030,
33379
- AxisLabels: 0x50000040,
33380
- DataValueRepresentation: 0x50000103,
33381
- MinimumCoordinateValue: 0x50000104,
33382
- MaximumCoordinateValue: 0x50000105,
33383
- CurveRange: 0x50000106,
33384
- CurveDataDescriptor: 0x50000110,
33385
- CoordinateStartValue: 0x50000112,
33386
- CoordinateStepValue: 0x50000114,
33387
- CurveActivationLayer: 0x50001001,
33388
- AudioType: 0x50002000,
33389
- AudioSampleFormat: 0x50002002,
33390
- NumberOfChannels: 0x50002004,
33391
- NumberOfSamples: 0x50002006,
33392
- SampleRate: 0x50002008,
33393
- TotalTime: 0x5000200a,
33394
- AudioSampleData: 0x5000200c,
33395
- AudioComments: 0x5000200e,
33396
- CurveLabel: 0x50002500,
33397
- CurveReferencedOverlaySequence: 0x50002600,
33398
- CurveReferencedOverlayGroup: 0x50002610,
33399
- CurveData: 0x50003000,
33385
+ CurveDimensions: 0x50000005, // retired
33386
+ NumberOfPoints: 0x50000010, // retired
33387
+ TypeOfData: 0x50000020, // retired
33388
+ CurveDescription: 0x50000022, // retired
33389
+ AxisUnits: 0x50000030, // retired
33390
+ AxisLabels: 0x50000040, // retired
33391
+ DataValueRepresentation: 0x50000103, // retired
33392
+ MinimumCoordinateValue: 0x50000104, // retired
33393
+ MaximumCoordinateValue: 0x50000105, // retired
33394
+ CurveRange: 0x50000106, // retired
33395
+ CurveDataDescriptor: 0x50000110, // retired
33396
+ CoordinateStartValue: 0x50000112, // retired
33397
+ CoordinateStepValue: 0x50000114, // retired
33398
+ CurveActivationLayer: 0x50001001, // retired
33399
+ AudioType: 0x50002000, // retired
33400
+ AudioSampleFormat: 0x50002002, // retired
33401
+ NumberOfChannels: 0x50002004, // retired
33402
+ NumberOfSamples: 0x50002006, // retired
33403
+ SampleRate: 0x50002008, // retired
33404
+ TotalTime: 0x5000200a, // retired
33405
+ AudioSampleData: 0x5000200c, // retired
33406
+ AudioComments: 0x5000200e, // retired
33407
+ CurveLabel: 0x50002500, // retired
33408
+ CurveReferencedOverlaySequence: 0x50002600, // retired
33409
+ CurveReferencedOverlayGroup: 0x50002610, // retired
33410
+ CurveData: 0x50003000, // retired
33400
33411
  SharedFunctionalGroupsSequence: 0x52009229,
33401
33412
  PerFrameFunctionalGroupsSequence: 0x52009230,
33402
33413
  WaveformSequence: 0x54000100,
@@ -33410,55 +33421,55 @@ exports.Tag = {
33410
33421
  SpectroscopyData: 0x56000020,
33411
33422
  OverlayRows: 0x60000010,
33412
33423
  OverlayColumns: 0x60000011,
33413
- OverlayPlanes: 0x60000012,
33424
+ OverlayPlanes: 0x60000012, // retired
33414
33425
  NumberOfFramesInOverlay: 0x60000015,
33415
33426
  OverlayDescription: 0x60000022,
33416
33427
  OverlayType: 0x60000040,
33417
33428
  OverlaySubtype: 0x60000045,
33418
33429
  OverlayOrigin: 0x60000050,
33419
33430
  ImageFrameOrigin: 0x60000051,
33420
- OverlayPlaneOrigin: 0x60000052,
33421
- OverlayCompressionCode: 0x60000060,
33422
- OverlayCompressionOriginator: 0x60000061,
33423
- OverlayCompressionLabel: 0x60000062,
33424
- OverlayCompressionDescription: 0x60000063,
33425
- OverlayCompressionStepPointers: 0x60000066,
33426
- OverlayRepeatInterval: 0x60000068,
33427
- OverlayBitsGrouped: 0x60000069,
33431
+ OverlayPlaneOrigin: 0x60000052, // retired
33432
+ OverlayCompressionCode: 0x60000060, // retired
33433
+ OverlayCompressionOriginator: 0x60000061, // retired
33434
+ OverlayCompressionLabel: 0x60000062, // retired
33435
+ OverlayCompressionDescription: 0x60000063, // retired
33436
+ OverlayCompressionStepPointers: 0x60000066, // retired
33437
+ OverlayRepeatInterval: 0x60000068, // retired
33438
+ OverlayBitsGrouped: 0x60000069, // retired
33428
33439
  OverlayBitsAllocated: 0x60000100,
33429
33440
  OverlayBitPosition: 0x60000102,
33430
- OverlayFormat: 0x60000110,
33431
- OverlayLocation: 0x60000200,
33432
- OverlayCodeLabel: 0x60000800,
33433
- OverlayNumberOfTables: 0x60000802,
33434
- OverlayCodeTableLocation: 0x60000803,
33435
- OverlayBitsForCodeWord: 0x60000804,
33441
+ OverlayFormat: 0x60000110, // retired
33442
+ OverlayLocation: 0x60000200, // retired
33443
+ OverlayCodeLabel: 0x60000800, // retired
33444
+ OverlayNumberOfTables: 0x60000802, // retired
33445
+ OverlayCodeTableLocation: 0x60000803, // retired
33446
+ OverlayBitsForCodeWord: 0x60000804, // retired
33436
33447
  OverlayActivationLayer: 0x60001001,
33437
- OverlayDescriptorGray: 0x60001100,
33438
- OverlayDescriptorRed: 0x60001101,
33439
- OverlayDescriptorGreen: 0x60001102,
33440
- OverlayDescriptorBlue: 0x60001103,
33441
- OverlaysGray: 0x60001200,
33442
- OverlaysRed: 0x60001201,
33443
- OverlaysGreen: 0x60001202,
33444
- OverlaysBlue: 0x60001203,
33448
+ OverlayDescriptorGray: 0x60001100, // retired
33449
+ OverlayDescriptorRed: 0x60001101, // retired
33450
+ OverlayDescriptorGreen: 0x60001102, // retired
33451
+ OverlayDescriptorBlue: 0x60001103, // retired
33452
+ OverlaysGray: 0x60001200, // retired
33453
+ OverlaysRed: 0x60001201, // retired
33454
+ OverlaysGreen: 0x60001202, // retired
33455
+ OverlaysBlue: 0x60001203, // retired
33445
33456
  ROIArea: 0x60001301,
33446
33457
  ROIMean: 0x60001302,
33447
33458
  ROIStandardDeviation: 0x60001303,
33448
33459
  OverlayLabel: 0x60001500,
33449
33460
  OverlayData: 0x60003000,
33450
- OverlayComments: 0x60004000,
33461
+ OverlayComments: 0x60004000, // retired
33451
33462
  FloatPixelData: 0x7fe00008,
33452
33463
  DoubleFloatPixelData: 0x7fe00009,
33453
33464
  PixelData: 0x7fe00010,
33454
- CoefficientsSDVN: 0x7fe00020,
33455
- CoefficientsSDHN: 0x7fe00030,
33456
- CoefficientsSDDN: 0x7fe00040,
33457
- VariablePixelData: 0x7f000010,
33458
- VariableNextDataGroup: 0x7f000011,
33459
- VariableCoefficientsSDVN: 0x7f000020,
33460
- VariableCoefficientsSDHN: 0x7f000030,
33461
- VariableCoefficientsSDDN: 0x7f000040,
33465
+ CoefficientsSDVN: 0x7fe00020, // retired
33466
+ CoefficientsSDHN: 0x7fe00030, // retired
33467
+ CoefficientsSDDN: 0x7fe00040, // retired
33468
+ VariablePixelData: 0x7f000010, // retired
33469
+ VariableNextDataGroup: 0x7f000011, // retired
33470
+ VariableCoefficientsSDVN: 0x7f000020, // retired
33471
+ VariableCoefficientsSDHN: 0x7f000030, // retired
33472
+ VariableCoefficientsSDDN: 0x7f000040, // retired
33462
33473
  DigitalSignaturesSequence: 0xfffafffa,
33463
33474
  DataSetTrailingPadding: 0xfffcfffc,
33464
33475
  Item: 0xfffee000,
@@ -33488,6 +33499,7 @@ class UIDToName {
33488
33499
  return UIDToName.dict[uid];
33489
33500
  }
33490
33501
  }
33502
+ exports.UIDToName = UIDToName;
33491
33503
  UIDToName.dict = {
33492
33504
  '1.2.840.10008.1.1': 'Verification SOP Class',
33493
33505
  '1.2.840.10008.1.2': 'Implicit VR Little Endian',
@@ -33899,7 +33911,6 @@ UIDToName.dict = {
33899
33911
  '1.2.840.10008.15.0.4.8': 'dicom​Transfer​Capability',
33900
33912
  '1.2.840.10008.15.1.1': 'Universal Coordinated Time',
33901
33913
  };
33902
- exports.UIDToName = UIDToName;
33903
33914
 
33904
33915
 
33905
33916
  /***/ }),
@@ -33919,24 +33930,24 @@ exports.UID = {
33919
33930
  ImplicitVRLittleEndian: '1.2.840.10008.1.2',
33920
33931
  ExplicitVRLittleEndian: '1.2.840.10008.1.2.1',
33921
33932
  DeflatedExplicitVRLittleEndian: '1.2.840.10008.1.2.1.99',
33922
- ExplicitVRBigEndianRetired: '1.2.840.10008.1.2.2',
33933
+ ExplicitVRBigEndianRetired: '1.2.840.10008.1.2.2', // retired
33923
33934
  JPEGBaselineProcess1: '1.2.840.10008.1.2.4.50',
33924
33935
  JPEGExtendedProcess24: '1.2.840.10008.1.2.4.51',
33925
- JPEGExtendedProcess35Retired: '1.2.840.10008.1.2.4.52',
33926
- JPEGSpectralSelectionNonHierarchicalProcess68Retired: '1.2.840.10008.1.2.4.53',
33927
- JPEGSpectralSelectionNonHierarchicalProcess79Retired: '1.2.840.10008.1.2.4.54',
33928
- JPEGFullProgressionNonHierarchicalProcess1012Retired: '1.2.840.10008.1.2.4.55',
33929
- JPEGFullProgressionNonHierarchicalProcess1113Retired: '1.2.840.10008.1.2.4.56',
33936
+ JPEGExtendedProcess35Retired: '1.2.840.10008.1.2.4.52', // retired
33937
+ JPEGSpectralSelectionNonHierarchicalProcess68Retired: '1.2.840.10008.1.2.4.53', // retired
33938
+ JPEGSpectralSelectionNonHierarchicalProcess79Retired: '1.2.840.10008.1.2.4.54', // retired
33939
+ JPEGFullProgressionNonHierarchicalProcess1012Retired: '1.2.840.10008.1.2.4.55', // retired
33940
+ JPEGFullProgressionNonHierarchicalProcess1113Retired: '1.2.840.10008.1.2.4.56', // retired
33930
33941
  JPEGLosslessNonHierarchicalProcess14: '1.2.840.10008.1.2.4.57',
33931
- JPEGLosslessNonHierarchicalProcess15Retired: '1.2.840.10008.1.2.4.58',
33932
- JPEGExtendedHierarchicalProcess1618Retired: '1.2.840.10008.1.2.4.59',
33933
- JPEGExtendedHierarchicalProcess1719Retired: '1.2.840.10008.1.2.4.60',
33934
- JPEGSpectralSelectionHierarchicalProcess2022Retired: '1.2.840.10008.1.2.4.61',
33935
- JPEGSpectralSelectionHierarchicalProcess2123Retired: '1.2.840.10008.1.2.4.62',
33936
- JPEGFullProgressionHierarchicalProcess2426Retired: '1.2.840.10008.1.2.4.63',
33937
- JPEGFullProgressionHierarchicalProcess2527Retired: '1.2.840.10008.1.2.4.64',
33938
- JPEGLosslessHierarchicalProcess28Retired: '1.2.840.10008.1.2.4.65',
33939
- JPEGLosslessHierarchicalProcess29Retired: '1.2.840.10008.1.2.4.66',
33942
+ JPEGLosslessNonHierarchicalProcess15Retired: '1.2.840.10008.1.2.4.58', // retired
33943
+ JPEGExtendedHierarchicalProcess1618Retired: '1.2.840.10008.1.2.4.59', // retired
33944
+ JPEGExtendedHierarchicalProcess1719Retired: '1.2.840.10008.1.2.4.60', // retired
33945
+ JPEGSpectralSelectionHierarchicalProcess2022Retired: '1.2.840.10008.1.2.4.61', // retired
33946
+ JPEGSpectralSelectionHierarchicalProcess2123Retired: '1.2.840.10008.1.2.4.62', // retired
33947
+ JPEGFullProgressionHierarchicalProcess2426Retired: '1.2.840.10008.1.2.4.63', // retired
33948
+ JPEGFullProgressionHierarchicalProcess2527Retired: '1.2.840.10008.1.2.4.64', // retired
33949
+ JPEGLosslessHierarchicalProcess28Retired: '1.2.840.10008.1.2.4.65', // retired
33950
+ JPEGLosslessHierarchicalProcess29Retired: '1.2.840.10008.1.2.4.66', // retired
33940
33951
  JPEGLosslessNonHierarchicalFirstOrderPredictionProcess14SelectionValue1: '1.2.840.10008.1.2.4.70',
33941
33952
  JPEGLSLosslessImageCompression: '1.2.840.10008.1.2.4.80',
33942
33953
  JPEGLSLossyNearLosslessImageCompression: '1.2.840.10008.1.2.4.81',
@@ -33987,12 +33998,12 @@ exports.UID = {
33987
33998
  SummerColorPaletteSOPInstance: '1.2.840.10008.1.5.6',
33988
33999
  FallColorPaletteSOPInstance: '1.2.840.10008.1.5.7',
33989
34000
  WinterColorPaletteSOPInstance: '1.2.840.10008.1.5.8',
33990
- BasicStudyContentNotificationSOPClassRetired: '1.2.840.10008.1.9',
33991
- Papyrus3ImplicitVRLittleEndianRetired: '1.2.840.10008.1.20',
34001
+ BasicStudyContentNotificationSOPClassRetired: '1.2.840.10008.1.9', // retired
34002
+ Papyrus3ImplicitVRLittleEndianRetired: '1.2.840.10008.1.20', // retired
33992
34003
  StorageCommitmentPushModelSOPClass: '1.2.840.10008.1.20.1',
33993
34004
  StorageCommitmentPushModelSOPInstance: '1.2.840.10008.1.20.1.1',
33994
- StorageCommitmentPullModelSOPClassRetired: '1.2.840.10008.1.20.2',
33995
- StorageCommitmentPullModelSOPInstanceRetired: '1.2.840.10008.1.20.2.1',
34005
+ StorageCommitmentPullModelSOPClassRetired: '1.2.840.10008.1.20.2', // retired
34006
+ StorageCommitmentPullModelSOPInstanceRetired: '1.2.840.10008.1.20.2.1', // retired
33996
34007
  ProceduralEventLoggingSOPClass: '1.2.840.10008.1.40',
33997
34008
  ProceduralEventLoggingSOPInstance: '1.2.840.10008.1.40.1',
33998
34009
  SubstanceAdministrationLoggingSOPClass: '1.2.840.10008.1.42',
@@ -34005,26 +34016,26 @@ exports.UID = {
34005
34016
  MouseGenomeInitiativeMGI: '1.2.840.10008.2.16.8',
34006
34017
  PubChemCompoundCID: '1.2.840.10008.2.16.9',
34007
34018
  DICOMApplicationContextName: '1.2.840.10008.3.1.1.1',
34008
- DetachedPatientManagementSOPClassRetired: '1.2.840.10008.3.1.2.1.1',
34009
- DetachedPatientManagementMetaSOPClassRetired: '1.2.840.10008.3.1.2.1.4',
34010
- DetachedVisitManagementSOPClassRetired: '1.2.840.10008.3.1.2.2.1',
34011
- DetachedStudyManagementSOPClassRetired: '1.2.840.10008.3.1.2.3.1',
34012
- StudyComponentManagementSOPClassRetired: '1.2.840.10008.3.1.2.3.2',
34019
+ DetachedPatientManagementSOPClassRetired: '1.2.840.10008.3.1.2.1.1', // retired
34020
+ DetachedPatientManagementMetaSOPClassRetired: '1.2.840.10008.3.1.2.1.4', // retired
34021
+ DetachedVisitManagementSOPClassRetired: '1.2.840.10008.3.1.2.2.1', // retired
34022
+ DetachedStudyManagementSOPClassRetired: '1.2.840.10008.3.1.2.3.1', // retired
34023
+ StudyComponentManagementSOPClassRetired: '1.2.840.10008.3.1.2.3.2', // retired
34013
34024
  ModalityPerformedProcedureStepSOPClass: '1.2.840.10008.3.1.2.3.3',
34014
34025
  ModalityPerformedProcedureStepRetrieveSOPClass: '1.2.840.10008.3.1.2.3.4',
34015
34026
  ModalityPerformedProcedureStepNotificationSOPClass: '1.2.840.10008.3.1.2.3.5',
34016
- DetachedResultsManagementSOPClassRetired: '1.2.840.10008.3.1.2.5.1',
34017
- DetachedResultsManagementMetaSOPClassRetired: '1.2.840.10008.3.1.2.5.4',
34018
- DetachedStudyManagementMetaSOPClassRetired: '1.2.840.10008.3.1.2.5.5',
34019
- DetachedInterpretationManagementSOPClassRetired: '1.2.840.10008.3.1.2.6.1',
34027
+ DetachedResultsManagementSOPClassRetired: '1.2.840.10008.3.1.2.5.1', // retired
34028
+ DetachedResultsManagementMetaSOPClassRetired: '1.2.840.10008.3.1.2.5.4', // retired
34029
+ DetachedStudyManagementMetaSOPClassRetired: '1.2.840.10008.3.1.2.5.5', // retired
34030
+ DetachedInterpretationManagementSOPClassRetired: '1.2.840.10008.3.1.2.6.1', // retired
34020
34031
  StorageServiceClass: '1.2.840.10008.4.2',
34021
34032
  BasicFilmSessionSOPClass: '1.2.840.10008.5.1.1.1',
34022
34033
  BasicFilmBoxSOPClass: '1.2.840.10008.5.1.1.2',
34023
34034
  BasicGrayscaleImageBoxSOPClass: '1.2.840.10008.5.1.1.4',
34024
34035
  BasicColorImageBoxSOPClass: '1.2.840.10008.5.1.1.4.1',
34025
- ReferencedImageBoxSOPClassRetired: '1.2.840.10008.5.1.1.4.2',
34036
+ ReferencedImageBoxSOPClassRetired: '1.2.840.10008.5.1.1.4.2', // retired
34026
34037
  BasicGrayscalePrintManagementMetaSOPClass: '1.2.840.10008.5.1.1.9',
34027
- ReferencedGrayscalePrintManagementMetaSOPClassRetired: '1.2.840.10008.5.1.1.9.1',
34038
+ ReferencedGrayscalePrintManagementMetaSOPClassRetired: '1.2.840.10008.5.1.1.9.1', // retired
34028
34039
  PrintJobSOPClass: '1.2.840.10008.5.1.1.14',
34029
34040
  BasicAnnotationBoxSOPClass: '1.2.840.10008.5.1.1.15',
34030
34041
  PrinterSOPClass: '1.2.840.10008.5.1.1.16',
@@ -34032,18 +34043,18 @@ exports.UID = {
34032
34043
  PrinterSOPInstance: '1.2.840.10008.5.1.1.17',
34033
34044
  PrinterConfigurationRetrievalSOPInstance: '1.2.840.10008.5.1.1.17.376',
34034
34045
  BasicColorPrintManagementMetaSOPClass: '1.2.840.10008.5.1.1.18',
34035
- ReferencedColorPrintManagementMetaSOPClassRetired: '1.2.840.10008.5.1.1.18.1',
34046
+ ReferencedColorPrintManagementMetaSOPClassRetired: '1.2.840.10008.5.1.1.18.1', // retired
34036
34047
  VOILUTBoxSOPClass: '1.2.840.10008.5.1.1.22',
34037
34048
  PresentationLUTSOPClass: '1.2.840.10008.5.1.1.23',
34038
- ImageOverlayBoxSOPClassRetired: '1.2.840.10008.5.1.1.24',
34039
- BasicPrintImageOverlayBoxSOPClassRetired: '1.2.840.10008.5.1.1.24.1',
34040
- PrintQueueSOPInstanceRetired: '1.2.840.10008.5.1.1.25',
34041
- PrintQueueManagementSOPClassRetired: '1.2.840.10008.5.1.1.26',
34042
- StoredPrintStorageSOPClassRetired: '1.2.840.10008.5.1.1.27',
34043
- HardcopyGrayscaleImageStorageSOPClassRetired: '1.2.840.10008.5.1.1.29',
34044
- HardcopyColorImageStorageSOPClassRetired: '1.2.840.10008.5.1.1.30',
34045
- PullPrintRequestSOPClassRetired: '1.2.840.10008.5.1.1.31',
34046
- PullStoredPrintManagementMetaSOPClassRetired: '1.2.840.10008.5.1.1.32',
34049
+ ImageOverlayBoxSOPClassRetired: '1.2.840.10008.5.1.1.24', // retired
34050
+ BasicPrintImageOverlayBoxSOPClassRetired: '1.2.840.10008.5.1.1.24.1', // retired
34051
+ PrintQueueSOPInstanceRetired: '1.2.840.10008.5.1.1.25', // retired
34052
+ PrintQueueManagementSOPClassRetired: '1.2.840.10008.5.1.1.26', // retired
34053
+ StoredPrintStorageSOPClassRetired: '1.2.840.10008.5.1.1.27', // retired
34054
+ HardcopyGrayscaleImageStorageSOPClassRetired: '1.2.840.10008.5.1.1.29', // retired
34055
+ HardcopyColorImageStorageSOPClassRetired: '1.2.840.10008.5.1.1.30', // retired
34056
+ PullPrintRequestSOPClassRetired: '1.2.840.10008.5.1.1.31', // retired
34057
+ PullStoredPrintManagementMetaSOPClassRetired: '1.2.840.10008.5.1.1.32', // retired
34047
34058
  MediaCreationManagementSOPClassUID: '1.2.840.10008.5.1.1.33',
34048
34059
  DisplaySystemSOPClass: '1.2.840.10008.5.1.1.40',
34049
34060
  DisplaySystemSOPInstance: '1.2.840.10008.5.1.1.40.1',
@@ -34057,15 +34068,15 @@ exports.UID = {
34057
34068
  CTImageStorage: '1.2.840.10008.5.1.4.1.1.2',
34058
34069
  EnhancedCTImageStorage: '1.2.840.10008.5.1.4.1.1.2.1',
34059
34070
  LegacyConvertedEnhancedCTImageStorage: '1.2.840.10008.5.1.4.1.1.2.2',
34060
- UltrasoundMultiframeImageStorageRetired: '1.2.840.10008.5.1.4.1.1.3',
34071
+ UltrasoundMultiframeImageStorageRetired: '1.2.840.10008.5.1.4.1.1.3', // retired
34061
34072
  UltrasoundMultiframeImageStorage: '1.2.840.10008.5.1.4.1.1.3.1',
34062
34073
  MRImageStorage: '1.2.840.10008.5.1.4.1.1.4',
34063
34074
  EnhancedMRImageStorage: '1.2.840.10008.5.1.4.1.1.4.1',
34064
34075
  MRSpectroscopyStorage: '1.2.840.10008.5.1.4.1.1.4.2',
34065
34076
  EnhancedMRColorImageStorage: '1.2.840.10008.5.1.4.1.1.4.3',
34066
34077
  LegacyConvertedEnhancedMRImageStorage: '1.2.840.10008.5.1.4.1.1.4.4',
34067
- NuclearMedicineImageStorageRetired: '1.2.840.10008.5.1.4.1.1.5',
34068
- UltrasoundImageStorageRetired: '1.2.840.10008.5.1.4.1.1.6',
34078
+ NuclearMedicineImageStorageRetired: '1.2.840.10008.5.1.4.1.1.5', // retired
34079
+ UltrasoundImageStorageRetired: '1.2.840.10008.5.1.4.1.1.6', // retired
34069
34080
  UltrasoundImageStorage: '1.2.840.10008.5.1.4.1.1.6.1',
34070
34081
  EnhancedUSVolumeStorage: '1.2.840.10008.5.1.4.1.1.6.2',
34071
34082
  SecondaryCaptureImageStorage: '1.2.840.10008.5.1.4.1.1.7',
@@ -34073,9 +34084,9 @@ exports.UID = {
34073
34084
  MultiframeGrayscaleByteSecondaryCaptureImageStorage: '1.2.840.10008.5.1.4.1.1.7.2',
34074
34085
  MultiframeGrayscaleWordSecondaryCaptureImageStorage: '1.2.840.10008.5.1.4.1.1.7.3',
34075
34086
  MultiframeTrueColorSecondaryCaptureImageStorage: '1.2.840.10008.5.1.4.1.1.7.4',
34076
- StandaloneOverlayStorageRetired: '1.2.840.10008.5.1.4.1.1.8',
34077
- StandaloneCurveStorageRetired: '1.2.840.10008.5.1.4.1.1.9',
34078
- WaveformStorageTrialRetired: '1.2.840.10008.5.1.4.1.1.9.1',
34087
+ StandaloneOverlayStorageRetired: '1.2.840.10008.5.1.4.1.1.8', // retired
34088
+ StandaloneCurveStorageRetired: '1.2.840.10008.5.1.4.1.1.9', // retired
34089
+ WaveformStorageTrialRetired: '1.2.840.10008.5.1.4.1.1.9.1', // retired
34079
34090
  TwelveleadECGWaveformStorage: '1.2.840.10008.5.1.4.1.1.9.1.1',
34080
34091
  GeneralECGWaveformStorage: '1.2.840.10008.5.1.4.1.1.9.1.2',
34081
34092
  AmbulatoryECGWaveformStorage: '1.2.840.10008.5.1.4.1.1.9.1.3',
@@ -34085,8 +34096,8 @@ exports.UID = {
34085
34096
  GeneralAudioWaveformStorage: '1.2.840.10008.5.1.4.1.1.9.4.2',
34086
34097
  ArterialPulseWaveformStorage: '1.2.840.10008.5.1.4.1.1.9.5.1',
34087
34098
  RespiratoryWaveformStorage: '1.2.840.10008.5.1.4.1.1.9.6.1',
34088
- StandaloneModalityLUTStorageRetired: '1.2.840.10008.5.1.4.1.1.10',
34089
- StandaloneVOILUTStorageRetired: '1.2.840.10008.5.1.4.1.1.11',
34099
+ StandaloneModalityLUTStorageRetired: '1.2.840.10008.5.1.4.1.1.10', // retired
34100
+ StandaloneVOILUTStorageRetired: '1.2.840.10008.5.1.4.1.1.11', // retired
34090
34101
  GrayscaleSoftcopyPresentationStateStorage: '1.2.840.10008.5.1.4.1.1.11.1',
34091
34102
  ColorSoftcopyPresentationStateStorage: '1.2.840.10008.5.1.4.1.1.11.2',
34092
34103
  PseudoColorSoftcopyPresentationStateStorage: '1.2.840.10008.5.1.4.1.1.11.3',
@@ -34102,7 +34113,7 @@ exports.UID = {
34102
34113
  EnhancedXAImageStorage: '1.2.840.10008.5.1.4.1.1.12.1.1',
34103
34114
  XRayRadiofluoroscopicImageStorage: '1.2.840.10008.5.1.4.1.1.12.2',
34104
34115
  EnhancedXRFImageStorage: '1.2.840.10008.5.1.4.1.1.12.2.1',
34105
- XRayAngiographicBiPlaneImageStorageRetired: '1.2.840.10008.5.1.4.1.1.12.3',
34116
+ XRayAngiographicBiPlaneImageStorageRetired: '1.2.840.10008.5.1.4.1.1.12.3', // retired
34106
34117
  XRay3DAngiographicImageStorage: '1.2.840.10008.5.1.4.1.1.13.1.1',
34107
34118
  XRay3DCraniofacialImageStorage: '1.2.840.10008.5.1.4.1.1.13.1.2',
34108
34119
  BreastTomosynthesisImageStorage: '1.2.840.10008.5.1.4.1.1.13.1.3',
@@ -34122,8 +34133,8 @@ exports.UID = {
34122
34133
  RealWorldValueMappingStorage: '1.2.840.10008.5.1.4.1.1.67',
34123
34134
  SurfaceScanMeshStorage: '1.2.840.10008.5.1.4.1.1.68.1',
34124
34135
  SurfaceScanPointCloudStorage: '1.2.840.10008.5.1.4.1.1.68.2',
34125
- VLImageStorageTrialRetired: '1.2.840.10008.5.1.4.1.1.77.1',
34126
- VLMultiframeImageStorageTrialRetired: '1.2.840.10008.5.1.4.1.1.77.2',
34136
+ VLImageStorageTrialRetired: '1.2.840.10008.5.1.4.1.1.77.1', // retired
34137
+ VLMultiframeImageStorageTrialRetired: '1.2.840.10008.5.1.4.1.1.77.2', // retired
34127
34138
  VLEndoscopicImageStorage: '1.2.840.10008.5.1.4.1.1.77.1.1',
34128
34139
  VideoEndoscopicImageStorage: '1.2.840.10008.5.1.4.1.1.77.1.1.1',
34129
34140
  VLMicroscopicImageStorage: '1.2.840.10008.5.1.4.1.1.77.1.2',
@@ -34152,10 +34163,10 @@ exports.UID = {
34152
34163
  OphthalmicVisualFieldStaticPerimetryMeasurementsStorage: '1.2.840.10008.5.1.4.1.1.80.1',
34153
34164
  OphthalmicThicknessMapStorage: '1.2.840.10008.5.1.4.1.1.81.1',
34154
34165
  CornealTopographyMapStorage: '1.2.840.10008.5.1.4.1.1.82.1',
34155
- TextSRStorageTrialRetired: '1.2.840.10008.5.1.4.1.1.88.1',
34156
- AudioSRStorageTrialRetired: '1.2.840.10008.5.1.4.1.1.88.2',
34157
- DetailSRStorageTrialRetired: '1.2.840.10008.5.1.4.1.1.88.3',
34158
- ComprehensiveSRStorageTrialRetired: '1.2.840.10008.5.1.4.1.1.88.4',
34166
+ TextSRStorageTrialRetired: '1.2.840.10008.5.1.4.1.1.88.1', // retired
34167
+ AudioSRStorageTrialRetired: '1.2.840.10008.5.1.4.1.1.88.2', // retired
34168
+ DetailSRStorageTrialRetired: '1.2.840.10008.5.1.4.1.1.88.3', // retired
34169
+ ComprehensiveSRStorageTrialRetired: '1.2.840.10008.5.1.4.1.1.88.4', // retired
34159
34170
  BasicTextSRStorage: '1.2.840.10008.5.1.4.1.1.88.11',
34160
34171
  EnhancedSRStorage: '1.2.840.10008.5.1.4.1.1.88.22',
34161
34172
  ComprehensiveSRStorage: '1.2.840.10008.5.1.4.1.1.88.33',
@@ -34177,7 +34188,7 @@ exports.UID = {
34177
34188
  EncapsulatedCDAStorage: '1.2.840.10008.5.1.4.1.1.104.2',
34178
34189
  PositronEmissionTomographyImageStorage: '1.2.840.10008.5.1.4.1.1.128',
34179
34190
  LegacyConvertedEnhancedPETImageStorage: '1.2.840.10008.5.1.4.1.1.128.1',
34180
- StandalonePETCurveStorageRetired: '1.2.840.10008.5.1.4.1.1.129',
34191
+ StandalonePETCurveStorageRetired: '1.2.840.10008.5.1.4.1.1.129', // retired
34181
34192
  EnhancedPETImageStorage: '1.2.840.10008.5.1.4.1.1.130',
34182
34193
  BasicStructuredDisplayStorage: '1.2.840.10008.5.1.4.1.1.131',
34183
34194
  CTDefinedProcedureProtocolStorage: '1.2.840.10008.5.1.4.1.1.200.1',
@@ -34210,9 +34221,9 @@ exports.UID = {
34210
34221
  StudyRootQueryRetrieveInformationModelFIND: '1.2.840.10008.5.1.4.1.2.2.1',
34211
34222
  StudyRootQueryRetrieveInformationModelMOVE: '1.2.840.10008.5.1.4.1.2.2.2',
34212
34223
  StudyRootQueryRetrieveInformationModelGET: '1.2.840.10008.5.1.4.1.2.2.3',
34213
- PatientStudyOnlyQueryRetrieveInformationModelFINDRetired: '1.2.840.10008.5.1.4.1.2.3.1',
34214
- PatientStudyOnlyQueryRetrieveInformationModelMOVERetired: '1.2.840.10008.5.1.4.1.2.3.2',
34215
- PatientStudyOnlyQueryRetrieveInformationModelGETRetired: '1.2.840.10008.5.1.4.1.2.3.3',
34224
+ PatientStudyOnlyQueryRetrieveInformationModelFINDRetired: '1.2.840.10008.5.1.4.1.2.3.1', // retired
34225
+ PatientStudyOnlyQueryRetrieveInformationModelMOVERetired: '1.2.840.10008.5.1.4.1.2.3.2', // retired
34226
+ PatientStudyOnlyQueryRetrieveInformationModelGETRetired: '1.2.840.10008.5.1.4.1.2.3.3', // retired
34216
34227
  CompositeInstanceRootRetrieveMOVE: '1.2.840.10008.5.1.4.1.2.4.2',
34217
34228
  CompositeInstanceRootRetrieveGET: '1.2.840.10008.5.1.4.1.2.4.3',
34218
34229
  CompositeInstanceRetrieveWithoutBulkDataGET: '1.2.840.10008.5.1.4.1.2.5.3',
@@ -34220,19 +34231,19 @@ exports.UID = {
34220
34231
  DefinedProcedureProtocolInformationModelMOVE: '1.2.840.10008.5.1.4.20.2',
34221
34232
  DefinedProcedureProtocolInformationModelGET: '1.2.840.10008.5.1.4.20.3',
34222
34233
  ModalityWorklistInformationModelFIND: '1.2.840.10008.5.1.4.31',
34223
- GeneralPurposeWorklistManagementMetaSOPClassRetired: '1.2.840.10008.5.1.4.32',
34224
- GeneralPurposeWorklistInformationModelFINDRetired: '1.2.840.10008.5.1.4.32.1',
34225
- GeneralPurposeScheduledProcedureStepSOPClassRetired: '1.2.840.10008.5.1.4.32.2',
34226
- GeneralPurposePerformedProcedureStepSOPClassRetired: '1.2.840.10008.5.1.4.32.3',
34234
+ GeneralPurposeWorklistManagementMetaSOPClassRetired: '1.2.840.10008.5.1.4.32', // retired
34235
+ GeneralPurposeWorklistInformationModelFINDRetired: '1.2.840.10008.5.1.4.32.1', // retired
34236
+ GeneralPurposeScheduledProcedureStepSOPClassRetired: '1.2.840.10008.5.1.4.32.2', // retired
34237
+ GeneralPurposePerformedProcedureStepSOPClassRetired: '1.2.840.10008.5.1.4.32.3', // retired
34227
34238
  InstanceAvailabilityNotificationSOPClass: '1.2.840.10008.5.1.4.33',
34228
- RTBeamsDeliveryInstructionStorageTrialRetired: '1.2.840.10008.5.1.4.34.1',
34229
- RTConventionalMachineVerificationTrialRetired: '1.2.840.10008.5.1.4.34.2',
34230
- RTIonMachineVerificationTrialRetired: '1.2.840.10008.5.1.4.34.3',
34231
- UnifiedWorklistandProcedureStepServiceClassTrialRetired: '1.2.840.10008.5.1.4.34.4',
34232
- UnifiedProcedureStepPushSOPClassTrialRetired: '1.2.840.10008.5.1.4.34.4.1',
34233
- UnifiedProcedureStepWatchSOPClassTrialRetired: '1.2.840.10008.5.1.4.34.4.2',
34234
- UnifiedProcedureStepPullSOPClassTrialRetired: '1.2.840.10008.5.1.4.34.4.3',
34235
- UnifiedProcedureStepEventSOPClassTrialRetired: '1.2.840.10008.5.1.4.34.4.4',
34239
+ RTBeamsDeliveryInstructionStorageTrialRetired: '1.2.840.10008.5.1.4.34.1', // retired
34240
+ RTConventionalMachineVerificationTrialRetired: '1.2.840.10008.5.1.4.34.2', // retired
34241
+ RTIonMachineVerificationTrialRetired: '1.2.840.10008.5.1.4.34.3', // retired
34242
+ UnifiedWorklistandProcedureStepServiceClassTrialRetired: '1.2.840.10008.5.1.4.34.4', // retired
34243
+ UnifiedProcedureStepPushSOPClassTrialRetired: '1.2.840.10008.5.1.4.34.4.1', // retired
34244
+ UnifiedProcedureStepWatchSOPClassTrialRetired: '1.2.840.10008.5.1.4.34.4.2', // retired
34245
+ UnifiedProcedureStepPullSOPClassTrialRetired: '1.2.840.10008.5.1.4.34.4.3', // retired
34246
+ UnifiedProcedureStepEventSOPClassTrialRetired: '1.2.840.10008.5.1.4.34.4.4', // retired
34236
34247
  UPSGlobalSubscriptionSOPInstance: '1.2.840.10008.5.1.4.34.5',
34237
34248
  UPSFilteredGlobalSubscriptionSOPInstance: '1.2.840.10008.5.1.4.34.5.1',
34238
34249
  UnifiedWorklistandProcedureStepServiceClass: '1.2.840.10008.5.1.4.34.6',
@@ -34326,7 +34337,8 @@ exports.UID = {
34326
34337
  "use strict";
34327
34338
 
34328
34339
  Object.defineProperty(exports, "__esModule", ({ value: true }));
34329
- exports.parsePersonName = exports.Value = void 0;
34340
+ exports.Value = void 0;
34341
+ exports.parsePersonName = parsePersonName;
34330
34342
  const js_joda_1 = __webpack_require__(/*! js-joda */ "js-joda");
34331
34343
  const base_1 = __webpack_require__(/*! ./base */ "./src/base.ts");
34332
34344
  const character_sets_1 = __webpack_require__(/*! ./character-sets */ "./src/character-sets.ts");
@@ -34880,7 +34892,6 @@ function parsePersonName(s) {
34880
34892
  const comps = transpose(matrix).map((c) => new person_name_1.ComponentGroup(c[0], c[1], c[2]));
34881
34893
  return new person_name_1.PersonName(comps[0], comps[1], comps[2], comps[3], comps[4]);
34882
34894
  }
34883
- exports.parsePersonName = parsePersonName;
34884
34895
  function parseURL(s) {
34885
34896
  try {
34886
34897
  return new URL(s);
@@ -34914,6 +34925,7 @@ class VR {
34914
34925
  this.paddingByte = paddingByte;
34915
34926
  }
34916
34927
  }
34928
+ exports.VR = VR;
34917
34929
  VR.AE = new VR('AE', 0x4145, 8, 0x20);
34918
34930
  VR.AS = new VR('AS', 0x4153, 8, 0x20);
34919
34931
  VR.AT = new VR('AT', 0x4154, 8, 0);
@@ -34988,7 +35000,6 @@ VR.map = VR.values.reduce((m, vr) => {
34988
35000
  m.set(vr.code, vr);
34989
35001
  return m;
34990
35002
  }, new Map());
34991
- exports.VR = VR;
34992
35003
 
34993
35004
 
34994
35005
  /***/ }),
@@ -37349,6 +37360,18 @@ module.exports = function availableTypedArrays() {
37349
37360
  };
37350
37361
 
37351
37362
 
37363
+ /***/ }),
37364
+
37365
+ /***/ "./node_modules/dicom-character-set/dist/dicom-character-set.min.cjs":
37366
+ /*!***************************************************************************!*\
37367
+ !*** ./node_modules/dicom-character-set/dist/dicom-character-set.min.cjs ***!
37368
+ \***************************************************************************/
37369
+ /***/ (function(module) {
37370
+
37371
+ /*! dicom-character-set - 1.0.5 - 2024-01-10 | (c) 2018 Radialogica, LLC | https://github.com/radialogica/dicom-character-set */
37372
+ !function(e,n){ true?module.exports=n():0}("undefined"!=typeof self?self:this,(()=>(()=>{"use strict";var e={d:(n,t)=>{for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:(e,n)=>Object.prototype.hasOwnProperty.call(e,n),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};e.r(n),e.d(n,{characterSets:()=>o,convertBytes:()=>R,convertBytesPromise:()=>w});const t={codeElement:"G0",escapeSequence:[27,40,66],encoding:"windows-1252",isASCII:!0,bytesPerCodePoint:1},o={"ISO_IR 6":{encoding:"utf-8"},"ISO_IR 100":{encoding:"windows-1252"},"ISO_IR 101":{encoding:"iso-8859-2"},"ISO_IR 109":{encoding:"iso-8859-3"},"ISO_IR 110":{encoding:"iso-8859-4"},"ISO_IR 144":{encoding:"iso-8859-5"},"ISO_IR 127":{encoding:"iso-8859-6"},"ISO_IR 126":{encoding:"iso-8859-7"},"ISO_IR 138":{encoding:"iso-8859-8"},"ISO_IR 148":{encoding:"windows-1254"},"ISO_IR 13":{encoding:"shift-jis"},"ISO_IR 166":{encoding:"tis-620"},"ISO 2022 IR 6":{extension:!0,elements:[t]},"ISO 2022 IR 100":{extension:!0,elements:[t,{codeElement:"G1",escapeSequence:[27,45,65],encoding:"windows-1252",bytesPerCodePoint:1}]},"ISO 2022 IR 101":{extension:!0,elements:[t,{codeElement:"G1",escapeSequence:[27,45,66],encoding:"iso-8859-2",bytesPerCodePoint:1}]},"ISO 2022 IR 109":{extension:!0,elements:[t,{codeElement:"G1",escapeSequence:[27,45,67],encoding:"iso-8859-3",bytesPerCodePoint:1}]},"ISO 2022 IR 110":{extension:!0,elements:[t,{codeElement:"G1",escapeSequence:[27,45,68],encoding:"iso-8859-4",bytesPerCodePoint:1}]},"ISO 2022 IR 144":{extension:!0,elements:[t,{codeElement:"G1",escapeSequence:[27,45,76],encoding:"iso-8859-5",bytesPerCodePoint:1}]},"ISO 2022 IR 127":{extension:!0,elements:[t,{codeElement:"G1",escapeSequence:[27,45,71],encoding:"iso-8859-6",bytesPerCodePoint:1}]},"ISO 2022 IR 126":{extension:!0,elements:[t,{codeElement:"G1",escapeSequence:[27,45,70],encoding:"iso-8859-7",bytesPerCodePoint:1}]},"ISO 2022 IR 138":{extension:!0,elements:[t,{codeElement:"G1",escapeSequence:[27,45,72],encoding:"iso-8859-8",bytesPerCodePoint:1}]},"ISO 2022 IR 148":{extension:!0,elements:[t,{codeElement:"G1",escapeSequence:[27,45,77],encoding:"windows-1254",bytesPerCodePoint:1}]},"ISO 2022 IR 13":{extension:!0,elements:[{codeElement:"G0",escapeSequence:[27,40,74],encoding:"shift-jis",bytesPerCodePoint:1},{codeElement:"G1",escapeSequence:[27,41,73],encoding:"shift-jis",bytesPerCodePoint:1}]},"ISO 2022 IR 166":{extension:!0,elements:[t,{codeElement:"G1",escapeSequence:[27,45,84],encoding:"tis-620",bytesPerCodePoint:1}]},"ISO 2022 IR 87":{extension:!0,multiByte:!0,elements:[{codeElement:"G0",escapeSequence:[27,36,66],encoding:"euc-jp",setHighBit:!0,bytesPerCodePoint:2}]},"ISO 2022 IR 159":{extension:!0,multiByte:!0,elements:[{codeElement:"G0",escapeSequence:[27,36,40,68],encoding:"euc-jp",isJISX0212:!0,bytesPerCodePoint:2}]},"ISO 2022 IR 149":{extension:!0,multiByte:!0,elements:[{codeElement:"G1",escapeSequence:[27,36,41,67],encoding:"euc-kr",bytesPerCodePoint:2}]},"ISO 2022 IR 58":{extension:!0,multiByte:!0,elements:[{codeElement:"G1",escapeSequence:[27,36,41,65],encoding:"gb18030",bytesPerCodePoint:2}]},"ISO_IR 192":{encoding:"utf-8",multiByte:!0},GB18030:{encoding:"gb18030",multiByte:!0},GBK:{encoding:"gbk",multiByte:!0}},i=27,s=10,c=12,r=13,d=9,u=92,l=61,f=94;function I(e,n){const t=n.replace(/~/g,"‾");return e.includes(u)?t:t.replace(/\\/g,"¥")}function a(e,n,t,o,i,s){const c=h(n,o,i,s);return e+g(n.encoding,t,c)}function S(e,n,t,o,i,s){const c=h(n,o,i,s);return(""===e?Promise.resolve(""):e).then((e=>p(n.encoding,t,c).then((n=>e+n))))}function m(e,n,t,i,I){!function(e,n){if(n&&!(n instanceof Uint8Array))throw new Error("bytes must be a Uint8Array");if(e&&"string"!=typeof e)throw new Error("specificCharacterSet must be a string")}(t,i);const a=function(e){let n=e?e.split("\\").map((e=>e.trim().toUpperCase())):[""];""===n[0]&&(n[0]=n.length>1?"ISO 2022 IR 6":"ISO_IR 6");if(n.some((e=>void 0===o[e])))throw new Error("Invalid specific character set specified.");return n=function(e){const n=o[e[0]];if(n.multiByte&&!n.extension)return[e[0]];return e.filter((e=>!o[e].multiByte||o[e].extension))}(n),function(e){const n=e.length>1,t=[];for(let o=0;o<e.length;o++){const i=e[o];t.includes(i)||t.push(n?i.replace("ISO_IR","ISO 2022 IR"):i)}return t}(n)}(t),S=function(e){const n=(e||"").trim().toUpperCase(),t=[s,c,r,d];["UT","ST","LT"].includes(n)||t.push(u);"PN"===n&&(t.push(l),t.push(f));return t}((I||{}).vr);return 1!==a.length||a[0].startsWith("ISO 2022")?function(e,n,t,o){let i="";if(!n||0===n.length)return i;const s={G0:e[0].elements.find((e=>"G0"===e.codeElement)),G1:e[0].elements.find((e=>"G1"===e.codeElement))},c=Object.assign({},s);let r,d=0,u=0;for(;u<n.length;){r||(r=P(n[d],c));const l=y(n,d,r,c,s,t);if(u=l.index,u>d&&(i=o(i,r,t,n,d,u)),d=u,r=l.characterSet,l.escapeSequence){const t=O(n,u,e);c[t.codeElement]=t,d+=t.escapeSequence.length}}return i}(a.map((e=>o[e])),i,S,n):e(o[a[0]].encoding,S,i)}function g(e,n,t){const o=new TextDecoder(e).decode(t);return"shift-jis"===e?I(n,o):o}function p(e,n,t){return new Promise((o=>{const i=new FileReader;i.onload="shift-jis"===e?()=>o(I(n,i.result)):()=>o(i.result);const s=new Blob([t]);i.readAsText(s,e)}))}function y(e,n,t,o,s,c){for(let r=n;r<e.length;r+=t.bytesPerCodePoint){if(e[r]===i)return{escapeSequence:!0,index:r};1===t.bytesPerCodePoint&&c.includes(e[r])&&Object.assign(o,s);const n=P(e[r],o);if(t&&n!==t)return{characterSet:n,index:r}}return{index:e.length}}function P(e,n){return e>127&&n.G1?n.G1:n.G0?n.G0:n.G1&&1===n.G1.bytesPerCodePoint?n.G1:o["ISO 2022 IR 6"].elements[0]}function h(e,n,t,o){let i;return e.isJISX0212?i=function(e,n,t){const o=t-n;if(o%2!=0)throw new Error("JIS X string with a character not having exactly two bytes!");const i=new Uint8Array(o+o/2);let s=0;for(let o=n;o<t;o+=2)i[s++]=143,i[s++]=128|e[o],i[s++]=128|e[o+1];return i}(n,t,o):(i=new Uint8Array(o-t),i.set(new Uint8Array(n.buffer,n.byteOffset+t,o-t)),e.setHighBit&&function(e){for(let n=0;n<e.length;n++)e[n]|=128}(i)),i}function b(e,n,t){for(let o=0;o<e.length;o++){if(t+o>=n.length)return!1;if(n[t+o]!==e[o])return!1}return!0}function O(e,n,t){for(let o=0;o<t.length;o++){const i=t[o];for(let t=0;t<i.elements.length;t++){const o=i.elements[t];if(b(o.escapeSequence,e,n))return o}}throw new Error(`Unknown escape sequence encountered at byte ${n}`)}function R(e,n,t){return m(g,a,e,n,t)}function w(e,n,t){return m(p,S,e,n,t)}return n})()));
37373
+ //# sourceMappingURL=dicom-character-set.min.js.map
37374
+
37352
37375
  /***/ })
37353
37376
 
37354
37377
  /******/ });