dcm_dict 0.31.0 → 0.32.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 +3 -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 +25 -4
- data/lib/dcm_dict/source_data/detached_data.rb +1 -1
- data/lib/dcm_dict/source_data/uid_values_data.rb +4 -2
- 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 +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 +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da806de4712543a1c065339de2ae39f8e8a8a3b25b52450083725a36b020ff74
|
4
|
+
data.tar.gz: 48ad0c8dfa7cc09e7d7766a050a23034ef0d54e3f0f6924c59529c9e4b2ab4c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cbffc01a7cbacb2eb158ea46ed033903312ad693a2239fbaa72fc19016b3fb5ea0278beb5c1ba3158239fa73c997367054a400fde4335d812a3a4e4332d11ee
|
7
|
+
data.tar.gz: bf951880ff8f85df390301a5f9984b99d2d3487248153b8b5ea8e6735268162179c39de69614b521f42b4ac07ec71fa2b1421346b94c082521cc02eccae77ece
|
data/CHANGELOG.md
CHANGED
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-2021 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
@@ -287,7 +287,7 @@ Note: the script use the [Nokogiri][3] as XML parser if installed as gem, otherw
|
|
287
287
|
Check the file for other details.
|
288
288
|
|
289
289
|
## Note
|
290
|
-
Current library version is aligned to *DICOM Base Standard* **
|
290
|
+
Current library version is aligned to *DICOM Base Standard* **2021a**
|
291
291
|
|
292
292
|
## Install
|
293
293
|
|
@@ -310,7 +310,7 @@ There are many possible *candidates* for inclusion in the *dictionary*, here are
|
|
310
310
|
TBD
|
311
311
|
|
312
312
|
## License
|
313
|
-
Copyright (C) 2014-
|
313
|
+
Copyright (C) 2014-2021 Enrico Rivarola.
|
314
314
|
See the `LICENSE` and `COPYING` files for license details.
|
315
315
|
|
316
316
|
## 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-2021 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-2021 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-2021 Enrico Rivarola
|
4
4
|
#
|
5
5
|
# This file is part of DcmDict gem (dcm_dict).
|
6
6
|
#
|
@@ -929,6 +929,24 @@ HIGH = 0001H'},
|
|
929
929
|
{ tag_ps: '(0018,11A3)', tag_name: "Compression Pressure", tag_key: 'CompressionPressure', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(0018,11A3)', tag_sym: :compression_pressure, tag_ndm: '001811A3', tag_ary: [0x0018,0x11A3], tag_multiple: false, tag_note: ''},
|
930
930
|
{ tag_ps: '(0018,11A4)', tag_name: "Paddle Description", tag_key: 'PaddleDescription', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0018,11A4)', tag_sym: :paddle_description, tag_ndm: '001811A4', tag_ary: [0x0018,0x11A4], tag_multiple: false, tag_note: ''},
|
931
931
|
{ tag_ps: '(0018,11A5)', tag_name: "Compression Contact Area", tag_key: 'CompressionContactArea', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(0018,11A5)', tag_sym: :compression_contact_area, tag_ndm: '001811A5', tag_ary: [0x0018,0x11A5], tag_multiple: false, tag_note: ''},
|
932
|
+
{ tag_ps: '(0018,11B0)', tag_name: "Acquisition Mode", tag_key: 'AcquisitionMode', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0018,11B0)', tag_sym: :acquisition_mode, tag_ndm: '001811B0', tag_ary: [0x0018,0x11B0], tag_multiple: false, tag_note: ''},
|
933
|
+
{ tag_ps: '(0018,11B1)', tag_name: "Dose Mode Name", tag_key: 'DoseModeName', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0018,11B1)', tag_sym: :dose_mode_name, tag_ndm: '001811B1', tag_ary: [0x0018,0x11B1], tag_multiple: false, tag_note: ''},
|
934
|
+
{ tag_ps: '(0018,11B2)', tag_name: "Acquired Subtraction Mask Flag", tag_key: 'AcquiredSubtractionMaskFlag', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0018,11B2)', tag_sym: :acquired_subtraction_mask_flag, tag_ndm: '001811B2', tag_ary: [0x0018,0x11B2], tag_multiple: false, tag_note: ''},
|
935
|
+
{ tag_ps: '(0018,11B3)', tag_name: "Fluoroscopy Persistence Flag", tag_key: 'FluoroscopyPersistenceFlag', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0018,11B3)', tag_sym: :fluoroscopy_persistence_flag, tag_ndm: '001811B3', tag_ary: [0x0018,0x11B3], tag_multiple: false, tag_note: ''},
|
936
|
+
{ tag_ps: '(0018,11B4)', tag_name: "Fluoroscopy Last Image Hold Persistence Flag", tag_key: 'FluoroscopyLastImageHoldPersistenceFlag', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0018,11B4)', tag_sym: :fluoroscopy_last_image_hold_persistence_flag, tag_ndm: '001811B4', tag_ary: [0x0018,0x11B4], tag_multiple: false, tag_note: ''},
|
937
|
+
{ tag_ps: '(0018,11B5)', tag_name: "Upper Limit Number Of Persistent Fluoroscopy Frames", tag_key: 'UpperLimitNumberOfPersistentFluoroscopyFrames', tag_vr: [:IS], tag_vm: ["1"], tag_str: '(0018,11B5)', tag_sym: :upper_limit_number_of_persistent_fluoroscopy_frames, tag_ndm: '001811B5', tag_ary: [0x0018,0x11B5], tag_multiple: false, tag_note: ''},
|
938
|
+
{ tag_ps: '(0018,11B6)', tag_name: "Contrast/Bolus Auto Injection Trigger Flag", tag_key: 'ContrastBolusAutoInjectionTriggerFlag', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0018,11B6)', tag_sym: :contrast_bolus_auto_injection_trigger_flag, tag_ndm: '001811B6', tag_ary: [0x0018,0x11B6], tag_multiple: false, tag_note: ''},
|
939
|
+
{ tag_ps: '(0018,11B7)', tag_name: "Contrast/Bolus Injection Delay", tag_key: 'ContrastBolusInjectionDelay', tag_vr: [:FD], tag_vm: ["1"], tag_str: '(0018,11B7)', tag_sym: :contrast_bolus_injection_delay, tag_ndm: '001811B7', tag_ary: [0x0018,0x11B7], tag_multiple: false, tag_note: ''},
|
940
|
+
{ tag_ps: '(0018,11B8)', tag_name: "XA Acquisition Phase Details Sequence", tag_key: 'XAAcquisitionPhaseDetailsSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0018,11B8)', tag_sym: :xa_acquisition_phase_details_sequence, tag_ndm: '001811B8', tag_ary: [0x0018,0x11B8], tag_multiple: false, tag_note: ''},
|
941
|
+
{ tag_ps: '(0018,11B9)', tag_name: "XA Acquisition Frame Rate", tag_key: 'XAAcquisitionFrameRate', tag_vr: [:FD], tag_vm: ["1"], tag_str: '(0018,11B9)', tag_sym: :xa_acquisition_frame_rate, tag_ndm: '001811B9', tag_ary: [0x0018,0x11B9], tag_multiple: false, tag_note: ''},
|
942
|
+
{ tag_ps: '(0018,11BA)', tag_name: "XA Plane Details Sequence", tag_key: 'XAPlaneDetailsSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0018,11BA)', tag_sym: :xa_plane_details_sequence, tag_ndm: '001811BA', tag_ary: [0x0018,0x11BA], tag_multiple: false, tag_note: ''},
|
943
|
+
{ tag_ps: '(0018,11BB)', tag_name: "Acquisition Field of View Label", tag_key: 'AcquisitionFieldOfViewLabel', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0018,11BB)', tag_sym: :acquisition_field_of_view_label, tag_ndm: '001811BB', tag_ary: [0x0018,0x11BB], tag_multiple: false, tag_note: ''},
|
944
|
+
{ tag_ps: '(0018,11BC)', tag_name: "X-Ray Filter Details Sequence", tag_key: 'XRayFilterDetailsSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0018,11BC)', tag_sym: :x_ray_filter_details_sequence, tag_ndm: '001811BC', tag_ary: [0x0018,0x11BC], tag_multiple: false, tag_note: ''},
|
945
|
+
{ tag_ps: '(0018,11BD)', tag_name: "XA Acquisition Duration", tag_key: 'XAAcquisitionDuration', tag_vr: [:FD], tag_vm: ["1"], tag_str: '(0018,11BD)', tag_sym: :xa_acquisition_duration, tag_ndm: '001811BD', tag_ary: [0x0018,0x11BD], tag_multiple: false, tag_note: ''},
|
946
|
+
{ tag_ps: '(0018,11BE)', tag_name: "Reconstruction Pipeline Type", tag_key: 'ReconstructionPipelineType', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0018,11BE)', tag_sym: :reconstruction_pipeline_type, tag_ndm: '001811BE', tag_ary: [0x0018,0x11BE], tag_multiple: false, tag_note: ''},
|
947
|
+
{ tag_ps: '(0018,11BF)', tag_name: "Image Filter Details Sequence", tag_key: 'ImageFilterDetailsSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0018,11BF)', tag_sym: :image_filter_details_sequence, tag_ndm: '001811BF', tag_ary: [0x0018,0x11BF], tag_multiple: false, tag_note: ''},
|
948
|
+
{ tag_ps: '(0018,11C0)', tag_name: "Applied Mask Subtraction Flag", tag_key: 'AppliedMaskSubtractionFlag', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0018,11C0)', tag_sym: :applied_mask_subtraction_flag, tag_ndm: '001811C0', tag_ary: [0x0018,0x11C0], tag_multiple: false, tag_note: ''},
|
949
|
+
{ tag_ps: '(0018,11C1)', tag_name: "Requested Series Description Code Sequence", tag_key: 'RequestedSeriesDescriptionCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0018,11C1)', tag_sym: :requested_series_description_code_sequence, tag_ndm: '001811C1', tag_ary: [0x0018,0x11C1], tag_multiple: false, tag_note: ''},
|
932
950
|
{ tag_ps: '(0018,1200)', tag_name: "Date of Last Calibration", tag_key: 'DateOfLastCalibration', tag_vr: [:DA], tag_vm: ["1-n"], tag_str: '(0018,1200)', tag_sym: :date_of_last_calibration, tag_ndm: '00181200', tag_ary: [0x0018,0x1200], tag_multiple: false, tag_note: ''},
|
933
951
|
{ tag_ps: '(0018,1201)', tag_name: "Time of Last Calibration", tag_key: 'TimeOfLastCalibration', tag_vr: [:TM], tag_vm: ["1-n"], tag_str: '(0018,1201)', tag_sym: :time_of_last_calibration, tag_ndm: '00181201', tag_ary: [0x0018,0x1201], tag_multiple: false, tag_note: ''},
|
934
952
|
{ tag_ps: '(0018,1202)', tag_name: "DateTime of Last Calibration", tag_key: 'DateTimeOfLastCalibration', tag_vr: [:DT], tag_vm: ["1"], tag_str: '(0018,1202)', tag_sym: :date_time_of_last_calibration, tag_ndm: '00181202', tag_ary: [0x0018,0x1202], tag_multiple: false, tag_note: ''},
|
@@ -1098,6 +1116,7 @@ HIGH = 0001H'},
|
|
1098
1116
|
{ tag_ps: '(0018,6058)', tag_name: "Table of Pixel Values", tag_key: 'TableOfPixelValues', tag_vr: [:UL], tag_vm: ["1-n"], tag_str: '(0018,6058)', tag_sym: :table_of_pixel_values, tag_ndm: '00186058', tag_ary: [0x0018,0x6058], tag_multiple: false, tag_note: ''},
|
1099
1117
|
{ tag_ps: '(0018,605A)', tag_name: "Table of Parameter Values", tag_key: 'TableOfParameterValues', tag_vr: [:FL], tag_vm: ["1-n"], tag_str: '(0018,605A)', tag_sym: :table_of_parameter_values, tag_ndm: '0018605A', tag_ary: [0x0018,0x605A], tag_multiple: false, tag_note: ''},
|
1100
1118
|
{ tag_ps: '(0018,6060)', tag_name: "R Wave Time Vector", tag_key: 'RWaveTimeVector', tag_vr: [:FL], tag_vm: ["1-n"], tag_str: '(0018,6060)', tag_sym: :r_wave_time_vector, tag_ndm: '00186060', tag_ary: [0x0018,0x6060], tag_multiple: false, tag_note: ''},
|
1119
|
+
{ tag_ps: '(0018,6070)', tag_name: "Active Image Area Overlay Group", tag_key: 'ActiveImageAreaOverlayGroup', tag_vr: [:US], tag_vm: ["1"], tag_str: '(0018,6070)', tag_sym: :active_image_area_overlay_group, tag_ndm: '00186070', tag_ary: [0x0018,0x6070], tag_multiple: false, tag_note: ''},
|
1101
1120
|
{ tag_ps: '(0018,7000)', tag_name: "Detector Conditions Nominal Flag", tag_key: 'DetectorConditionsNominalFlag', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0018,7000)', tag_sym: :detector_conditions_nominal_flag, tag_ndm: '00187000', tag_ary: [0x0018,0x7000], tag_multiple: false, tag_note: ''},
|
1102
1121
|
{ tag_ps: '(0018,7001)', tag_name: "Detector Temperature", tag_key: 'DetectorTemperature', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(0018,7001)', tag_sym: :detector_temperature, tag_ndm: '00187001', tag_ary: [0x0018,0x7001], tag_multiple: false, tag_note: ''},
|
1103
1122
|
{ tag_ps: '(0018,7004)', tag_name: "Detector Type", tag_key: 'DetectorType', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0018,7004)', tag_sym: :detector_type, tag_ndm: '00187004', tag_ary: [0x0018,0x7004], tag_multiple: false, tag_note: ''},
|
@@ -2572,6 +2591,7 @@ HIGH = 0001H'},
|
|
2572
2591
|
{ tag_ps: '(0040,A028)', tag_name: "Documenting Organization Identifier Code Sequence (Trial)", tag_key: 'DocumentingOrganizationIdentifierCodeSequenceTrial', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0040,A028)', tag_sym: :documenting_organization_identifier_code_sequence_trial, tag_ndm: '0040A028', tag_ary: [0x0040,0xA028], tag_multiple: false, tag_note: 'RET (2009)'},
|
2573
2592
|
{ tag_ps: '(0040,A030)', tag_name: "Verification DateTime", tag_key: 'VerificationDateTime', tag_vr: [:DT], tag_vm: ["1"], tag_str: '(0040,A030)', tag_sym: :verification_date_time, tag_ndm: '0040A030', tag_ary: [0x0040,0xA030], tag_multiple: false, tag_note: ''},
|
2574
2593
|
{ tag_ps: '(0040,A032)', tag_name: "Observation DateTime", tag_key: 'ObservationDateTime', tag_vr: [:DT], tag_vm: ["1"], tag_str: '(0040,A032)', tag_sym: :observation_date_time, tag_ndm: '0040A032', tag_ary: [0x0040,0xA032], tag_multiple: false, tag_note: ''},
|
2594
|
+
{ tag_ps: '(0040,A033)', tag_name: "Observation Start DateTime", tag_key: 'ObservationStartDateTime', tag_vr: [:DT], tag_vm: ["1"], tag_str: '(0040,A033)', tag_sym: :observation_start_date_time, tag_ndm: '0040A033', tag_ary: [0x0040,0xA033], tag_multiple: false, tag_note: ''},
|
2575
2595
|
{ tag_ps: '(0040,A040)', tag_name: "Value Type", tag_key: 'ValueType', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0040,A040)', tag_sym: :value_type, tag_ndm: '0040A040', tag_ary: [0x0040,0xA040], tag_multiple: false, tag_note: ''},
|
2576
2596
|
{ tag_ps: '(0040,A043)', tag_name: "Concept Name Code Sequence", tag_key: 'ConceptNameCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0040,A043)', tag_sym: :concept_name_code_sequence, tag_ndm: '0040A043', tag_ary: [0x0040,0xA043], tag_multiple: false, tag_note: ''},
|
2577
2597
|
{ tag_ps: '(0040,A047)', tag_name: "Measurement Precision Description (Trial)", tag_key: 'MeasurementPrecisionDescriptionTrial', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0040,A047)', tag_sym: :measurement_precision_description_trial, tag_ndm: '0040A047', tag_ary: [0x0040,0xA047], tag_multiple: false, tag_note: 'RET (2009)'},
|
@@ -3853,11 +3873,12 @@ HIGH = 0001H'},
|
|
3853
3873
|
{ tag_ps: '(3006,0039)', tag_name: "ROI Contour Sequence", tag_key: 'ROIContourSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3006,0039)', tag_sym: :roi_contour_sequence, tag_ndm: '30060039', tag_ary: [0x3006,0x0039], tag_multiple: false, tag_note: ''},
|
3854
3874
|
{ tag_ps: '(3006,0040)', tag_name: "Contour Sequence", tag_key: 'ContourSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3006,0040)', tag_sym: :contour_sequence, tag_ndm: '30060040', tag_ary: [0x3006,0x0040], tag_multiple: false, tag_note: ''},
|
3855
3875
|
{ tag_ps: '(3006,0042)', tag_name: "Contour Geometric Type", tag_key: 'ContourGeometricType', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(3006,0042)', tag_sym: :contour_geometric_type, tag_ndm: '30060042', tag_ary: [0x3006,0x0042], tag_multiple: false, tag_note: ''},
|
3856
|
-
{ tag_ps: '(3006,0044)', tag_name: "Contour Slab Thickness", tag_key: 'ContourSlabThickness', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(3006,0044)', tag_sym: :contour_slab_thickness, tag_ndm: '30060044', tag_ary: [0x3006,0x0044], tag_multiple: false, tag_note: ''},
|
3857
|
-
{ tag_ps: '(3006,0045)', tag_name: "Contour Offset Vector", tag_key: 'ContourOffsetVector', tag_vr: [:DS], tag_vm: ["3"], tag_str: '(3006,0045)', tag_sym: :contour_offset_vector, tag_ndm: '30060045', tag_ary: [0x3006,0x0045], tag_multiple: false, tag_note: ''},
|
3876
|
+
{ tag_ps: '(3006,0044)', tag_name: "Contour Slab Thickness", tag_key: 'ContourSlabThickness', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(3006,0044)', tag_sym: :contour_slab_thickness, tag_ndm: '30060044', tag_ary: [0x3006,0x0044], tag_multiple: false, tag_note: 'RET (2020e)'},
|
3877
|
+
{ tag_ps: '(3006,0045)', tag_name: "Contour Offset Vector", tag_key: 'ContourOffsetVector', tag_vr: [:DS], tag_vm: ["3"], tag_str: '(3006,0045)', tag_sym: :contour_offset_vector, tag_ndm: '30060045', tag_ary: [0x3006,0x0045], tag_multiple: false, tag_note: 'RET (2020e)'},
|
3858
3878
|
{ tag_ps: '(3006,0046)', tag_name: "Number of Contour Points", tag_key: 'NumberOfContourPoints', tag_vr: [:IS], tag_vm: ["1"], tag_str: '(3006,0046)', tag_sym: :number_of_contour_points, tag_ndm: '30060046', tag_ary: [0x3006,0x0046], tag_multiple: false, tag_note: ''},
|
3859
3879
|
{ tag_ps: '(3006,0048)', tag_name: "Contour Number", tag_key: 'ContourNumber', tag_vr: [:IS], tag_vm: ["1"], tag_str: '(3006,0048)', tag_sym: :contour_number, tag_ndm: '30060048', tag_ary: [0x3006,0x0048], tag_multiple: false, tag_note: ''},
|
3860
|
-
{ tag_ps: '(3006,0049)', tag_name: "Attached Contours", tag_key: 'AttachedContours', tag_vr: [:IS], tag_vm: ["1-n"], tag_str: '(3006,0049)', tag_sym: :attached_contours, tag_ndm: '30060049', tag_ary: [0x3006,0x0049], tag_multiple: false, tag_note: ''},
|
3880
|
+
{ tag_ps: '(3006,0049)', tag_name: "Attached Contours", tag_key: 'AttachedContours', tag_vr: [:IS], tag_vm: ["1-n"], tag_str: '(3006,0049)', tag_sym: :attached_contours, tag_ndm: '30060049', tag_ary: [0x3006,0x0049], tag_multiple: false, tag_note: 'RET (2020e)'},
|
3881
|
+
{ tag_ps: '(3006,004A)', tag_name: "Source Pixel Planes Characteristics Sequence", tag_key: 'SourcePixelPlanesCharacteristicsSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3006,004A)', tag_sym: :source_pixel_planes_characteristics_sequence, tag_ndm: '3006004A', tag_ary: [0x3006,0x004A], tag_multiple: false, tag_note: ''},
|
3861
3882
|
{ tag_ps: '(3006,0050)', tag_name: "Contour Data", tag_key: 'ContourData', tag_vr: [:DS], tag_vm: ["3-3n"], tag_str: '(3006,0050)', tag_sym: :contour_data, tag_ndm: '30060050', tag_ary: [0x3006,0x0050], tag_multiple: false, tag_note: ''},
|
3862
3883
|
{ tag_ps: '(3006,0080)', tag_name: "RT ROI Observations Sequence", tag_key: 'RTROIObservationsSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3006,0080)', tag_sym: :rt_roi_observations_sequence, tag_ndm: '30060080', tag_ary: [0x3006,0x0080], tag_multiple: false, tag_note: ''},
|
3863
3884
|
{ tag_ps: '(3006,0082)', tag_name: "Observation Number", tag_key: 'ObservationNumber', tag_vr: [:IS], tag_vm: ["1"], tag_str: '(3006,0082)', tag_sym: :observation_number, tag_ndm: '30060082', tag_ary: [0x3006,0x0082], tag_multiple: false, tag_note: ''},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
#
|
3
|
-
# Copyright (C) 2014-
|
3
|
+
# Copyright (C) 2014-2021 Enrico Rivarola
|
4
4
|
#
|
5
5
|
# This file is part of DcmDict gem (dcm_dict).
|
6
6
|
#
|
@@ -327,6 +327,8 @@ module DcmDict
|
|
327
327
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.200.4', uid_name: 'Protocol Approval Information Model - FIND', uid_key: 'ProtocolApprovalInformationModelFind', uid_sym: :protocol_approval_information_model_find, uid_type: :sop_class},
|
328
328
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.200.5', uid_name: 'Protocol Approval Information Model - MOVE', uid_key: 'ProtocolApprovalInformationModelMove', uid_sym: :protocol_approval_information_model_move, uid_type: :sop_class},
|
329
329
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.200.6', uid_name: 'Protocol Approval Information Model - GET', uid_key: 'ProtocolApprovalInformationModelGet', uid_sym: :protocol_approval_information_model_get, uid_type: :sop_class},
|
330
|
+
{ uid_value: '1.2.840.10008.5.1.4.1.1.200.7', uid_name: 'XA Defined Procedure Protocol Storage', uid_key: 'XADefinedProcedureProtocolStorage', uid_sym: :xa_defined_procedure_protocol_storage, uid_type: :sop_class},
|
331
|
+
{ uid_value: '1.2.840.10008.5.1.4.1.1.200.8', uid_name: 'XA Performed Procedure Protocol Storage', uid_key: 'XAPerformedProcedureProtocolStorage', uid_sym: :xa_performed_procedure_protocol_storage, uid_type: :sop_class},
|
330
332
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.481.1', uid_name: 'RT Image Storage', uid_key: 'RTImageStorage', uid_sym: :rt_image_storage, uid_type: :sop_class},
|
331
333
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.481.2', uid_name: 'RT Dose Storage', uid_key: 'RTDoseStorage', uid_sym: :rt_dose_storage, uid_type: :sop_class},
|
332
334
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.481.3', uid_name: 'RT Structure Set Storage', uid_key: 'RTStructureSetStorage', uid_sym: :rt_structure_set_storage, uid_type: :sop_class},
|
@@ -373,7 +375,7 @@ module DcmDict
|
|
373
375
|
{ uid_value: '1.2.840.10008.5.1.4.20.3', uid_name: 'Defined Procedure Protocol Information Model - GET', uid_key: 'DefinedProcedureProtocolInformationModelGet', uid_sym: :defined_procedure_protocol_information_model_get, uid_type: :sop_class},
|
374
376
|
{ uid_value: '1.2.840.10008.5.1.4.31', uid_name: 'Modality Worklist Information Model - FIND', uid_key: 'ModalityWorklistInformationModelFind', uid_sym: :modality_worklist_information_model_find, uid_type: :sop_class},
|
375
377
|
{ uid_value: '1.2.840.10008.5.1.4.32', uid_name: 'General Purpose Worklist Management Meta SOP Class (Retired)', uid_key: 'GeneralPurposeWorklistManagementMeta', uid_sym: :general_purpose_worklist_management_meta, uid_type: :meta_sop_class},
|
376
|
-
{ uid_value: '1.2.840.10008.5.1.4.32.1', uid_name: 'General Purpose Worklist Information Model - FIND (Retired)', uid_key: '
|
378
|
+
{ uid_value: '1.2.840.10008.5.1.4.32.1', uid_name: 'General Purpose Worklist Information Model - FIND (Retired)', uid_key: 'GeneralPurposeWorklistInformationModelFind', uid_sym: :general_purpose_worklist_information_model_find, uid_type: :sop_class},
|
377
379
|
{ uid_value: '1.2.840.10008.5.1.4.32.2', uid_name: 'General Purpose Scheduled Procedure Step SOP Class (Retired)', uid_key: 'GeneralPurposeScheduledProcedureStep', uid_sym: :general_purpose_scheduled_procedure_step, uid_type: :sop_class},
|
378
380
|
{ uid_value: '1.2.840.10008.5.1.4.32.3', uid_name: 'General Purpose Performed Procedure Step SOP Class (Retired)', uid_key: 'GeneralPurposePerformedProcedureStep', uid_sym: :general_purpose_performed_procedure_step, uid_type: :sop_class},
|
379
381
|
{ uid_value: '1.2.840.10008.5.1.4.33', uid_name: 'Instance Availability Notification SOP Class', uid_key: 'InstanceAvailabilityNotification', uid_sym: :instance_availability_notification, 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-2021 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.32.0"
|
26
|
+
DICOM_DOC_VERSION = "2021a"
|
27
27
|
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.32.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: 2021-02-06 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.32.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,34 +183,34 @@ 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.2.3
|
187
187
|
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: A simple way to handle DICOM Data Dictionary
|
190
190
|
test_files:
|
191
|
-
- spec/
|
192
|
-
- spec/refine_shared_example_spec_helper.rb
|
193
|
-
- spec/dictionary_shared_example_spec_helper.rb
|
191
|
+
- spec/data_element_sample_spec_helper.rb
|
194
192
|
- spec/data_element_shared_example_spec_helper.rb
|
195
|
-
- spec/
|
193
|
+
- spec/dcm_dict/dictionary/data_element_dictionary_spec.rb
|
194
|
+
- spec/dcm_dict/dictionary/data_element_record_spec.rb
|
195
|
+
- spec/dcm_dict/dictionary/uid_dictionary_spec.rb
|
196
|
+
- spec/dcm_dict/dictionary/uid_record_spec.rb
|
197
|
+
- spec/dcm_dict/encoder/data_to_code_spec.rb
|
196
198
|
- spec/dcm_dict/ext/object_extension_spec.rb
|
197
|
-
- spec/dcm_dict/
|
198
|
-
- spec/dcm_dict/refine/
|
199
|
-
- spec/dcm_dict/refine/symbol_refine_spec.rb
|
199
|
+
- spec/dcm_dict/refine/array_refine_spec.rb
|
200
|
+
- spec/dcm_dict/refine/internal/array_refine_internal_spec.rb
|
200
201
|
- spec/dcm_dict/refine/internal/hash_refine_internal_spec.rb
|
201
202
|
- spec/dcm_dict/refine/internal/string_refine_internal_spec.rb
|
202
|
-
- spec/dcm_dict/refine/
|
203
|
-
- spec/dcm_dict/refine/
|
203
|
+
- spec/dcm_dict/refine/string_refine_spec.rb
|
204
|
+
- spec/dcm_dict/refine/symbol_refine_spec.rb
|
204
205
|
- spec/dcm_dict/rubies/rb_ext_spec.rb
|
205
|
-
- spec/dcm_dict/source_data/uid_values_data_spec.rb
|
206
206
|
- spec/dcm_dict/source_data/data_elements_data_spec.rb
|
207
207
|
- spec/dcm_dict/source_data/detached_data_spec.rb
|
208
|
-
- spec/dcm_dict/
|
209
|
-
- spec/dcm_dict/
|
210
|
-
- spec/dcm_dict/dictionary/uid_dictionary_spec.rb
|
211
|
-
- spec/dcm_dict/dictionary/data_element_dictionary_spec.rb
|
212
|
-
- spec/dcm_dict/dictionary/uid_record_spec.rb
|
208
|
+
- spec/dcm_dict/source_data/uid_values_data_spec.rb
|
209
|
+
- spec/dcm_dict/version_spec.rb
|
213
210
|
- spec/dcm_dict/xml/tag_field_data_spec.rb
|
214
211
|
- spec/dcm_dict/xml/uid_field_data_spec.rb
|
215
|
-
- spec/
|
212
|
+
- spec/dictionary_shared_example_spec_helper.rb
|
213
|
+
- spec/refine_shared_example_spec_helper.rb
|
214
|
+
- spec/spec_helper.rb
|
215
|
+
- spec/xml_sample_spec_helper.rb
|
216
216
|
- Rakefile
|