dcm_dict 0.21.1 → 0.22.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/LICENSE +1 -1
- data/README.md +2 -2
- 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 +540 -412
- data/lib/dcm_dict/source_data/detached_data.rb +1 -1
- data/lib/dcm_dict/source_data/uid_values_data.rb +6 -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 +7 -7
- 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 +3 -3
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
#
|
3
|
-
# Copyright (C) 2014-
|
3
|
+
# Copyright (C) 2014-2019 Enrico Rivarola
|
4
4
|
#
|
5
5
|
# This file is part of DcmDict gem (dcm_dict).
|
6
6
|
#
|
@@ -114,6 +114,11 @@ module DcmDict
|
|
114
114
|
{ uid_value: '1.2.840.10008.2.16.7', uid_name: "Integrated Taxonomic Information System (ITIS) Taxonomic Serial Number (TSN)", uid_type: :coding_scheme},
|
115
115
|
{ uid_value: '1.2.840.10008.2.16.8', uid_name: "Mouse Genome Initiative (MGI)", uid_type: :coding_scheme},
|
116
116
|
{ uid_value: '1.2.840.10008.2.16.9', uid_name: "PubChem Compound CID", uid_type: :coding_scheme},
|
117
|
+
{ uid_value: '1.2.840.10008.2.16.10', uid_name: "ICD-11", uid_type: :coding_scheme},
|
118
|
+
{ uid_value: '1.2.840.10008.2.16.11', uid_name: "New York University Melanoma Clinical Cooperative Group", uid_type: :coding_scheme},
|
119
|
+
{ 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},
|
120
|
+
{ uid_value: '1.2.840.10008.2.16.13', uid_name: "Image Biomarker Standardisation Initiative", uid_type: :coding_scheme},
|
121
|
+
{ uid_value: '1.2.840.10008.2.16.14', uid_name: "Radiomics Ontology", uid_type: :coding_scheme},
|
117
122
|
{ uid_value: '1.2.840.10008.3.1.1.1', uid_name: "DICOM Application Context Name", uid_type: :application_context_name},
|
118
123
|
{ uid_value: '1.2.840.10008.3.1.2.1.1', uid_name: "Detached Patient Management SOP Class (Retired)", uid_type: :sop_class},
|
119
124
|
{ 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},
|
data/lib/dcm_dict/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (C) 2014-
|
2
|
+
# Copyright (C) 2014-2019 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.22.0"
|
26
|
+
DICOM_DOC_VERSION = "2019a"
|
27
27
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
#
|
3
|
-
# Copyright (C) 2014-
|
3
|
+
# Copyright (C) 2014-2019 Enrico Rivarola
|
4
4
|
#
|
5
5
|
# This file is part of DcmDict gem (dcm_dict).
|
6
6
|
#
|
@@ -80,7 +80,7 @@ module DataElementSampleSpecHelper
|
|
80
80
|
[0x3006, 0x00B9] => { tag_ps: '(3006,00B9)', tag_name: "Additional RT ROI Identification Code Sequence", tag_key: 'AdditionalRTROIIdentificationCodeSequence',
|
81
81
|
tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3006,00B9)', tag_sym: :additional_rt_roi_identification_code_sequence,
|
82
82
|
tag_ndm: '300600B9', tag_ary: [0x3006, 0x00B9], tag_multiple: false,
|
83
|
-
tag_note: 'RET'},
|
83
|
+
tag_note: 'RET (2016c)'},
|
84
84
|
[0x4010, 0x1019] => { tag_ps: '(4010,1019)', tag_name: "Z Effective", tag_key: 'ZEffective',
|
85
85
|
tag_vr: [:FL], tag_vm: ["1"], tag_str: '(4010,1019)', tag_sym: :z_effective,
|
86
86
|
tag_ndm: '40101019', tag_ary: [0x4010, 0x1019], tag_multiple: false,
|
@@ -96,11 +96,11 @@ module DataElementSampleSpecHelper
|
|
96
96
|
[0x2020, 0x0140] => { tag_ps: '(2020,0140)', tag_name: "Referenced VOI LUT Box Sequence", tag_key: 'ReferencedVOILUTBoxSequence',
|
97
97
|
tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(2020,0140)', tag_sym: :referenced_voi_lut_box_sequence,
|
98
98
|
tag_ndm: '20200140', tag_ary: [0x2020, 0x0140], tag_multiple: false,
|
99
|
-
tag_note: 'RET'},
|
99
|
+
tag_note: 'RET (1998)'},
|
100
100
|
[0x0010, 0x1000] => { tag_ps: '(0010,1000)', tag_name: "Other Patient IDs", tag_key: 'OtherPatientIDs',
|
101
101
|
tag_vr: [:LO], tag_vm: ["1-n"], tag_str: '(0010,1000)', tag_sym: :other_patient_ids,
|
102
102
|
tag_ndm: '00101000', tag_ary: [0x0010,0x1000], tag_multiple: false,
|
103
|
-
tag_note: 'RET'},
|
103
|
+
tag_note: 'RET (2017a)'},
|
104
104
|
[0x0018, 0x9504] => { tag_ps: '(0018,9504)', tag_name: "X-Ray 3D Frame Type Sequence", tag_key: 'XRay3DFrameTypeSequence',
|
105
105
|
tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0018,9504)', tag_sym: :x_ray_3d_frame_type_sequence,
|
106
106
|
tag_ndm: '00189504', tag_ary: [0x0018,0x9504], tag_multiple: false,
|
@@ -185,9 +185,9 @@ module DataElementSampleSpecHelper
|
|
185
185
|
'(6022,0010)' => { tag_ps: '(60XX,0010)', tag_name: "Overlay Rows", tag_key: 'OverlayRows', tag_vr: [:US], tag_vm: ["1"], tag_str: '(6022,0010)', tag_sym: :overlay_rows, tag_ndm: '60220010', tag_ary: [24610, 16], tag_multiple: true, tag_note: ''},
|
186
186
|
'OverlayRows' => { tag_ps: '(60XX,0010)', tag_name: "Overlay Rows", tag_key: 'OverlayRows', tag_vr: [:US], tag_vm: ["1"], tag_str: '(6022,0010)', tag_sym: :overlay_rows, tag_ndm: '60220010', tag_ary: [24610, 16], tag_multiple: true, tag_note: ''},
|
187
187
|
[0x6022,0x0010] => { tag_ps: '(60XX,0010)', tag_name: "Overlay Rows", tag_key: 'OverlayRows', tag_vr: [:US], tag_vm: ["1"], tag_str: '(6022,0010)', tag_sym: :overlay_rows, tag_ndm: '60220010', tag_ary: [24610, 16], tag_multiple: true, tag_note: ''},
|
188
|
-
[0x1010,0xa1b2] => { tag_ps: '(1010,XXXX)', tag_name: "Zonal Map", tag_key: 'ZonalMap', tag_vr: [:US], tag_vm: ["1-n"], tag_str: '(1010,A1B2)', tag_sym: :zonal_map, tag_ndm: '1010A1B2', tag_ary: [0x1010, 0xa1b2], tag_multiple: true, tag_note: 'RET'},
|
189
|
-
'(1010,A1B2)' => { tag_ps: '(1010,XXXX)', tag_name: "Zonal Map", tag_key: 'ZonalMap', tag_vr: [:US], tag_vm: ["1-n"], tag_str: '(1010,A1B2)', tag_sym: :zonal_map, tag_ndm: '1010A1B2', tag_ary: [0x1010, 0xa1b2], tag_multiple: true, tag_note: 'RET'},
|
190
|
-
'1010A1B2' => { tag_ps: '(1010,XXXX)', tag_name: "Zonal Map", tag_key: 'ZonalMap', tag_vr: [:US], tag_vm: ["1-n"], tag_str: '(1010,A1B2)', tag_sym: :zonal_map, tag_ndm: '1010A1B2', tag_ary: [0x1010, 0xa1b2], tag_multiple: true, tag_note: 'RET'},
|
188
|
+
[0x1010,0xa1b2] => { tag_ps: '(1010,XXXX)', tag_name: "Zonal Map", tag_key: 'ZonalMap', tag_vr: [:US], tag_vm: ["1-n"], tag_str: '(1010,A1B2)', tag_sym: :zonal_map, tag_ndm: '1010A1B2', tag_ary: [0x1010, 0xa1b2], tag_multiple: true, tag_note: 'RET (2007)'},
|
189
|
+
'(1010,A1B2)' => { tag_ps: '(1010,XXXX)', tag_name: "Zonal Map", tag_key: 'ZonalMap', tag_vr: [:US], tag_vm: ["1-n"], tag_str: '(1010,A1B2)', tag_sym: :zonal_map, tag_ndm: '1010A1B2', tag_ary: [0x1010, 0xa1b2], tag_multiple: true, tag_note: 'RET (2007)'},
|
190
|
+
'1010A1B2' => { tag_ps: '(1010,XXXX)', tag_name: "Zonal Map", tag_key: 'ZonalMap', tag_vr: [:US], tag_vm: ["1-n"], tag_str: '(1010,A1B2)', tag_sym: :zonal_map, tag_ndm: '1010A1B2', tag_ary: [0x1010, 0xa1b2], tag_multiple: true, tag_note: 'RET (2007)'},
|
191
191
|
'10100000' => { tag_ps: '(1010,0000)', tag_name: 'Group Length', tag_key: 'GroupLength', tag_vr: [:UL], tag_vm: ["1"], tag_str: '(1010,0000)', tag_sym: :group_length, tag_ndm: '10100000', tag_ary: [0x1010, 0x0000], tag_multiple: false, tag_note: 'Dummy Record'},
|
192
192
|
}
|
193
193
|
end
|
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.22.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: 2019-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -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.22.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:
|