dcm_dict 0.11.0 → 0.12.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/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 +7 -3
- 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 +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 +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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79baebcadda8aaf7af895f03009bb8a145ccc76d
|
4
|
+
data.tar.gz: 1e5d2c09538a15d021d4d10aa02523f19644f70a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f3f1c624d58480eeffb9a6c85f5b31fc9394fb630cb9f1eb1a379fbfb233dd49376cde57786b1d6e280a3670c4b3ff5f20d3fdbfa28bb38f51f40de0235220f
|
7
|
+
data.tar.gz: 25cfa39aa2a8125d4267c68de6c0479fc82b0a723765989499367d0c64e8405e0c6995fd35254d74946fbb630dbcd497ad0165e2ddfa54f61f91144c5cbe8523
|
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-2017 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
@@ -270,7 +270,7 @@ Note: the script use the [Nokogiri][3] as XML parser if installed as gem, otherw
|
|
270
270
|
Check the file for other details.
|
271
271
|
|
272
272
|
## Note
|
273
|
-
Current library version is aligned to *DICOM Base Standard* **
|
273
|
+
Current library version is aligned to *DICOM Base Standard* **2017a**
|
274
274
|
|
275
275
|
## Install
|
276
276
|
|
@@ -293,7 +293,7 @@ There are many possible *candidates* for inclusion in the *dictionary*, here are
|
|
293
293
|
TBD
|
294
294
|
|
295
295
|
## License
|
296
|
-
Copyright (C) 2014-
|
296
|
+
Copyright (C) 2014-2017 Enrico Rivarola.
|
297
297
|
See the `LICENSE` and `COPYING` files for license details.
|
298
298
|
|
299
299
|
## 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-2017 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-2017 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-2017 Enrico Rivarola
|
4
4
|
#
|
5
5
|
# This file is part of DcmDict gem (dcm_dict).
|
6
6
|
#
|
@@ -364,6 +364,10 @@ HIGH = 0001H'},
|
|
364
364
|
{ tag_ps: '(0010,0217)', tag_name: "Strain Source", tag_key: 'StrainSource', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0010,0217)', tag_sym: :strain_source, tag_ndm: '00100217', tag_ary: [0x0010,0x0217], tag_multiple: false, tag_note: ''},
|
365
365
|
{ tag_ps: '(0010,0218)', tag_name: "Strain Additional Information", tag_key: 'StrainAdditionalInformation', tag_vr: [:UT], tag_vm: ["1"], tag_str: '(0010,0218)', tag_sym: :strain_additional_information, tag_ndm: '00100218', tag_ary: [0x0010,0x0218], tag_multiple: false, tag_note: ''},
|
366
366
|
{ tag_ps: '(0010,0219)', tag_name: "Strain Code Sequence", tag_key: 'StrainCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0010,0219)', tag_sym: :strain_code_sequence, tag_ndm: '00100219', tag_ary: [0x0010,0x0219], tag_multiple: false, tag_note: ''},
|
367
|
+
{ tag_ps: '(0010,0221)', tag_name: "Genetic Modifications Sequence", tag_key: 'GeneticModificationsSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0010,0221)', tag_sym: :genetic_modifications_sequence, tag_ndm: '00100221', tag_ary: [0x0010,0x0221], tag_multiple: false, tag_note: ''},
|
368
|
+
{ tag_ps: '(0010,0222)', tag_name: "Genetic Modifications Description", tag_key: 'GeneticModificationsDescription', tag_vr: [:UC], tag_vm: ["1"], tag_str: '(0010,0222)', tag_sym: :genetic_modifications_description, tag_ndm: '00100222', tag_ary: [0x0010,0x0222], tag_multiple: false, tag_note: ''},
|
369
|
+
{ tag_ps: '(0010,0223)', tag_name: "Genetic Modifications Nomenclature", tag_key: 'GeneticModificationsNomenclature', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0010,0223)', tag_sym: :genetic_modifications_nomenclature, tag_ndm: '00100223', tag_ary: [0x0010,0x0223], tag_multiple: false, tag_note: ''},
|
370
|
+
{ tag_ps: '(0010,0229)', tag_name: "Genetic Modifications Code Sequence", tag_key: 'GeneticModificationsCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0010,0229)', tag_sym: :genetic_modifications_code_sequence, tag_ndm: '00100229', tag_ary: [0x0010,0x0229], tag_multiple: false, tag_note: ''},
|
367
371
|
{ tag_ps: '(0010,1000)', tag_name: "Other Patient IDs", tag_key: 'OtherPatientIDs', tag_vr: [:LO], tag_vm: ["1-n"], tag_str: '(0010,1000)', tag_sym: :other_patient_ids, tag_ndm: '00101000', tag_ary: [0x0010,0x1000], tag_multiple: false, tag_note: ''},
|
368
372
|
{ tag_ps: '(0010,1001)', tag_name: "Other Patient Names", tag_key: 'OtherPatientNames', tag_vr: [:PN], tag_vm: ["1-n"], tag_str: '(0010,1001)', tag_sym: :other_patient_names, tag_ndm: '00101001', tag_ary: [0x0010,0x1001], tag_multiple: false, tag_note: ''},
|
369
373
|
{ tag_ps: '(0010,1002)', tag_name: "Other Patient IDs Sequence", tag_key: 'OtherPatientIDsSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0010,1002)', tag_sym: :other_patient_ids_sequence, tag_ndm: '00101002', tag_ary: [0x0010,0x1002], tag_multiple: false, tag_note: ''},
|
@@ -2825,7 +2829,7 @@ HIGH = 0001H'},
|
|
2825
2829
|
{ tag_ps: '(0068,62D0)', tag_name: "HPGL Document ID", tag_key: 'HPGLDocumentID', tag_vr: [:US], tag_vm: ["1"], tag_str: '(0068,62D0)', tag_sym: :hpgl_document_id, tag_ndm: '006862D0', tag_ary: [0x0068,0x62D0], tag_multiple: false, tag_note: ''},
|
2826
2830
|
{ tag_ps: '(0068,62D5)', tag_name: "HPGL Document Label", tag_key: 'HPGLDocumentLabel', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0068,62D5)', tag_sym: :hpgl_document_label, tag_ndm: '006862D5', tag_ary: [0x0068,0x62D5], tag_multiple: false, tag_note: ''},
|
2827
2831
|
{ tag_ps: '(0068,62E0)', tag_name: "View Orientation Code Sequence", tag_key: 'ViewOrientationCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0068,62E0)', tag_sym: :view_orientation_code_sequence, tag_ndm: '006862E0', tag_ary: [0x0068,0x62E0], tag_multiple: false, tag_note: ''},
|
2828
|
-
{ tag_ps: '(0068,62F0)', tag_name: "View Orientation Modifier", tag_key: '
|
2832
|
+
{ tag_ps: '(0068,62F0)', tag_name: "View Orientation Modifier Code Sequence", tag_key: 'ViewOrientationModifierCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0068,62F0)', tag_sym: :view_orientation_modifier_code_sequence, tag_ndm: '006862F0', tag_ary: [0x0068,0x62F0], tag_multiple: false, tag_note: ''},
|
2829
2833
|
{ tag_ps: '(0068,62F2)', tag_name: "HPGL Document Scaling", tag_key: 'HPGLDocumentScaling', tag_vr: [:FD], tag_vm: ["1"], tag_str: '(0068,62F2)', tag_sym: :hpgl_document_scaling, tag_ndm: '006862F2', tag_ary: [0x0068,0x62F2], tag_multiple: false, tag_note: ''},
|
2830
2834
|
{ tag_ps: '(0068,6300)', tag_name: "HPGL Document", tag_key: 'HPGLDocument', tag_vr: [:OB], tag_vm: ["1"], tag_str: '(0068,6300)', tag_sym: :hpgl_document, tag_ndm: '00686300', tag_ary: [0x0068,0x6300], tag_multiple: false, tag_note: ''},
|
2831
2835
|
{ tag_ps: '(0068,6310)', tag_name: "HPGL Contour Pen Number", tag_key: 'HPGLContourPenNumber', tag_vr: [:US], tag_vm: ["1"], tag_str: '(0068,6310)', tag_sym: :hpgl_contour_pen_number, tag_ndm: '00686310', tag_ary: [0x0068,0x6310], tag_multiple: false, tag_note: ''},
|
@@ -3236,7 +3240,7 @@ HIGH = 0001H'},
|
|
3236
3240
|
{ tag_ps: '(0076,0020)', tag_name: "Procedure Type Code Sequence", tag_key: 'ProcedureTypeCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0076,0020)', tag_sym: :procedure_type_code_sequence, tag_ndm: '00760020', tag_ary: [0x0076,0x0020], tag_multiple: false, tag_note: ''},
|
3237
3241
|
{ tag_ps: '(0076,0030)', tag_name: "Surgical Technique", tag_key: 'SurgicalTechnique', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0076,0030)', tag_sym: :surgical_technique, tag_ndm: '00760030', tag_ary: [0x0076,0x0030], tag_multiple: false, tag_note: ''},
|
3238
3242
|
{ tag_ps: '(0076,0032)', tag_name: "Component Types Sequence", tag_key: 'ComponentTypesSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0076,0032)', tag_sym: :component_types_sequence, tag_ndm: '00760032', tag_ary: [0x0076,0x0032], tag_multiple: false, tag_note: ''},
|
3239
|
-
{ tag_ps: '(0076,0034)', tag_name: "Component Type Code Sequence", tag_key: 'ComponentTypeCodeSequence', tag_vr: [:
|
3243
|
+
{ tag_ps: '(0076,0034)', tag_name: "Component Type Code Sequence", tag_key: 'ComponentTypeCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0076,0034)', tag_sym: :component_type_code_sequence, tag_ndm: '00760034', tag_ary: [0x0076,0x0034], tag_multiple: false, tag_note: ''},
|
3240
3244
|
{ tag_ps: '(0076,0036)', tag_name: "Exclusive Component Type", tag_key: 'ExclusiveComponentType', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0076,0036)', tag_sym: :exclusive_component_type, tag_ndm: '00760036', tag_ary: [0x0076,0x0036], tag_multiple: false, tag_note: ''},
|
3241
3245
|
{ tag_ps: '(0076,0038)', tag_name: "Mandatory Component Type", tag_key: 'MandatoryComponentType', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0076,0038)', tag_sym: :mandatory_component_type, tag_ndm: '00760038', tag_ary: [0x0076,0x0038], tag_multiple: false, tag_note: ''},
|
3242
3246
|
{ tag_ps: '(0076,0040)', tag_name: "Component Sequence", tag_key: 'ComponentSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0076,0040)', tag_sym: :component_sequence, tag_ndm: '00760040', tag_ary: [0x0076,0x0040], 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-2017 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.12.0"
|
26
|
+
DICOM_DOC_VERSION = "2017a"
|
27
27
|
end
|
data/lib/dcm_dict.rb
CHANGED
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.12.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: 2017-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
179
|
version: '0'
|
180
180
|
requirements: []
|
181
181
|
rubyforge_project:
|
182
|
-
rubygems_version: 2.
|
182
|
+
rubygems_version: 2.6.8
|
183
183
|
signing_key:
|
184
184
|
specification_version: 4
|
185
185
|
summary: A simple way to handle DICOM Data Dictionary
|