dcm_dict 0.41.0 → 0.53.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/README.md +11 -2
- data/lib/dcm_dict/refine/array_refine.rb +1 -1
- data/lib/dcm_dict/refine/string_refine.rb +1 -1
- data/lib/dcm_dict/refine/symbol_refine.rb +1 -1
- data/lib/dcm_dict/source_data/data_elements_data.rb +3 -2
- data/lib/dcm_dict/source_data/uid_values_data.rb +1 -0
- data/lib/dcm_dict/version.rb +2 -2
- metadata +21 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9cefdf560d3f2ae752f372b8623c4a9024816335c1c640b1ad547233428a8eb
|
4
|
+
data.tar.gz: 94bae2439df241e39ba809b351d22bfaaee713fa1cda97d95b3b9220ab896583
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72bce15a0e17ea6ab74e5a09a9cc6829dc4bc49774b188809be84e04434aa737879990083f5c8347263baf6fa0a4881bd5f0a91d2d331ee159729cced9ca38e6
|
7
|
+
data.tar.gz: e001c978002712c4a9e407b9a128cd55bcb485ade6e881c6bd1f94469bc1233419e912247c70d93e7e57b54ff30978007d031c3a7716c2e1b1e624095b09dea8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,24 @@
|
|
1
1
|
# DcmDict project Changelog
|
2
2
|
|
3
|
+
___
|
4
|
+
## v0.53.0 (2023-05-03)
|
5
|
+
* Update to 2023b Base Standard
|
6
|
+
___
|
7
|
+
## v0.52.0 (2023-02-09)
|
8
|
+
* Update to 2023a Base Standard
|
9
|
+
___
|
10
|
+
## v0.51.0 (2023-02-09)
|
11
|
+
* Not publish on [RubyGems](https://rubygems.org/gems/dcm_dict)
|
12
|
+
* Updated gemspec requirements
|
13
|
+
#### Note for gemspec
|
14
|
+
> Required Ruby Version fixed for stable releases (>= 3.0)
|
15
|
+
> Development Dependency fixed to latest tested version
|
16
|
+
___
|
17
|
+
## v0.50.0 (2023-02-09)
|
18
|
+
* Not publish on [RubyGems](https://rubygems.org/gems/dcm_dict)
|
19
|
+
* Updated gemspec(dcm_dict requires Ruby version >= 2.1, < 3.2)
|
20
|
+
#### Note for gemspec
|
21
|
+
> Refinement#include is deprecated and will be removed in Ruby 3.2
|
3
22
|
___
|
4
23
|
## v0.41.0 (2023-01-14)
|
5
24
|
* Update to 2022e Base Standard
|
data/README.md
CHANGED
@@ -90,7 +90,14 @@ end
|
|
90
90
|
|
91
91
|
*The main way remains **Ruby Refinements***.
|
92
92
|
|
93
|
-
|
93
|
+
### Rubies compatibility
|
94
|
+
**MRI Ruby**: from version _**v0.51.0**_ gemspec are changed: the minimum required version is _**3.0**_ in order to manage the refinements changes that occurred in version _**3.2**_:
|
95
|
+
- The include/extend in refinements never worked (ref [Bug #17429][13])
|
96
|
+
- import_methods is limited in functionality (ref [class Refinement][14])
|
97
|
+
|
98
|
+
**Other Rubies**: the other considered rubies is only [Rubinius][4] checked at version _**v2.2.10**_.
|
99
|
+
|
100
|
+
**Test Note**: In order to try to ensure a minimum compatibility there is a file under *lib/dcm_dict/rubies/* called *rb_ext.rb* able to *mask*/*simulates* the refinements by [refine gem][5] and add the required *bit_length* method to *Fixnum* class by [backports gem][6].
|
94
101
|
This sort of extension is not loaded by default but only into *spec files* for the *'rbx' Ruby Engine*. See *spec_helper.rb* and *rb_ext.rb* for details.
|
95
102
|
|
96
103
|
## Data Element data in detail
|
@@ -287,7 +294,7 @@ Note: the script use the [Nokogiri][3] as XML parser if installed as gem, otherw
|
|
287
294
|
Check the file for other details.
|
288
295
|
|
289
296
|
## Note
|
290
|
-
Current library version is aligned to *DICOM Base Standard* **
|
297
|
+
Current library version is aligned to *DICOM Base Standard* **2023b**
|
291
298
|
|
292
299
|
## Install
|
293
300
|
|
@@ -343,3 +350,5 @@ Main source code repository on github at [henrythebuilder/dcm_dict](https://gith
|
|
343
350
|
[10]: http://www.dicomstandard.org/
|
344
351
|
[11]: http://www.dicomstandard.org/current/
|
345
352
|
[12]: https://rubygems.org/gems/dcm_dict
|
353
|
+
[13]: https://bugs.ruby-lang.org/issues/17429
|
354
|
+
[14]: https://docs.ruby-lang.org/en/3.2/Refinement.html
|
@@ -2234,6 +2234,7 @@ HIGH = 0001H'},
|
|
2234
2234
|
{ tag_ps: '(0028,2112)', tag_name: "Lossy Image Compression Ratio", tag_key: 'LossyImageCompressionRatio', tag_vr: [:DS], tag_vm: ["1-n"], tag_str: '(0028,2112)', tag_sym: :lossy_image_compression_ratio, tag_ndm: '00282112', tag_ary: [0x0028,0x2112], tag_multiple: false, tag_note: ''},
|
2235
2235
|
{ tag_ps: '(0028,2114)', tag_name: "Lossy Image Compression Method", tag_key: 'LossyImageCompressionMethod', tag_vr: [:CS], tag_vm: ["1-n"], tag_str: '(0028,2114)', tag_sym: :lossy_image_compression_method, tag_ndm: '00282114', tag_ary: [0x0028,0x2114], tag_multiple: false, tag_note: ''},
|
2236
2236
|
{ tag_ps: '(0028,3000)', tag_name: "Modality LUT Sequence", tag_key: 'ModalityLUTSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0028,3000)', tag_sym: :modality_lut_sequence, tag_ndm: '00283000', tag_ary: [0x0028,0x3000], tag_multiple: false, tag_note: ''},
|
2237
|
+
{ tag_ps: '(0028,3001)', tag_name: "Variable Modality LUT Sequence", tag_key: 'VariableModalityLUTSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0028,3001)', tag_sym: :variable_modality_lut_sequence, tag_ndm: '00283001', tag_ary: [0x0028,0x3001], tag_multiple: false, tag_note: ''},
|
2237
2238
|
{ tag_ps: '(0028,3002)', tag_name: "LUT Descriptor", tag_key: 'LUTDescriptor', tag_vr: [:US, :SS], tag_vm: ["3"], tag_str: '(0028,3002)', tag_sym: :lut_descriptor, tag_ndm: '00283002', tag_ary: [0x0028,0x3002], tag_multiple: false, tag_note: ''},
|
2238
2239
|
{ tag_ps: '(0028,3003)', tag_name: "LUT Explanation", tag_key: 'LUTExplanation', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0028,3003)', tag_sym: :lut_explanation, tag_ndm: '00283003', tag_ary: [0x0028,0x3003], tag_multiple: false, tag_note: ''},
|
2239
2240
|
{ tag_ps: '(0028,3004)', tag_name: "Modality LUT Type", tag_key: 'ModalityLUTType', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0028,3004)', tag_sym: :modality_lut_type, tag_ndm: '00283004', tag_ary: [0x0028,0x3004], tag_multiple: false, tag_note: ''},
|
@@ -4063,7 +4064,7 @@ HIGH = 0001H'},
|
|
4063
4064
|
{ tag_ps: '(3008,0024)', tag_name: "Treatment Control Point Date", tag_key: 'TreatmentControlPointDate', tag_vr: [:DA], tag_vm: ["1"], tag_str: '(3008,0024)', tag_sym: :treatment_control_point_date, tag_ndm: '30080024', tag_ary: [0x3008,0x0024], tag_multiple: false, tag_note: ''},
|
4064
4065
|
{ tag_ps: '(3008,0025)', tag_name: "Treatment Control Point Time", tag_key: 'TreatmentControlPointTime', tag_vr: [:TM], tag_vm: ["1"], tag_str: '(3008,0025)', tag_sym: :treatment_control_point_time, tag_ndm: '30080025', tag_ary: [0x3008,0x0025], tag_multiple: false, tag_note: ''},
|
4065
4066
|
{ tag_ps: '(3008,002A)', tag_name: "Treatment Termination Status", tag_key: 'TreatmentTerminationStatus', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(3008,002A)', tag_sym: :treatment_termination_status, tag_ndm: '3008002A', tag_ary: [0x3008,0x002A], tag_multiple: false, tag_note: ''},
|
4066
|
-
{ tag_ps: '(3008,002B)', tag_name: "Treatment Termination Code", tag_key: 'TreatmentTerminationCode', tag_vr: [:SH], tag_vm: ["1"], tag_str: '(3008,002B)', tag_sym: :treatment_termination_code, tag_ndm: '3008002B', tag_ary: [0x3008,0x002B], tag_multiple: false, tag_note: ''},
|
4067
|
+
{ tag_ps: '(3008,002B)', tag_name: "Treatment Termination Code", tag_key: 'TreatmentTerminationCode', tag_vr: [:SH], tag_vm: ["1"], tag_str: '(3008,002B)', tag_sym: :treatment_termination_code, tag_ndm: '3008002B', tag_ary: [0x3008,0x002B], tag_multiple: false, tag_note: 'RET (2023a)'},
|
4067
4068
|
{ tag_ps: '(3008,002C)', tag_name: "Treatment Verification Status", tag_key: 'TreatmentVerificationStatus', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(3008,002C)', tag_sym: :treatment_verification_status, tag_ndm: '3008002C', tag_ary: [0x3008,0x002C], tag_multiple: false, tag_note: ''},
|
4068
4069
|
{ tag_ps: '(3008,0030)', tag_name: "Referenced Treatment Record Sequence", tag_key: 'ReferencedTreatmentRecordSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3008,0030)', tag_sym: :referenced_treatment_record_sequence, tag_ndm: '30080030', tag_ary: [0x3008,0x0030], tag_multiple: false, tag_note: ''},
|
4069
4070
|
{ tag_ps: '(3008,0032)', tag_name: "Specified Primary Meterset", tag_key: 'SpecifiedPrimaryMeterset', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(3008,0032)', tag_sym: :specified_primary_meterset, tag_ndm: '30080032', tag_ary: [0x3008,0x0032], tag_multiple: false, tag_note: ''},
|
@@ -4952,7 +4953,7 @@ HIGH = 0001H'},
|
|
4952
4953
|
{ tag_ps: '(3010,0087)', tag_name: "Weekday Fraction Pattern Sequence", tag_key: 'WeekdayFractionPatternSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3010,0087)', tag_sym: :weekday_fraction_pattern_sequence, tag_ndm: '30100087', tag_ary: [0x3010,0x0087], tag_multiple: false, tag_note: ''},
|
4953
4954
|
{ tag_ps: '(3010,0088)', tag_name: "Delivery Time Structure Code Sequence", tag_key: 'DeliveryTimeStructureCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3010,0088)', tag_sym: :delivery_time_structure_code_sequence, tag_ndm: '30100088', tag_ary: [0x3010,0x0088], tag_multiple: false, tag_note: ''},
|
4954
4955
|
{ tag_ps: '(3010,0089)', tag_name: "Treatment Site Modifier Code Sequence", tag_key: 'TreatmentSiteModifierCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3010,0089)', tag_sym: :treatment_site_modifier_code_sequence, tag_ndm: '30100089', tag_ary: [0x3010,0x0089], tag_multiple: false, tag_note: ''},
|
4955
|
-
{ tag_ps: '(3010,0090)', tag_name: "Robotic Base Location Indicator", tag_key: 'RoboticBaseLocationIndicator', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(3010,0090)', tag_sym: :robotic_base_location_indicator, tag_ndm: '30100090', tag_ary: [0x3010,0x0090], tag_multiple: false, tag_note: ''},
|
4956
|
+
{ tag_ps: '(3010,0090)', tag_name: "Robotic Base Location Indicator", tag_key: 'RoboticBaseLocationIndicator', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(3010,0090)', tag_sym: :robotic_base_location_indicator, tag_ndm: '30100090', tag_ary: [0x3010,0x0090], tag_multiple: false, tag_note: 'RET (2022e)'},
|
4956
4957
|
{ tag_ps: '(3010,0091)', tag_name: "Robotic Path Node Set Code Sequence", tag_key: 'RoboticPathNodeSetCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3010,0091)', tag_sym: :robotic_path_node_set_code_sequence, tag_ndm: '30100091', tag_ary: [0x3010,0x0091], tag_multiple: false, tag_note: ''},
|
4957
4958
|
{ tag_ps: '(3010,0092)', tag_name: "Robotic Node Identifier", tag_key: 'RoboticNodeIdentifier', tag_vr: [:UL], tag_vm: ["1"], tag_str: '(3010,0092)', tag_sym: :robotic_node_identifier, tag_ndm: '30100092', tag_ary: [0x3010,0x0092], tag_multiple: false, tag_note: ''},
|
4958
4959
|
{ tag_ps: '(3010,0093)', tag_name: "RT Treatment Source Coordinates", tag_key: 'RTTreatmentSourceCoordinates', tag_vr: [:FD], tag_vm: ["3"], tag_str: '(3010,0093)', tag_sym: :rt_treatment_source_coordinates, tag_ndm: '30100093', tag_ary: [0x3010,0x0093], tag_multiple: false, tag_note: ''},
|
@@ -214,6 +214,7 @@ module DcmDict
|
|
214
214
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.11.9', uid_name: 'Volume Rendering Volumetric Presentation State Storage', uid_key: 'VolumeRenderingVolumetricPresentationStateStorage', uid_sym: :volume_rendering_volumetric_presentation_state_storage, uid_type: :sop_class},
|
215
215
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.11.10', uid_name: 'Segmented Volume Rendering Volumetric Presentation State Storage', uid_key: 'SegmentedVolumeRenderingVolumetricPresentationStateStorage', uid_sym: :segmented_volume_rendering_volumetric_presentation_state_storage, uid_type: :sop_class},
|
216
216
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.11.11', uid_name: 'Multiple Volume Rendering Volumetric Presentation State Storage', uid_key: 'MultipleVolumeRenderingVolumetricPresentationStateStorage', uid_sym: :multiple_volume_rendering_volumetric_presentation_state_storage, uid_type: :sop_class},
|
217
|
+
{ uid_value: '1.2.840.10008.5.1.4.1.1.11.12', uid_name: 'Variable Modality LUT Softcopy Presentation State Storage', uid_key: 'VariableModalityLUTPresentationStateStorage', uid_sym: :variable_modality_lut_presentation_state_storage, uid_type: :sop_class},
|
217
218
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.12.1', uid_name: 'X-Ray Angiographic Image Storage', uid_key: 'XRayAngiographicImageStorage', uid_sym: :x_ray_angiographic_image_storage, uid_type: :sop_class},
|
218
219
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.12.1.1', uid_name: 'Enhanced XA Image Storage', uid_key: 'EnhancedXAImageStorage', uid_sym: :enhanced_xa_image_storage, uid_type: :sop_class},
|
219
220
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.12.2', uid_name: 'X-Ray Radiofluoroscopic Image Storage', uid_key: 'XRayRadiofluoroscopicImageStorage', uid_sym: :x_ray_radiofluoroscopic_image_storage, uid_type: :sop_class},
|
data/lib/dcm_dict/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dcm_dict
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.53.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Enrico Rivarola
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -16,80 +16,80 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.14'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.
|
22
|
+
version: 1.14.0
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '1.
|
29
|
+
version: '1.14'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 1.
|
32
|
+
version: 1.14.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rspec
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '3.
|
39
|
+
version: '3.12'
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 3.
|
42
|
+
version: 3.12.0
|
43
43
|
type: :development
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '3.
|
49
|
+
version: '3.12'
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 3.
|
52
|
+
version: 3.12.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: simplecov
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
57
|
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: '0.
|
59
|
+
version: '0.22'
|
60
60
|
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.
|
62
|
+
version: 0.22.0
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '0.
|
69
|
+
version: '0.22'
|
70
70
|
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: 0.
|
72
|
+
version: 0.22.0
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: rake
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
77
|
- - "~>"
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version:
|
79
|
+
version: '13.0'
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 13.0.0
|
83
83
|
type: :development
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: '13.0'
|
90
90
|
- - ">="
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version:
|
92
|
+
version: 13.0.0
|
93
93
|
description: DcmDict is a Ruby gem (dcm_dict) to handle in a simple way the Data Dictionary
|
94
94
|
defined within the DICOM Standard
|
95
95
|
email: henrythebuilder@yahoo.it
|
@@ -165,7 +165,7 @@ licenses:
|
|
165
165
|
metadata:
|
166
166
|
bug_tracker_uri: https://github.com/henrythebuilder/dcm_dict/issues
|
167
167
|
changelog_uri: https://github.com/henrythebuilder/dcm_dict/blob/master/CHANGELOG.md
|
168
|
-
documentation_uri: http://www.rubydoc.info/gems/dcm_dict/0.
|
168
|
+
documentation_uri: http://www.rubydoc.info/gems/dcm_dict/0.53.0
|
169
169
|
homepage_uri: http://rubygems.org/gems/dcm_dict
|
170
170
|
source_code_uri: https://github.com/henrythebuilder/dcm_dict
|
171
171
|
post_install_message:
|
@@ -176,14 +176,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
176
176
|
requirements:
|
177
177
|
- - ">="
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version: '
|
179
|
+
version: '3.0'
|
180
180
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
181
|
requirements:
|
182
182
|
- - ">="
|
183
183
|
- !ruby/object:Gem::Version
|
184
184
|
version: '0'
|
185
185
|
requirements: []
|
186
|
-
rubygems_version: 3.
|
186
|
+
rubygems_version: 3.4.10
|
187
187
|
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: A simple way to handle DICOM Data Dictionary
|