dcm_dict 0.26.0 → 0.27.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 +9 -0
- data/LICENSE +1 -1
- data/README.md +4 -7
- data/bin/dcm_dict_converter.rb +2 -2
- data/lib/dcm_dict.rb +1 -1
- 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 +14 -1
- data/lib/dcm_dict/source_data/detached_data.rb +1 -1
- data/lib/dcm_dict/source_data/uid_values_data.rb +7 -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/spec/data_element_sample_spec_helper.rb +1 -1
- 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 +3 -3
- 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 +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3aabbee194362f1003d72cf3513dd85261cb63d93b83802c1fb0b767c1f0c1a2
|
4
|
+
data.tar.gz: 12b19236ebf0658ea4016be747951963bc9a636fd1264543987f6d6685541b14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 738fdcf5e5ebf3b920c8b906a54bf0575a50b9c707038d9bd13efa57f193dbff2ed16b06191dc88d808aee6fca211fb3ba4c0c28680265abb53ab77c39cddf79
|
7
|
+
data.tar.gz: 97ebf73cfe6dd4ae93ed04afd7794c9ee110e91ad97bd908af5b55cd87e7fcc27fae081ff2cf7038a7615adb7a57dd44cba92e6d46e56f334bdc2c99e10cd1c5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# DcmDict project Changelog
|
2
2
|
|
3
|
+
## v0.27.0 (2020-02-05)
|
4
|
+
* Update to 2020a Base Standard
|
5
|
+
___
|
6
|
+
## v0.26.2 (2020-02-05)
|
7
|
+
* Update copyright year
|
8
|
+
___
|
9
|
+
## v0.26.1 (2020-01-03)
|
10
|
+
* Fix test to be compatible with ruby 2.7
|
11
|
+
* (No Dictionary Change from 2019e)
|
3
12
|
___
|
4
13
|
## v0.26.0 (2019-11-20)
|
5
14
|
* Update to 2019e 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-2020 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
@@ -4,11 +4,8 @@
|
|
4
4
|
# Why *DcmDict*
|
5
5
|
With the new releases from year 2014 DICOM documents are available in different format including one particularly interesting, the *DocBook* XML version.
|
6
6
|
|
7
|
-
As
|
8
|
-
>
|
9
|
-
|
10
|
-
This is confirmed in the DICOM<sup>®</sup> Standard [web site][10] where each part is published in [multiple formats][11] and the XML format is defined:
|
11
|
-
>"... good for machine readability, e.g. self-updating validators ..."
|
7
|
+
As confirmed in the DICOM<sup>®</sup> Standard [web site][10] where each part is published in [multiple formats][11] and XML format is defined by:
|
8
|
+
>"... XML – good for machine readability, e.g. self-updating validators ..."
|
12
9
|
|
13
10
|
This is great news for anyone involved in the study of the standard !
|
14
11
|
|
@@ -272,7 +269,7 @@ Note: the script use the [Nokogiri][3] as XML parser if installed as gem, otherw
|
|
272
269
|
Check the file for other details.
|
273
270
|
|
274
271
|
## Note
|
275
|
-
Current library version is aligned to *DICOM Base Standard* **
|
272
|
+
Current library version is aligned to *DICOM Base Standard* **2020a**
|
276
273
|
|
277
274
|
## Install
|
278
275
|
|
@@ -295,7 +292,7 @@ There are many possible *candidates* for inclusion in the *dictionary*, here are
|
|
295
292
|
TBD
|
296
293
|
|
297
294
|
## License
|
298
|
-
Copyright (C) 2014-
|
295
|
+
Copyright (C) 2014-2020 Enrico Rivarola.
|
299
296
|
See the `LICENSE` and `COPYING` files for license details.
|
300
297
|
|
301
298
|
## 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-2020 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-2020 Enrico Rivarola
|
33
33
|
|
34
34
|
This file is part of DcmDict gem (dcm_dict).
|
35
35
|
|
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-2020 Enrico Rivarola
|
4
4
|
#
|
5
5
|
# This file is part of DcmDict gem (dcm_dict).
|
6
6
|
#
|
@@ -3129,6 +3129,8 @@ HIGH = 0001H'},
|
|
3129
3129
|
{ tag_ps: '(0068,7001)', tag_name: "Model Modification", tag_key: 'ModelModification', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0068,7001)', tag_sym: :model_modification, tag_ndm: '00687001', tag_ary: [0x0068,0x7001], tag_multiple: false, tag_note: ''},
|
3130
3130
|
{ tag_ps: '(0068,7002)', tag_name: "Model Mirroring", tag_key: 'ModelMirroring', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0068,7002)', tag_sym: :model_mirroring, tag_ndm: '00687002', tag_ary: [0x0068,0x7002], tag_multiple: false, tag_note: ''},
|
3131
3131
|
{ tag_ps: '(0068,7003)', tag_name: "Model Usage Code Sequence", tag_key: 'ModelUsageCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0068,7003)', tag_sym: :model_usage_code_sequence, tag_ndm: '00687003', tag_ary: [0x0068,0x7003], tag_multiple: false, tag_note: ''},
|
3132
|
+
{ tag_ps: '(0068,7004)', tag_name: "Model Group UID", tag_key: 'ModelGroupUID', tag_vr: [:UI], tag_vm: ["1"], tag_str: '(0068,7004)', tag_sym: :model_group_uid, tag_ndm: '00687004', tag_ary: [0x0068,0x7004], tag_multiple: false, tag_note: ''},
|
3133
|
+
{ tag_ps: '(0068,7005)', tag_name: "Relative URI Reference Within Encapsulated Document", tag_key: 'RelativeURIReferenceWithinEncapsulatedDocument', tag_vr: [:UR], tag_vm: ["1"], tag_str: '(0068,7005)', tag_sym: :relative_uri_reference_within_encapsulated_document, tag_ndm: '00687005', tag_ary: [0x0068,0x7005], tag_multiple: false, tag_note: ''},
|
3132
3134
|
{ tag_ps: '(0070,0001)', tag_name: "Graphic Annotation Sequence", tag_key: 'GraphicAnnotationSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0070,0001)', tag_sym: :graphic_annotation_sequence, tag_ndm: '00700001', tag_ary: [0x0070,0x0001], tag_multiple: false, tag_note: ''},
|
3133
3135
|
{ tag_ps: '(0070,0002)', tag_name: "Graphic Layer", tag_key: 'GraphicLayer', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0070,0002)', tag_sym: :graphic_layer, tag_ndm: '00700002', tag_ary: [0x0070,0x0002], tag_multiple: false, tag_note: ''},
|
3134
3136
|
{ tag_ps: '(0070,0003)', tag_name: "Bounding Box Annotation Units", tag_key: 'BoundingBoxAnnotationUnits', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0070,0003)', tag_sym: :bounding_box_annotation_units, tag_ndm: '00700003', tag_ary: [0x0070,0x0003], tag_multiple: false, tag_note: ''},
|
@@ -4664,6 +4666,17 @@ HIGH = 0001H'},
|
|
4664
4666
|
{ 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: ''},
|
4665
4667
|
{ 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: ''},
|
4666
4668
|
{ 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: ''},
|
4669
|
+
{ 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: ''},
|
4670
|
+
{ 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: ''},
|
4671
|
+
{ 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: ''},
|
4672
|
+
{ 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: ''},
|
4673
|
+
{ tag_ps: '(3010,0094)', tag_name: "Radiation Source Coordinate SystemYaw Angle", tag_key: 'RadiationSourceCoordinateSystemYawAngle', tag_vr: [:FD], tag_vm: ["1"], tag_str: '(3010,0094)', tag_sym: :radiation_source_coordinate_system_yaw_angle, tag_ndm: '30100094', tag_ary: [0x3010,0x0094], tag_multiple: false, tag_note: ''},
|
4674
|
+
{ tag_ps: '(3010,0095)', tag_name: "Radiation Source Coordinate SystemRoll Angle", tag_key: 'RadiationSourceCoordinateSystemRollAngle', tag_vr: [:FD], tag_vm: ["1"], tag_str: '(3010,0095)', tag_sym: :radiation_source_coordinate_system_roll_angle, tag_ndm: '30100095', tag_ary: [0x3010,0x0095], tag_multiple: false, tag_note: ''},
|
4675
|
+
{ tag_ps: '(3010,0096)', tag_name: "Radiation Source Coordinate SystemPitch Angle", tag_key: 'RadiationSourceCoordinateSystemPitchAngle', tag_vr: [:FD], tag_vm: ["1"], tag_str: '(3010,0096)', tag_sym: :radiation_source_coordinate_system_pitch_angle, tag_ndm: '30100096', tag_ary: [0x3010,0x0096], tag_multiple: false, tag_note: ''},
|
4676
|
+
{ tag_ps: '(3010,0097)', tag_name: "Robotic Path Control Point Sequence", tag_key: 'RoboticPathControlPointSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3010,0097)', tag_sym: :robotic_path_control_point_sequence, tag_ndm: '30100097', tag_ary: [0x3010,0x0097], tag_multiple: false, tag_note: ''},
|
4677
|
+
{ tag_ps: '(3010,0098)', tag_name: "Tomotherapeutic Control Point Sequence", tag_key: 'TomotherapeuticControlPointSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3010,0098)', tag_sym: :tomotherapeutic_control_point_sequence, tag_ndm: '30100098', tag_ary: [0x3010,0x0098], tag_multiple: false, tag_note: ''},
|
4678
|
+
{ tag_ps: '(3010,0099)', tag_name: "Tomotherapeutic Leaf Open Durations", tag_key: 'TomotherapeuticLeafOpenDurations', tag_vr: [:FD], tag_vm: ["1-n"], tag_str: '(3010,0099)', tag_sym: :tomotherapeutic_leaf_open_durations, tag_ndm: '30100099', tag_ary: [0x3010,0x0099], tag_multiple: false, tag_note: ''},
|
4679
|
+
{ tag_ps: '(3010,009A)', tag_name: "Tomotherapeutic Leaf Initial Closed Durations", tag_key: 'TomotherapeuticLeafInitialClosedDurations', tag_vr: [:FD], tag_vm: ["1-n"], tag_str: '(3010,009A)', tag_sym: :tomotherapeutic_leaf_initial_closed_durations, tag_ndm: '3010009A', tag_ary: [0x3010,0x009A], tag_multiple: false, tag_note: ''},
|
4667
4680
|
{ tag_ps: '(4000,0010)', tag_name: "Arbitrary", tag_key: 'Arbitrary', tag_vr: [:LT], tag_vm: ["1"], tag_str: '(4000,0010)', tag_sym: :arbitrary, tag_ndm: '40000010', tag_ary: [0x4000,0x0010], tag_multiple: false, tag_note: 'RET'},
|
4668
4681
|
{ tag_ps: '(4000,4000)', tag_name: "Text Comments", tag_key: 'TextComments', tag_vr: [:LT], tag_vm: ["1"], tag_str: '(4000,4000)', tag_sym: :text_comments, tag_ndm: '40004000', tag_ary: [0x4000,0x4000], tag_multiple: false, tag_note: 'RET'},
|
4669
4682
|
{ tag_ps: '(4008,0040)', tag_name: "Results ID", tag_key: 'ResultsID', tag_vr: [:SH], tag_vm: ["1"], tag_str: '(4008,0040)', tag_sym: :results_id, tag_ndm: '40080040', tag_ary: [0x4008,0x0040], tag_multiple: false, tag_note: 'RET (2004)'},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
#
|
3
|
-
# Copyright (C) 2014-
|
3
|
+
# Copyright (C) 2014-2020 Enrico Rivarola
|
4
4
|
#
|
5
5
|
# This file is part of DcmDict gem (dcm_dict).
|
6
6
|
#
|
@@ -93,6 +93,7 @@ module DcmDict
|
|
93
93
|
{ uid_value: '1.2.840.10008.1.4.2.1', uid_name: "ICBM 452 T1 Frame of Reference", uid_type: :well_known_frame_of_reference},
|
94
94
|
{ uid_value: '1.2.840.10008.1.4.2.2', uid_name: "ICBM Single Subject MRI Frame of Reference", uid_type: :well_known_frame_of_reference},
|
95
95
|
{ uid_value: '1.2.840.10008.1.4.3.1', uid_name: "IEC 61217 Fixed Coordinate System Frame of Reference", uid_type: :well_known_frame_of_reference},
|
96
|
+
{ uid_value: '1.2.840.10008.1.4.3.2', uid_name: "Standard Robotic-Arm Coordinate System Frame of Reference", uid_type: :well_known_frame_of_reference},
|
96
97
|
{ uid_value: '1.2.840.10008.1.5.1', uid_name: "Hot Iron Color Palette SOP Instance", uid_type: :well_known_sop_instance},
|
97
98
|
{ uid_value: '1.2.840.10008.1.5.2', uid_name: "PET Color Palette SOP Instance", uid_type: :well_known_sop_instance},
|
98
99
|
{ uid_value: '1.2.840.10008.1.5.3', uid_name: "Hot Metal Blue Color Palette SOP Instance", uid_type: :well_known_sop_instance},
|
@@ -123,6 +124,7 @@ module DcmDict
|
|
123
124
|
{ uid_value: '1.2.840.10008.2.16.12', uid_name: "Mayo Clinic Non-radiological Images Specific Body Structure Anatomical Surface Region Guide", uid_type: :coding_scheme},
|
124
125
|
{ uid_value: '1.2.840.10008.2.16.13', uid_name: "Image Biomarker Standardisation Initiative", uid_type: :coding_scheme},
|
125
126
|
{ uid_value: '1.2.840.10008.2.16.14', uid_name: "Radiomics Ontology", uid_type: :coding_scheme},
|
127
|
+
{ uid_value: '1.2.840.10008.2.16.15', uid_name: "RadElement", uid_type: :coding_scheme},
|
126
128
|
{ uid_value: '1.2.840.10008.3.1.1.1', uid_name: "DICOM Application Context Name", uid_type: :application_context_name},
|
127
129
|
{ uid_value: '1.2.840.10008.3.1.2.1.1', uid_name: "Detached Patient Management SOP Class (Retired)", uid_type: :sop_class},
|
128
130
|
{ uid_value: '1.2.840.10008.3.1.2.1.4', uid_name: "Detached Patient Management Meta SOP Class (Retired)", uid_type: :meta_sop_class},
|
@@ -299,6 +301,8 @@ module DcmDict
|
|
299
301
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.104.1', uid_name: "Encapsulated PDF Storage", uid_type: :sop_class},
|
300
302
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.104.2', uid_name: "Encapsulated CDA Storage", uid_type: :sop_class},
|
301
303
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.104.3', uid_name: "Encapsulated STL Storage", uid_type: :sop_class},
|
304
|
+
{ uid_value: '1.2.840.10008.5.1.4.1.1.104.4', uid_name: "Encapsulated OBJ Storage", uid_type: :sop_class},
|
305
|
+
{ uid_value: '1.2.840.10008.5.1.4.1.1.104.5', uid_name: "Encapsulated MTL Storage", uid_type: :sop_class},
|
302
306
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.128', uid_name: "Positron Emission Tomography Image Storage", uid_type: :sop_class},
|
303
307
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.128.1', uid_name: "Legacy Converted Enhanced PET Image Storage", uid_type: :sop_class},
|
304
308
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.129', uid_name: "Standalone PET Curve Storage (Retired)", uid_type: :sop_class},
|
@@ -323,6 +327,8 @@ module DcmDict
|
|
323
327
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.481.11', uid_name: "RT Segment Annotation Storage", uid_type: :sop_class},
|
324
328
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.481.12', uid_name: "RT Radiation Set Storage", uid_type: :sop_class},
|
325
329
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.481.13', uid_name: "C-Arm Photon-Electron Radiation Storage", uid_type: :sop_class},
|
330
|
+
{ uid_value: '1.2.840.10008.5.1.4.1.1.481.14', uid_name: "Tomotherapeutic Radiation Storage", uid_type: :sop_class},
|
331
|
+
{ uid_value: '1.2.840.10008.5.1.4.1.1.481.15', uid_name: "Robotic-Arm Radiation Storage", uid_type: :sop_class},
|
326
332
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.501.1', uid_name: "DICOS CT Image Storage", uid_type: :sop_class},
|
327
333
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.501.2.1', uid_name: "DICOS Digital X-Ray Image Storage - For Presentation", uid_type: :sop_class},
|
328
334
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.501.2.2', uid_name: "DICOS Digital X-Ray Image Storage - For Processing", uid_type: :sop_class},
|
data/lib/dcm_dict/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (C) 2014-
|
2
|
+
# Copyright (C) 2014-2020 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.27.0"
|
26
|
+
DICOM_DOC_VERSION = "2020a"
|
27
27
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (C) 2014-
|
2
|
+
# Copyright (C) 2014-2020 Enrico Rivarola
|
3
3
|
#
|
4
4
|
# This file is part of DcmDict gem (dcm_dict).
|
5
5
|
#
|
@@ -100,9 +100,9 @@ RSpec.shared_examples "Dictionary Data not modifiable" do |record_key, key, dict
|
|
100
100
|
obj = dictionary.record_at(record_key)
|
101
101
|
expect(obj).to be_frozen
|
102
102
|
expect{ eval("obj.#{key} << 'aaa'") }.
|
103
|
-
to raise_error(
|
103
|
+
to raise_error(FrozenError)
|
104
104
|
expect{ eval("dictionary.feature_at('#{record_key}', #{key.inspect}) << 'aaa'") }.
|
105
|
-
to raise_error(
|
105
|
+
to raise_error(FrozenError)
|
106
106
|
end
|
107
107
|
end
|
108
108
|
|
data/spec/spec_helper.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.27.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:
|
11
|
+
date: 2020-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -34,22 +34,22 @@ dependencies:
|
|
34
34
|
name: rspec
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 3.0.0
|
40
37
|
- - "~>"
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: '3.0'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 3.0.0
|
43
43
|
type: :development
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 3.0.0
|
50
47
|
- - "~>"
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: '3.0'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 3.0.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: simplecov
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,22 +74,22 @@ dependencies:
|
|
74
74
|
name: rake
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- - ">="
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: 10.3.0
|
80
77
|
- - "~>"
|
81
78
|
- !ruby/object:Gem::Version
|
82
79
|
version: '10.3'
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 10.3.0
|
83
83
|
type: :development
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 10.3.0
|
90
87
|
- - "~>"
|
91
88
|
- !ruby/object:Gem::Version
|
92
89
|
version: '10.3'
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 10.3.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.27.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:
|
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
- !ruby/object:Gem::Version
|
184
184
|
version: '0'
|
185
185
|
requirements: []
|
186
|
-
rubygems_version: 3.
|
186
|
+
rubygems_version: 3.1.2
|
187
187
|
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: A simple way to handle DICOM Data Dictionary
|