dcm_dict 0.60.0 → 0.61.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/LICENSE +1 -1
- data/README.md +2 -2
- data/bin/dcm_dict_converter.rb +2 -2
- data/lib/dcm_dict/dictionary/base_dictionary.rb +1 -1
- data/lib/dcm_dict/dictionary/base_record.rb +1 -1
- data/lib/dcm_dict/dictionary/data_element_dictionary.rb +1 -1
- data/lib/dcm_dict/dictionary/data_element_record.rb +1 -1
- data/lib/dcm_dict/dictionary/uid_record.rb +1 -1
- data/lib/dcm_dict/encoder/data_to_code.rb +1 -1
- data/lib/dcm_dict/error/dictionary_error.rb +1 -1
- data/lib/dcm_dict/ext/object_extension.rb +1 -1
- data/lib/dcm_dict/refine/array_refine.rb +1 -1
- data/lib/dcm_dict/refine/data_element_refine.rb +1 -1
- data/lib/dcm_dict/refine/internal/array_refine_internal.rb +1 -1
- data/lib/dcm_dict/refine/internal/hash_refine_internal.rb +1 -1
- data/lib/dcm_dict/refine/internal/string_refine_internal.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/refine/uid_refine.rb +1 -1
- data/lib/dcm_dict/rubies/rb_ext.rb +1 -1
- data/lib/dcm_dict/source_data/data_elements_data.rb +9 -2
- data/lib/dcm_dict/source_data/detached_data.rb +1 -1
- data/lib/dcm_dict/source_data/uid_values_data.rb +1 -1
- data/lib/dcm_dict/version.rb +3 -3
- data/lib/dcm_dict/xml/constant.rb +1 -1
- data/lib/dcm_dict/xml/field_data.rb +1 -1
- data/lib/dcm_dict/xml/nokogiri_tool.rb +1 -1
- data/lib/dcm_dict/xml/rexml_tool.rb +1 -1
- data/lib/dcm_dict/xml/tag_field_data.rb +1 -1
- data/lib/dcm_dict/xml/uid_field_data.rb +1 -1
- data/lib/dcm_dict/xml/xml_tool.rb +1 -1
- data/lib/dcm_dict.rb +1 -1
- data/spec/data_element_sample_spec_helper.rb +5 -2
- data/spec/data_element_shared_example_spec_helper.rb +1 -1
- data/spec/dcm_dict/dictionary/data_element_dictionary_spec.rb +1 -1
- data/spec/dcm_dict/dictionary/data_element_record_spec.rb +1 -1
- data/spec/dcm_dict/dictionary/uid_record_spec.rb +1 -1
- data/spec/dcm_dict/encoder/data_to_code_spec.rb +1 -1
- data/spec/dcm_dict/ext/object_extension_spec.rb +1 -1
- data/spec/dcm_dict/refine/array_refine_spec.rb +1 -1
- data/spec/dcm_dict/refine/internal/array_refine_internal_spec.rb +1 -1
- data/spec/dcm_dict/refine/internal/hash_refine_internal_spec.rb +1 -1
- data/spec/dcm_dict/refine/internal/string_refine_internal_spec.rb +1 -1
- data/spec/dcm_dict/refine/string_refine_spec.rb +1 -1
- data/spec/dcm_dict/refine/symbol_refine_spec.rb +1 -1
- data/spec/dcm_dict/rubies/rb_ext_spec.rb +1 -1
- data/spec/dcm_dict/source_data/data_elements_data_spec.rb +1 -1
- data/spec/dcm_dict/source_data/detached_data_spec.rb +1 -1
- data/spec/dcm_dict/source_data/uid_values_data_spec.rb +1 -1
- data/spec/dcm_dict/version_spec.rb +1 -1
- data/spec/dcm_dict/xml/tag_field_data_spec.rb +1 -1
- data/spec/dcm_dict/xml/uid_field_data_spec.rb +1 -1
- data/spec/dictionary_shared_example_spec_helper.rb +1 -1
- data/spec/refine_shared_example_spec_helper.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/spec/xml_sample_spec_helper.rb +1 -1
- metadata +17 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5c28e180fdad06563ef17a239653fbf2ed121e51e5c0a2ce9ba53dfd8f94294
|
4
|
+
data.tar.gz: ff95c0a391e8e91c2604e92f6d48280ea01b021d519e5ae9e8e345704c87f90b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9626792c1ac7c78a81f262fbbe4d6410f04428a12c70dba6b1de93de415448b822907a10d3fca9a0e4f682e9d8ce6bbbfdcda17e00c45417610c1dc1748e3f84
|
7
|
+
data.tar.gz: 29ba53d9a076fb00c67782d85881be92a3b78e911d7f0893860efac1a3118d2de579319dbe5f223cfd14067820b85d172969a7c301c540aedd766845ed48ddf6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# DcmDict project Changelog
|
2
|
+
---
|
3
|
+
## v0.61.2 (2025-02-20)
|
4
|
+
* Updated dcm_dict.gemspec due to a security update for the Nokogiri gem
|
2
5
|
|
6
|
+
### Note
|
7
|
+
* Nokogiri v1.18.3 upgrades its dependency libxml2 to v2.13.6
|
8
|
+
|
9
|
+
[resolve CVE-2025-24928 and CVE-2024-56171](https://rubysec.com/advisories/GHSA-vvfq-8hwr-qm4m)
|
10
|
+
___
|
11
|
+
## v0.61.1 (2025-01-01)
|
12
|
+
* Not publish on [RubyGems](https://rubygems.org/gems/dcm_dict)
|
13
|
+
* Update copyright years
|
14
|
+
* Updated gemspec requirements
|
15
|
+
#### Note for gemspec
|
16
|
+
> Development Dependency fixed to latest tested version
|
17
|
+
___
|
18
|
+
## v0.61.0 (2024-12-28)
|
19
|
+
* Update to 2024e Base Standard
|
3
20
|
___
|
4
21
|
## v0.60.0 (2024-10-15)
|
5
22
|
* Update to 2024d Base Standard
|
data/LICENSE
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
DcmDict is a Ruby gem (dcm_dict) to handle
|
2
2
|
in a simple way the Data defined within the DICOM Standard.
|
3
3
|
|
4
|
-
Copyright (C) 2014-
|
4
|
+
Copyright (C) 2014-2025 Enrico Rivarola
|
5
5
|
|
6
6
|
DcmDict is free software: you can redistribute it and/or modify
|
7
7
|
it under the terms of the GNU General Public License as published by
|
data/README.md
CHANGED
@@ -295,7 +295,7 @@ Note: the script use the [Nokogiri][3] as XML parser if installed as gem, otherw
|
|
295
295
|
Check the file for other details.
|
296
296
|
|
297
297
|
## Note
|
298
|
-
Current library version is aligned to *DICOM Base Standard* **
|
298
|
+
Current library version is aligned to *DICOM Base Standard* **2024e**
|
299
299
|
|
300
300
|
## Install
|
301
301
|
|
@@ -318,7 +318,7 @@ There are many possible *candidates* for inclusion in the *dictionary*, here are
|
|
318
318
|
TBD
|
319
319
|
|
320
320
|
## License
|
321
|
-
Copyright (C) 2014-
|
321
|
+
Copyright (C) 2014-2025 Enrico Rivarola.
|
322
322
|
See the `LICENSE` and `COPYING` files for license details.
|
323
323
|
|
324
324
|
## Ruby Gem
|
data/bin/dcm_dict_converter.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# -*- ruby -*-
|
3
3
|
#
|
4
|
-
# Copyright (C) 2014-
|
4
|
+
# Copyright (C) 2014-2025 Enrico Rivarola
|
5
5
|
#
|
6
6
|
# This file is part of DcmDict gem (dcm_dict).
|
7
7
|
#
|
@@ -29,7 +29,7 @@ require 'dcm_dict'
|
|
29
29
|
require 'dcm_dict/xml/xml_tool'
|
30
30
|
|
31
31
|
LICENSE_TEXT=<<END_LICENSE
|
32
|
-
Copyright (C) 2014-
|
32
|
+
Copyright (C) 2014-2025 Enrico Rivarola
|
33
33
|
|
34
34
|
This file is part of DcmDict gem (dcm_dict).
|
35
35
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
#
|
3
|
-
# Copyright (C) 2014-
|
3
|
+
# Copyright (C) 2014-2025 Enrico Rivarola
|
4
4
|
#
|
5
5
|
# This file is part of DcmDict gem (dcm_dict).
|
6
6
|
#
|
@@ -324,6 +324,7 @@ Only characters from the Default Character Repertoire may be used.'},
|
|
324
324
|
{ tag_ps: '(0008,114A)', tag_name: "Referenced Instance Sequence", tag_key: 'ReferencedInstanceSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,114A)', tag_sym: :referenced_instance_sequence, tag_ndm: '0008114A', tag_ary: [0x0008,0x114A], tag_multiple: false, tag_note: ''},
|
325
325
|
{ tag_ps: '(0008,114B)', tag_name: "Referenced Real World Value Mapping Instance Sequence", tag_key: 'ReferencedRealWorldValueMappingInstanceSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,114B)', tag_sym: :referenced_real_world_value_mapping_instance_sequence, tag_ndm: '0008114B', tag_ary: [0x0008,0x114B], tag_multiple: false, tag_note: ''},
|
326
326
|
{ tag_ps: '(0008,114C)', tag_name: "Referenced Segmentation Sequence", tag_key: 'ReferencedSegmentationSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,114C)', tag_sym: :referenced_segmentation_sequence, tag_ndm: '0008114C', tag_ary: [0x0008,0x114C], tag_multiple: false, tag_note: ''},
|
327
|
+
{ tag_ps: '(0008,114D)', tag_name: "Referenced Surface Segmentation Sequence", tag_key: 'ReferencedSurfaceSegmentationSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,114D)', tag_sym: :referenced_surface_segmentation_sequence, tag_ndm: '0008114D', tag_ary: [0x0008,0x114D], tag_multiple: false, tag_note: ''},
|
327
328
|
{ tag_ps: '(0008,1150)', tag_name: "Referenced SOP Class UID", tag_key: 'ReferencedSOPClassUID', tag_vr: [:UI], tag_vm: ["1"], tag_str: '(0008,1150)', tag_sym: :referenced_sop_class_uid, tag_ndm: '00081150', tag_ary: [0x0008,0x1150], tag_multiple: false, tag_note: ''},
|
328
329
|
{ tag_ps: '(0008,1155)', tag_name: "Referenced SOP Instance UID", tag_key: 'ReferencedSOPInstanceUID', tag_vr: [:UI], tag_vm: ["1"], tag_str: '(0008,1155)', tag_sym: :referenced_sop_instance_uid, tag_ndm: '00081155', tag_ary: [0x0008,0x1155], tag_multiple: false, tag_note: ''},
|
329
330
|
{ tag_ps: '(0008,1156)', tag_name: "Definition Source Sequence", tag_key: 'DefinitionSourceSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,1156)', tag_sym: :definition_source_sequence, tag_ndm: '00081156', tag_ary: [0x0008,0x1156], tag_multiple: false, tag_note: ''},
|
@@ -2101,12 +2102,16 @@ Only characters from the Default Character Repertoire may be used.'},
|
|
2101
2102
|
{ tag_ps: '(0022,1618)', tag_name: "Scan Pattern Type Code Sequence", tag_key: 'ScanPatternTypeCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0022,1618)', tag_sym: :scan_pattern_type_code_sequence, tag_ndm: '00221618', tag_ary: [0x0022,0x1618], tag_multiple: false, tag_note: ''},
|
2102
2103
|
{ tag_ps: '(0022,1620)', tag_name: "Referenced Surface Mesh Identification Sequence", tag_key: 'ReferencedSurfaceMeshIdentificationSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0022,1620)', tag_sym: :referenced_surface_mesh_identification_sequence, tag_ndm: '00221620', tag_ary: [0x0022,0x1620], tag_multiple: false, tag_note: ''},
|
2103
2104
|
{ tag_ps: '(0022,1622)', tag_name: "Ophthalmic Volumetric Properties Flag", tag_key: 'OphthalmicVolumetricPropertiesFlag', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0022,1622)', tag_sym: :ophthalmic_volumetric_properties_flag, tag_ndm: '00221622', tag_ary: [0x0022,0x1622], tag_multiple: false, tag_note: ''},
|
2105
|
+
{ tag_ps: '(0022,1623)', tag_name: "Ophthalmic Anatomic Reference Point Frame Coordinate", tag_key: 'OphthalmicAnatomicReferencePointFrameCoordinate', tag_vr: [:FL], tag_vm: ["1"], tag_str: '(0022,1623)', tag_sym: :ophthalmic_anatomic_reference_point_frame_coordinate, tag_ndm: '00221623', tag_ary: [0x0022,0x1623], tag_multiple: false, tag_note: ''},
|
2104
2106
|
{ tag_ps: '(0022,1624)', tag_name: "Ophthalmic Anatomic Reference Point X-Coordinate", tag_key: 'OphthalmicAnatomicReferencePointXCoordinate', tag_vr: [:FL], tag_vm: ["1"], tag_str: '(0022,1624)', tag_sym: :ophthalmic_anatomic_reference_point_x_coordinate, tag_ndm: '00221624', tag_ary: [0x0022,0x1624], tag_multiple: false, tag_note: ''},
|
2105
2107
|
{ tag_ps: '(0022,1626)', tag_name: "Ophthalmic Anatomic Reference Point Y-Coordinate", tag_key: 'OphthalmicAnatomicReferencePointYCoordinate', tag_vr: [:FL], tag_vm: ["1"], tag_str: '(0022,1626)', tag_sym: :ophthalmic_anatomic_reference_point_y_coordinate, tag_ndm: '00221626', tag_ary: [0x0022,0x1626], tag_multiple: false, tag_note: ''},
|
2106
2108
|
{ tag_ps: '(0022,1627)', tag_name: "Ophthalmic En Face Volume Descriptor Sequence", tag_key: 'OphthalmicEnFaceVolumeDescriptorSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0022,1627)', tag_sym: :ophthalmic_en_face_volume_descriptor_sequence, tag_ndm: '00221627', tag_ary: [0x0022,0x1627], tag_multiple: false, tag_note: ''},
|
2107
2109
|
{ tag_ps: '(0022,1628)', tag_name: "Ophthalmic En Face Image Quality Rating Sequence", tag_key: 'OphthalmicEnFaceImageQualityRatingSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0022,1628)', tag_sym: :ophthalmic_en_face_image_quality_rating_sequence, tag_ndm: '00221628', tag_ary: [0x0022,0x1628], tag_multiple: false, tag_note: ''},
|
2108
2110
|
{ tag_ps: '(0022,1629)', tag_name: "Ophthalmic En Face Volume Descriptor Scope", tag_key: 'OphthalmicEnFaceVolumeDescriptorScope', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0022,1629)', tag_sym: :ophthalmic_en_face_volume_descriptor_scope, tag_ndm: '00221629', tag_ary: [0x0022,0x1629], tag_multiple: false, tag_note: ''},
|
2109
2111
|
{ tag_ps: '(0022,1630)', tag_name: "Quality Threshold", tag_key: 'QualityThreshold', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(0022,1630)', tag_sym: :quality_threshold, tag_ndm: '00221630', tag_ary: [0x0022,0x1630], tag_multiple: false, tag_note: ''},
|
2112
|
+
{ tag_ps: '(0022,1632)', tag_name: "Ophthalmic Anatomic Reference Point Sequence", tag_key: 'OphthalmicAnatomicReferencePointSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0022,1632)', tag_sym: :ophthalmic_anatomic_reference_point_sequence, tag_ndm: '00221632', tag_ary: [0x0022,0x1632], tag_multiple: false, tag_note: ''},
|
2113
|
+
{ tag_ps: '(0022,1633)', tag_name: "Ophthalmic Anatomic Reference Point Localization Type", tag_key: 'OphthalmicAnatomicReferencePointLocalizationType', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0022,1633)', tag_sym: :ophthalmic_anatomic_reference_point_localization_type, tag_ndm: '00221633', tag_ary: [0x0022,0x1633], tag_multiple: false, tag_note: ''},
|
2114
|
+
{ tag_ps: '(0022,1634)', tag_name: "Primary Anatomic Structure Item Index", tag_key: 'PrimaryAnatomicStructureItemIndex', tag_vr: [:IS], tag_vm: ["1"], tag_str: '(0022,1634)', tag_sym: :primary_anatomic_structure_item_index, tag_ndm: '00221634', tag_ary: [0x0022,0x1634], tag_multiple: false, tag_note: ''},
|
2110
2115
|
{ tag_ps: '(0022,1640)', tag_name: "OCT B-scan Analysis Acquisition Parameters Sequence", tag_key: 'OCTBscanAnalysisAcquisitionParametersSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0022,1640)', tag_sym: :oct_bscan_analysis_acquisition_parameters_sequence, tag_ndm: '00221640', tag_ary: [0x0022,0x1640], tag_multiple: false, tag_note: ''},
|
2111
2116
|
{ tag_ps: '(0022,1642)', tag_name: "Number of B-scans Per Frame", tag_key: 'NumberOfBscansPerFrame', tag_vr: [:UL], tag_vm: ["1"], tag_str: '(0022,1642)', tag_sym: :number_of_bscans_per_frame, tag_ndm: '00221642', tag_ary: [0x0022,0x1642], tag_multiple: false, tag_note: ''},
|
2112
2117
|
{ tag_ps: '(0022,1643)', tag_name: "B-scan Slab Thickness", tag_key: 'BscanSlabThickness', tag_vr: [:FL], tag_vm: ["1"], tag_str: '(0022,1643)', tag_sym: :bscan_slab_thickness, tag_ndm: '00221643', tag_ary: [0x0022,0x1643], tag_multiple: false, tag_note: ''},
|
@@ -4122,8 +4127,9 @@ Only characters from the Default Character Repertoire may be used.'},
|
|
4122
4127
|
{ tag_ps: '(3004,000C)', tag_name: "Grid Frame Offset Vector", tag_key: 'GridFrameOffsetVector', tag_vr: [:DS], tag_vm: ["2-n"], tag_str: '(3004,000C)', tag_sym: :grid_frame_offset_vector, tag_ndm: '3004000C', tag_ary: [0x3004,0x000C], tag_multiple: false, tag_note: ''},
|
4123
4128
|
{ tag_ps: '(3004,000E)', tag_name: "Dose Grid Scaling", tag_key: 'DoseGridScaling', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(3004,000E)', tag_sym: :dose_grid_scaling, tag_ndm: '3004000E', tag_ary: [0x3004,0x000E], tag_multiple: false, tag_note: ''},
|
4124
4129
|
{ tag_ps: '(3004,0010)', tag_name: "RT Dose ROI Sequence", tag_key: 'RTDoseROISequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3004,0010)', tag_sym: :rt_dose_roi_sequence, tag_ndm: '30040010', tag_ary: [0x3004,0x0010], tag_multiple: false, tag_note: 'RET (2022d)'},
|
4125
|
-
{ tag_ps: '(3004,0012)', tag_name: "Dose Value", tag_key: 'DoseValue', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(3004,0012)', tag_sym: :dose_value, tag_ndm: '30040012', tag_ary: [0x3004,0x0012], tag_multiple: false, tag_note: '
|
4130
|
+
{ tag_ps: '(3004,0012)', tag_name: "Dose Value", tag_key: 'DoseValue', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(3004,0012)', tag_sym: :dose_value, tag_ndm: '30040012', tag_ary: [0x3004,0x0012], tag_multiple: false, tag_note: ''},
|
4126
4131
|
{ tag_ps: '(3004,0014)', tag_name: "Tissue Heterogeneity Correction", tag_key: 'TissueHeterogeneityCorrection', tag_vr: [:CS], tag_vm: ["1-3"], tag_str: '(3004,0014)', tag_sym: :tissue_heterogeneity_correction, tag_ndm: '30040014', tag_ary: [0x3004,0x0014], tag_multiple: false, tag_note: ''},
|
4132
|
+
{ tag_ps: '(3004,0016)', tag_name: "Recommended Isodose Level Sequence", tag_key: 'RecommendedIsodoseLevelSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3004,0016)', tag_sym: :recommended_isodose_level_sequence, tag_ndm: '30040016', tag_ary: [0x3004,0x0016], tag_multiple: false, tag_note: ''},
|
4127
4133
|
{ tag_ps: '(3004,0040)', tag_name: "DVH Normalization Point", tag_key: 'DVHNormalizationPoint', tag_vr: [:DS], tag_vm: ["3"], tag_str: '(3004,0040)', tag_sym: :dvh_normalization_point, tag_ndm: '30040040', tag_ary: [0x3004,0x0040], tag_multiple: false, tag_note: ''},
|
4128
4134
|
{ tag_ps: '(3004,0042)', tag_name: "DVH Normalization Dose Value", tag_key: 'DVHNormalizationDoseValue', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(3004,0042)', tag_sym: :dvh_normalization_dose_value, tag_ndm: '30040042', tag_ary: [0x3004,0x0042], tag_multiple: false, tag_note: ''},
|
4129
4135
|
{ tag_ps: '(3004,0050)', tag_name: "DVH Sequence", tag_key: 'DVHSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3004,0050)', tag_sym: :dvh_sequence, tag_ndm: '30040050', tag_ary: [0x3004,0x0050], tag_multiple: false, tag_note: ''},
|
@@ -4600,6 +4606,7 @@ Only characters from the Default Character Repertoire may be used.'},
|
|
4600
4606
|
{ tag_ps: '(300A,02E8)', tag_name: "Compensator Milling Tool Diameter", tag_key: 'CompensatorMillingToolDiameter', tag_vr: [:FL], tag_vm: ["1"], tag_str: '(300A,02E8)', tag_sym: :compensator_milling_tool_diameter, tag_ndm: '300A02E8', tag_ary: [0x300A,0x02E8], tag_multiple: false, tag_note: ''},
|
4601
4607
|
{ tag_ps: '(300A,02EA)', tag_name: "Ion Range Compensator Sequence", tag_key: 'IonRangeCompensatorSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(300A,02EA)', tag_sym: :ion_range_compensator_sequence, tag_ndm: '300A02EA', tag_ary: [0x300A,0x02EA], tag_multiple: false, tag_note: ''},
|
4602
4608
|
{ tag_ps: '(300A,02EB)', tag_name: "Compensator Description", tag_key: 'CompensatorDescription', tag_vr: [:LT], tag_vm: ["1"], tag_str: '(300A,02EB)', tag_sym: :compensator_description, tag_ndm: '300A02EB', tag_ary: [0x300A,0x02EB], tag_multiple: false, tag_note: ''},
|
4609
|
+
{ tag_ps: '(300A,02EC)', tag_name: "Compensator Surface Representation Flag", tag_key: 'CompensatorSurfaceRepresentationFlag', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(300A,02EC)', tag_sym: :compensator_surface_representation_flag, tag_ndm: '300A02EC', tag_ary: [0x300A,0x02EC], tag_multiple: false, tag_note: ''},
|
4603
4610
|
{ tag_ps: '(300A,0302)', tag_name: "Radiation Mass Number", tag_key: 'RadiationMassNumber', tag_vr: [:IS], tag_vm: ["1"], tag_str: '(300A,0302)', tag_sym: :radiation_mass_number, tag_ndm: '300A0302', tag_ary: [0x300A,0x0302], tag_multiple: false, tag_note: ''},
|
4604
4611
|
{ tag_ps: '(300A,0304)', tag_name: "Radiation Atomic Number", tag_key: 'RadiationAtomicNumber', tag_vr: [:IS], tag_vm: ["1"], tag_str: '(300A,0304)', tag_sym: :radiation_atomic_number, tag_ndm: '300A0304', tag_ary: [0x300A,0x0304], tag_multiple: false, tag_note: ''},
|
4605
4612
|
{ tag_ps: '(300A,0306)', tag_name: "Radiation Charge State", tag_key: 'RadiationChargeState', tag_vr: [:SS], tag_vm: ["1"], tag_str: '(300A,0306)', tag_sym: :radiation_charge_state, tag_ndm: '300A0306', tag_ary: [0x300A,0x0306], tag_multiple: false, tag_note: ''},
|
data/lib/dcm_dict/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (C) 2014-
|
2
|
+
# Copyright (C) 2014-2025 Enrico Rivarola
|
3
3
|
#
|
4
4
|
# This file is part of DcmDict gem (dcm_dict).
|
5
5
|
#
|
@@ -22,6 +22,6 @@
|
|
22
22
|
# applicable local, state, national or international regulations.
|
23
23
|
#
|
24
24
|
module DcmDict
|
25
|
-
VERSION = "0.
|
26
|
-
DICOM_DOC_VERSION = "
|
25
|
+
VERSION = "0.61.2"
|
26
|
+
DICOM_DOC_VERSION = "2024e"
|
27
27
|
end
|
data/lib/dcm_dict.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
#
|
3
|
-
# Copyright (C) 2014-
|
3
|
+
# Copyright (C) 2014-2025 Enrico Rivarola
|
4
4
|
#
|
5
5
|
# This file is part of DcmDict gem (dcm_dict).
|
6
6
|
#
|
@@ -171,7 +171,10 @@ module DataElementSampleSpecHelper
|
|
171
171
|
tag_ndm: '00089007', tag_ary: [0x0008,0x9007], tag_multiple: false, tag_note: ''},
|
172
172
|
[0x3004,0x0012] => { tag_ps: '(3004,0012)', tag_name: "Dose Value", tag_key: 'DoseValue',
|
173
173
|
tag_vr: [:DS], tag_vm: ["1"], tag_str: '(3004,0012)', tag_sym: :dose_value,
|
174
|
-
tag_ndm: '30040012', tag_ary: [0x3004,0x0012], tag_multiple: false, tag_note: '
|
174
|
+
tag_ndm: '30040012', tag_ary: [0x3004,0x0012], tag_multiple: false, tag_note: ''},
|
175
|
+
[0x300A,0x02EC] => { tag_ps: '(300A,02EC)', tag_name: "Compensator Surface Representation Flag", tag_key: 'CompensatorSurfaceRepresentationFlag',
|
176
|
+
tag_vr: [:CS], tag_vm: ["1"], tag_str: '(300A,02EC)', tag_sym: :compensator_surface_representation_flag,
|
177
|
+
tag_ndm: '300A02EC', tag_ary: [0x300A,0x02EC], tag_multiple: false, tag_note: ''},
|
175
178
|
}
|
176
179
|
end
|
177
180
|
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dcm_dict
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.61.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Enrico Rivarola
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-20 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: nokogiri
|
@@ -16,40 +15,40 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
18
|
+
version: '1.18'
|
20
19
|
- - ">="
|
21
20
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.
|
21
|
+
version: 1.18.3
|
23
22
|
type: :development
|
24
23
|
prerelease: false
|
25
24
|
version_requirements: !ruby/object:Gem::Requirement
|
26
25
|
requirements:
|
27
26
|
- - "~>"
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: '1.
|
28
|
+
version: '1.18'
|
30
29
|
- - ">="
|
31
30
|
- !ruby/object:Gem::Version
|
32
|
-
version: 1.
|
31
|
+
version: 1.18.3
|
33
32
|
- !ruby/object:Gem::Dependency
|
34
33
|
name: rspec
|
35
34
|
requirement: !ruby/object:Gem::Requirement
|
36
35
|
requirements:
|
37
36
|
- - "~>"
|
38
37
|
- !ruby/object:Gem::Version
|
39
|
-
version: '3.
|
38
|
+
version: '3.13'
|
40
39
|
- - ">="
|
41
40
|
- !ruby/object:Gem::Version
|
42
|
-
version: 3.
|
41
|
+
version: 3.13.0
|
43
42
|
type: :development
|
44
43
|
prerelease: false
|
45
44
|
version_requirements: !ruby/object:Gem::Requirement
|
46
45
|
requirements:
|
47
46
|
- - "~>"
|
48
47
|
- !ruby/object:Gem::Version
|
49
|
-
version: '3.
|
48
|
+
version: '3.13'
|
50
49
|
- - ">="
|
51
50
|
- !ruby/object:Gem::Version
|
52
|
-
version: 3.
|
51
|
+
version: 3.13.0
|
53
52
|
- !ruby/object:Gem::Dependency
|
54
53
|
name: simplecov
|
55
54
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,20 +75,20 @@ dependencies:
|
|
76
75
|
requirements:
|
77
76
|
- - "~>"
|
78
77
|
- !ruby/object:Gem::Version
|
79
|
-
version: '13.
|
78
|
+
version: '13.2'
|
80
79
|
- - ">="
|
81
80
|
- !ruby/object:Gem::Version
|
82
|
-
version: 13.
|
81
|
+
version: 13.2.1
|
83
82
|
type: :development
|
84
83
|
prerelease: false
|
85
84
|
version_requirements: !ruby/object:Gem::Requirement
|
86
85
|
requirements:
|
87
86
|
- - "~>"
|
88
87
|
- !ruby/object:Gem::Version
|
89
|
-
version: '13.
|
88
|
+
version: '13.2'
|
90
89
|
- - ">="
|
91
90
|
- !ruby/object:Gem::Version
|
92
|
-
version: 13.
|
91
|
+
version: 13.2.1
|
93
92
|
description: DcmDict is a Ruby gem (dcm_dict) to handle in a simple way the Data Dictionary
|
94
93
|
defined within the DICOM Standard
|
95
94
|
email: henrythebuilder@yahoo.it
|
@@ -165,10 +164,9 @@ licenses:
|
|
165
164
|
metadata:
|
166
165
|
bug_tracker_uri: https://github.com/henrythebuilder/dcm_dict/issues
|
167
166
|
changelog_uri: https://github.com/henrythebuilder/dcm_dict/blob/master/CHANGELOG.md
|
168
|
-
documentation_uri: http://www.rubydoc.info/gems/dcm_dict/0.
|
167
|
+
documentation_uri: http://www.rubydoc.info/gems/dcm_dict/0.61.2
|
169
168
|
homepage_uri: http://rubygems.org/gems/dcm_dict
|
170
169
|
source_code_uri: https://github.com/henrythebuilder/dcm_dict
|
171
|
-
post_install_message:
|
172
170
|
rdoc_options: []
|
173
171
|
require_paths:
|
174
172
|
- lib
|
@@ -176,15 +174,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
176
174
|
requirements:
|
177
175
|
- - ">="
|
178
176
|
- !ruby/object:Gem::Version
|
179
|
-
version: '3.
|
177
|
+
version: '3.3'
|
180
178
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
179
|
requirements:
|
182
180
|
- - ">="
|
183
181
|
- !ruby/object:Gem::Version
|
184
182
|
version: '0'
|
185
183
|
requirements: []
|
186
|
-
rubygems_version: 3.
|
187
|
-
signing_key:
|
184
|
+
rubygems_version: 3.6.4
|
188
185
|
specification_version: 4
|
189
186
|
summary: A simple way to handle DICOM Data Dictionary
|
190
187
|
test_files:
|