dcm_dict 0.56.0 → 0.58.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 +10 -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 +21 -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 +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ba57eed9bf5f8f7f4e35496ee1822eecf5ad3a79fd0308b52beca3b88727474
|
|
4
|
+
data.tar.gz: cad70fe93cb115826dba16b9c158026b694c5f5a76c3a17474107404c7b8ee80
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f04e4ae6786e1c2aae79369a4b6279850dbdc905074d16ca73c6f42f2929231ad826d52baa00a3c322fc8043e41060faee1698f3f0c97ccce627929d742bd4ed
|
|
7
|
+
data.tar.gz: 95d0cf019c641ec80a46abce8860a7f45c4dea6577a3f65b2397857dcac91e74cccfa2701de1b8d9499e11b8a75da4c1331aed85a3372297657e3fec7cf4f5f1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# DcmDict project Changelog
|
|
2
2
|
|
|
3
|
+
___
|
|
4
|
+
## v0.58.0 (2024-04-03)
|
|
5
|
+
* Update to 2024b Base Standard
|
|
6
|
+
___
|
|
7
|
+
## v0.57.0 (2024-02-07)
|
|
8
|
+
* Update to 2024a Base Standard
|
|
9
|
+
___
|
|
10
|
+
## v0.56.1 (2024-01-02)
|
|
11
|
+
* Bump copyright years
|
|
12
|
+
* Not publish on [RubyGems](https://rubygems.org/gems/dcm_dict)
|
|
3
13
|
___
|
|
4
14
|
## v0.56.0 (2023-12-15)
|
|
5
15
|
* Update to 2023e 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-2024 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
|
@@ -294,7 +294,7 @@ Note: the script use the [Nokogiri][3] as XML parser if installed as gem, otherw
|
|
|
294
294
|
Check the file for other details.
|
|
295
295
|
|
|
296
296
|
## Note
|
|
297
|
-
Current library version is aligned to *DICOM Base Standard* **
|
|
297
|
+
Current library version is aligned to *DICOM Base Standard* **2024b**
|
|
298
298
|
|
|
299
299
|
## Install
|
|
300
300
|
|
|
@@ -317,7 +317,7 @@ There are many possible *candidates* for inclusion in the *dictionary*, here are
|
|
|
317
317
|
TBD
|
|
318
318
|
|
|
319
319
|
## License
|
|
320
|
-
Copyright (C) 2014-
|
|
320
|
+
Copyright (C) 2014-2024 Enrico Rivarola.
|
|
321
321
|
See the `LICENSE` and `COPYING` files for license details.
|
|
322
322
|
|
|
323
323
|
## 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-2024 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-2024 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-2024 Enrico Rivarola
|
|
4
4
|
#
|
|
5
5
|
# This file is part of DcmDict gem (dcm_dict).
|
|
6
6
|
#
|
|
@@ -153,6 +153,7 @@ HIGH = 0001H'},
|
|
|
153
153
|
{ tag_ps: '(0008,0019)', tag_name: "Pyramid UID", tag_key: 'PyramidUID', tag_vr: [:UI], tag_vm: ["1"], tag_str: '(0008,0019)', tag_sym: :pyramid_uid, tag_ndm: '00080019', tag_ary: [0x0008,0x0019], tag_multiple: false, tag_note: ''},
|
|
154
154
|
{ tag_ps: '(0008,001A)', tag_name: "Related General SOP Class UID", tag_key: 'RelatedGeneralSOPClassUID', tag_vr: [:UI], tag_vm: ["1-n"], tag_str: '(0008,001A)', tag_sym: :related_general_sop_class_uid, tag_ndm: '0008001A', tag_ary: [0x0008,0x001A], tag_multiple: false, tag_note: ''},
|
|
155
155
|
{ tag_ps: '(0008,001B)', tag_name: "Original Specialized SOP Class UID", tag_key: 'OriginalSpecializedSOPClassUID', tag_vr: [:UI], tag_vm: ["1"], tag_str: '(0008,001B)', tag_sym: :original_specialized_sop_class_uid, tag_ndm: '0008001B', tag_ary: [0x0008,0x001B], tag_multiple: false, tag_note: ''},
|
|
156
|
+
{ tag_ps: '(0008,001C)', tag_name: "Synthetic Data", tag_key: 'SyntheticData', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0008,001C)', tag_sym: :synthetic_data, tag_ndm: '0008001C', tag_ary: [0x0008,0x001C], tag_multiple: false, tag_note: ''},
|
|
156
157
|
{ tag_ps: '(0008,0020)', tag_name: "Study Date", tag_key: 'StudyDate', tag_vr: [:DA], tag_vm: ["1"], tag_str: '(0008,0020)', tag_sym: :study_date, tag_ndm: '00080020', tag_ary: [0x0008,0x0020], tag_multiple: false, tag_note: ''},
|
|
157
158
|
{ tag_ps: '(0008,0021)', tag_name: "Series Date", tag_key: 'SeriesDate', tag_vr: [:DA], tag_vm: ["1"], tag_str: '(0008,0021)', tag_sym: :series_date, tag_ndm: '00080021', tag_ary: [0x0008,0x0021], tag_multiple: false, tag_note: ''},
|
|
158
159
|
{ tag_ps: '(0008,0022)', tag_name: "Acquisition Date", tag_key: 'AcquisitionDate', tag_vr: [:DA], tag_vm: ["1"], tag_str: '(0008,0022)', tag_sym: :acquisition_date, tag_ndm: '00080022', tag_ary: [0x0008,0x0022], tag_multiple: false, tag_note: ''},
|
|
@@ -309,6 +310,7 @@ HIGH = 0001H'},
|
|
|
309
310
|
{ tag_ps: '(0008,1100)', tag_name: "Referenced Results Sequence", tag_key: 'ReferencedResultsSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,1100)', tag_sym: :referenced_results_sequence, tag_ndm: '00081100', tag_ary: [0x0008,0x1100], tag_multiple: false, tag_note: 'RET (2004)'},
|
|
310
311
|
{ tag_ps: '(0008,1110)', tag_name: "Referenced Study Sequence", tag_key: 'ReferencedStudySequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,1110)', tag_sym: :referenced_study_sequence, tag_ndm: '00081110', tag_ary: [0x0008,0x1110], tag_multiple: false, tag_note: ''},
|
|
311
312
|
{ tag_ps: '(0008,1111)', tag_name: "Referenced Performed Procedure Step Sequence", tag_key: 'ReferencedPerformedProcedureStepSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,1111)', tag_sym: :referenced_performed_procedure_step_sequence, tag_ndm: '00081111', tag_ary: [0x0008,0x1111], tag_multiple: false, tag_note: ''},
|
|
313
|
+
{ tag_ps: '(0008,1112)', tag_name: "Referenced Instances by SOP Class Sequence", tag_key: 'ReferencedInstancesBySOPClassSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,1112)', tag_sym: :referenced_instances_by_sop_class_sequence, tag_ndm: '00081112', tag_ary: [0x0008,0x1112], tag_multiple: false, tag_note: ''},
|
|
312
314
|
{ tag_ps: '(0008,1115)', tag_name: "Referenced Series Sequence", tag_key: 'ReferencedSeriesSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,1115)', tag_sym: :referenced_series_sequence, tag_ndm: '00081115', tag_ary: [0x0008,0x1115], tag_multiple: false, tag_note: ''},
|
|
313
315
|
{ tag_ps: '(0008,1120)', tag_name: "Referenced Patient Sequence", tag_key: 'ReferencedPatientSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,1120)', tag_sym: :referenced_patient_sequence, tag_ndm: '00081120', tag_ary: [0x0008,0x1120], tag_multiple: false, tag_note: ''},
|
|
314
316
|
{ tag_ps: '(0008,1125)', tag_name: "Referenced Visit Sequence", tag_key: 'ReferencedVisitSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,1125)', tag_sym: :referenced_visit_sequence, tag_ndm: '00081125', tag_ary: [0x0008,0x1125], tag_multiple: false, tag_note: ''},
|
|
@@ -336,6 +338,7 @@ HIGH = 0001H'},
|
|
|
336
338
|
{ tag_ps: '(0008,1198)', tag_name: "Failed SOP Sequence", tag_key: 'FailedSOPSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,1198)', tag_sym: :failed_sop_sequence, tag_ndm: '00081198', tag_ary: [0x0008,0x1198], tag_multiple: false, tag_note: ''},
|
|
337
339
|
{ tag_ps: '(0008,1199)', tag_name: "Referenced SOP Sequence", tag_key: 'ReferencedSOPSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,1199)', tag_sym: :referenced_sop_sequence, tag_ndm: '00081199', tag_ary: [0x0008,0x1199], tag_multiple: false, tag_note: ''},
|
|
338
340
|
{ tag_ps: '(0008,119A)', tag_name: "Other Failures Sequence", tag_key: 'OtherFailuresSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,119A)', tag_sym: :other_failures_sequence, tag_ndm: '0008119A', tag_ary: [0x0008,0x119A], tag_multiple: false, tag_note: ''},
|
|
341
|
+
{ tag_ps: '(0008,119B)', tag_name: "Failed Study Sequence", tag_key: 'FailedStudySequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,119B)', tag_sym: :failed_study_sequence, tag_ndm: '0008119B', tag_ary: [0x0008,0x119B], tag_multiple: false, tag_note: ''},
|
|
339
342
|
{ tag_ps: '(0008,1200)', tag_name: "Studies Containing Other Referenced Instances Sequence", tag_key: 'StudiesContainingOtherReferencedInstancesSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,1200)', tag_sym: :studies_containing_other_referenced_instances_sequence, tag_ndm: '00081200', tag_ary: [0x0008,0x1200], tag_multiple: false, tag_note: ''},
|
|
340
343
|
{ tag_ps: '(0008,1250)', tag_name: "Related Series Sequence", tag_key: 'RelatedSeriesSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,1250)', tag_sym: :related_series_sequence, tag_ndm: '00081250', tag_ary: [0x0008,0x1250], tag_multiple: false, tag_note: ''},
|
|
341
344
|
{ tag_ps: '(0008,2110)', tag_name: "Lossy Image Compression (Retired)", tag_key: 'LossyImageCompressionRetired', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0008,2110)', tag_sym: :lossy_image_compression_retired, tag_ndm: '00082110', tag_ary: [0x0008,0x2110], tag_multiple: false, tag_note: 'RET (1993)'},
|
|
@@ -479,21 +482,28 @@ HIGH = 0001H'},
|
|
|
479
482
|
{ tag_ps: '(0012,0010)', tag_name: "Clinical Trial Sponsor Name", tag_key: 'ClinicalTrialSponsorName', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0010)', tag_sym: :clinical_trial_sponsor_name, tag_ndm: '00120010', tag_ary: [0x0012,0x0010], tag_multiple: false, tag_note: ''},
|
|
480
483
|
{ tag_ps: '(0012,0020)', tag_name: "Clinical Trial Protocol ID", tag_key: 'ClinicalTrialProtocolID', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0020)', tag_sym: :clinical_trial_protocol_id, tag_ndm: '00120020', tag_ary: [0x0012,0x0020], tag_multiple: false, tag_note: ''},
|
|
481
484
|
{ tag_ps: '(0012,0021)', tag_name: "Clinical Trial Protocol Name", tag_key: 'ClinicalTrialProtocolName', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0021)', tag_sym: :clinical_trial_protocol_name, tag_ndm: '00120021', tag_ary: [0x0012,0x0021], tag_multiple: false, tag_note: ''},
|
|
485
|
+
{ tag_ps: '(0012,0022)', tag_name: "Issuer of Clinical Trial Protocol ID", tag_key: 'IssuerOfClinicalTrialProtocolID', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0022)', tag_sym: :issuer_of_clinical_trial_protocol_id, tag_ndm: '00120022', tag_ary: [0x0012,0x0022], tag_multiple: false, tag_note: ''},
|
|
486
|
+
{ tag_ps: '(0012,0023)', tag_name: "Other Clinical Trial Protocol IDs Sequence", tag_key: 'OtherClinicalTrialProtocolIDsSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0012,0023)', tag_sym: :other_clinical_trial_protocol_ids_sequence, tag_ndm: '00120023', tag_ary: [0x0012,0x0023], tag_multiple: false, tag_note: ''},
|
|
482
487
|
{ tag_ps: '(0012,0030)', tag_name: "Clinical Trial Site ID", tag_key: 'ClinicalTrialSiteID', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0030)', tag_sym: :clinical_trial_site_id, tag_ndm: '00120030', tag_ary: [0x0012,0x0030], tag_multiple: false, tag_note: ''},
|
|
483
488
|
{ tag_ps: '(0012,0031)', tag_name: "Clinical Trial Site Name", tag_key: 'ClinicalTrialSiteName', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0031)', tag_sym: :clinical_trial_site_name, tag_ndm: '00120031', tag_ary: [0x0012,0x0031], tag_multiple: false, tag_note: ''},
|
|
489
|
+
{ tag_ps: '(0012,0032)', tag_name: "Issuer of Clinical Trial Site ID", tag_key: 'IssuerOfClinicalTrialSiteID', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0032)', tag_sym: :issuer_of_clinical_trial_site_id, tag_ndm: '00120032', tag_ary: [0x0012,0x0032], tag_multiple: false, tag_note: ''},
|
|
484
490
|
{ tag_ps: '(0012,0040)', tag_name: "Clinical Trial Subject ID", tag_key: 'ClinicalTrialSubjectID', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0040)', tag_sym: :clinical_trial_subject_id, tag_ndm: '00120040', tag_ary: [0x0012,0x0040], tag_multiple: false, tag_note: ''},
|
|
491
|
+
{ tag_ps: '(0012,0041)', tag_name: "Issuer of Clinical Trial Subject ID", tag_key: 'IssuerOfClinicalTrialSubjectID', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0041)', tag_sym: :issuer_of_clinical_trial_subject_id, tag_ndm: '00120041', tag_ary: [0x0012,0x0041], tag_multiple: false, tag_note: ''},
|
|
485
492
|
{ tag_ps: '(0012,0042)', tag_name: "Clinical Trial Subject Reading ID", tag_key: 'ClinicalTrialSubjectReadingID', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0042)', tag_sym: :clinical_trial_subject_reading_id, tag_ndm: '00120042', tag_ary: [0x0012,0x0042], tag_multiple: false, tag_note: ''},
|
|
493
|
+
{ tag_ps: '(0012,0043)', tag_name: "Issuer of Clinical Trial Subject Reading ID", tag_key: 'IssuerOfClinicalTrialSubjectReadingID', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0043)', tag_sym: :issuer_of_clinical_trial_subject_reading_id, tag_ndm: '00120043', tag_ary: [0x0012,0x0043], tag_multiple: false, tag_note: ''},
|
|
486
494
|
{ tag_ps: '(0012,0050)', tag_name: "Clinical Trial Time Point ID", tag_key: 'ClinicalTrialTimePointID', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0050)', tag_sym: :clinical_trial_time_point_id, tag_ndm: '00120050', tag_ary: [0x0012,0x0050], tag_multiple: false, tag_note: ''},
|
|
487
495
|
{ tag_ps: '(0012,0051)', tag_name: "Clinical Trial Time Point Description", tag_key: 'ClinicalTrialTimePointDescription', tag_vr: [:ST], tag_vm: ["1"], tag_str: '(0012,0051)', tag_sym: :clinical_trial_time_point_description, tag_ndm: '00120051', tag_ary: [0x0012,0x0051], tag_multiple: false, tag_note: ''},
|
|
488
496
|
{ tag_ps: '(0012,0052)', tag_name: "Longitudinal Temporal Offset from Event", tag_key: 'LongitudinalTemporalOffsetFromEvent', tag_vr: [:FD], tag_vm: ["1"], tag_str: '(0012,0052)', tag_sym: :longitudinal_temporal_offset_from_event, tag_ndm: '00120052', tag_ary: [0x0012,0x0052], tag_multiple: false, tag_note: ''},
|
|
489
497
|
{ tag_ps: '(0012,0053)', tag_name: "Longitudinal Temporal Event Type", tag_key: 'LongitudinalTemporalEventType', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0012,0053)', tag_sym: :longitudinal_temporal_event_type, tag_ndm: '00120053', tag_ary: [0x0012,0x0053], tag_multiple: false, tag_note: ''},
|
|
490
498
|
{ tag_ps: '(0012,0054)', tag_name: "Clinical Trial Time Point Type Code Sequence", tag_key: 'ClinicalTrialTimePointTypeCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0012,0054)', tag_sym: :clinical_trial_time_point_type_code_sequence, tag_ndm: '00120054', tag_ary: [0x0012,0x0054], tag_multiple: false, tag_note: ''},
|
|
499
|
+
{ tag_ps: '(0012,0055)', tag_name: "Issuer of Clinical Trial Time Point ID", tag_key: 'IssuerOfClinicalTrialTimePointID', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0055)', tag_sym: :issuer_of_clinical_trial_time_point_id, tag_ndm: '00120055', tag_ary: [0x0012,0x0055], tag_multiple: false, tag_note: ''},
|
|
491
500
|
{ tag_ps: '(0012,0060)', tag_name: "Clinical Trial Coordinating Center Name", tag_key: 'ClinicalTrialCoordinatingCenterName', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0060)', tag_sym: :clinical_trial_coordinating_center_name, tag_ndm: '00120060', tag_ary: [0x0012,0x0060], tag_multiple: false, tag_note: ''},
|
|
492
501
|
{ tag_ps: '(0012,0062)', tag_name: "Patient Identity Removed", tag_key: 'PatientIdentityRemoved', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0012,0062)', tag_sym: :patient_identity_removed, tag_ndm: '00120062', tag_ary: [0x0012,0x0062], tag_multiple: false, tag_note: ''},
|
|
493
502
|
{ tag_ps: '(0012,0063)', tag_name: "De-identification Method", tag_key: 'DeidentificationMethod', tag_vr: [:LO], tag_vm: ["1-n"], tag_str: '(0012,0063)', tag_sym: :deidentification_method, tag_ndm: '00120063', tag_ary: [0x0012,0x0063], tag_multiple: false, tag_note: ''},
|
|
494
503
|
{ tag_ps: '(0012,0064)', tag_name: "De-identification Method Code Sequence", tag_key: 'DeidentificationMethodCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0012,0064)', tag_sym: :deidentification_method_code_sequence, tag_ndm: '00120064', tag_ary: [0x0012,0x0064], tag_multiple: false, tag_note: ''},
|
|
495
504
|
{ tag_ps: '(0012,0071)', tag_name: "Clinical Trial Series ID", tag_key: 'ClinicalTrialSeriesID', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0071)', tag_sym: :clinical_trial_series_id, tag_ndm: '00120071', tag_ary: [0x0012,0x0071], tag_multiple: false, tag_note: ''},
|
|
496
505
|
{ tag_ps: '(0012,0072)', tag_name: "Clinical Trial Series Description", tag_key: 'ClinicalTrialSeriesDescription', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0072)', tag_sym: :clinical_trial_series_description, tag_ndm: '00120072', tag_ary: [0x0012,0x0072], tag_multiple: false, tag_note: ''},
|
|
506
|
+
{ tag_ps: '(0012,0073)', tag_name: "Issuer of Clinical Trial Series ID", tag_key: 'IssuerOfClinicalTrialSeriesID', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0073)', tag_sym: :issuer_of_clinical_trial_series_id, tag_ndm: '00120073', tag_ary: [0x0012,0x0073], tag_multiple: false, tag_note: ''},
|
|
497
507
|
{ tag_ps: '(0012,0081)', tag_name: "Clinical Trial Protocol Ethics Committee Name", tag_key: 'ClinicalTrialProtocolEthicsCommitteeName', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0081)', tag_sym: :clinical_trial_protocol_ethics_committee_name, tag_ndm: '00120081', tag_ary: [0x0012,0x0081], tag_multiple: false, tag_note: ''},
|
|
498
508
|
{ tag_ps: '(0012,0082)', tag_name: "Clinical Trial Protocol Ethics Committee Approval Number", tag_key: 'ClinicalTrialProtocolEthicsCommitteeApprovalNumber', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0012,0082)', tag_sym: :clinical_trial_protocol_ethics_committee_approval_number, tag_ndm: '00120082', tag_ary: [0x0012,0x0082], tag_multiple: false, tag_note: ''},
|
|
499
509
|
{ tag_ps: '(0012,0083)', tag_name: "Consent for Clinical Trial Use Sequence", tag_key: 'ConsentForClinicalTrialUseSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0012,0083)', tag_sym: :consent_for_clinical_trial_use_sequence, tag_ndm: '00120083', tag_ary: [0x0012,0x0083], tag_multiple: false, tag_note: ''},
|
|
@@ -1847,6 +1857,7 @@ HIGH = 0001H'},
|
|
|
1847
1857
|
{ tag_ps: '(0022,000C)', tag_name: "Horizontal Field of View", tag_key: 'HorizontalFieldOfView', tag_vr: [:FL], tag_vm: ["1"], tag_str: '(0022,000C)', tag_sym: :horizontal_field_of_view, tag_ndm: '0022000C', tag_ary: [0x0022,0x000C], tag_multiple: false, tag_note: ''},
|
|
1848
1858
|
{ tag_ps: '(0022,000D)', tag_name: "Pupil Dilated", tag_key: 'PupilDilated', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0022,000D)', tag_sym: :pupil_dilated, tag_ndm: '0022000D', tag_ary: [0x0022,0x000D], tag_multiple: false, tag_note: ''},
|
|
1849
1859
|
{ tag_ps: '(0022,000E)', tag_name: "Degree of Dilation", tag_key: 'DegreeOfDilation', tag_vr: [:FL], tag_vm: ["1"], tag_str: '(0022,000E)', tag_sym: :degree_of_dilation, tag_ndm: '0022000E', tag_ary: [0x0022,0x000E], tag_multiple: false, tag_note: ''},
|
|
1860
|
+
{ tag_ps: '(0022,000F)', tag_name: "Vertex Distance", tag_key: 'VertexDistance', tag_vr: [:FD], tag_vm: ["1"], tag_str: '(0022,000F)', tag_sym: :vertex_distance, tag_ndm: '0022000F', tag_ary: [0x0022,0x000F], tag_multiple: false, tag_note: ''},
|
|
1850
1861
|
{ tag_ps: '(0022,0010)', tag_name: "Stereo Baseline Angle", tag_key: 'StereoBaselineAngle', tag_vr: [:FL], tag_vm: ["1"], tag_str: '(0022,0010)', tag_sym: :stereo_baseline_angle, tag_ndm: '00220010', tag_ary: [0x0022,0x0010], tag_multiple: false, tag_note: ''},
|
|
1851
1862
|
{ tag_ps: '(0022,0011)', tag_name: "Stereo Baseline Displacement", tag_key: 'StereoBaselineDisplacement', tag_vr: [:FL], tag_vm: ["1"], tag_str: '(0022,0011)', tag_sym: :stereo_baseline_displacement, tag_ndm: '00220011', tag_ary: [0x0022,0x0011], tag_multiple: false, tag_note: ''},
|
|
1852
1863
|
{ tag_ps: '(0022,0012)', tag_name: "Stereo Horizontal Pixel Offset", tag_key: 'StereoHorizontalPixelOffset', tag_vr: [:FL], tag_vm: ["1"], tag_str: '(0022,0012)', tag_sym: :stereo_horizontal_pixel_offset, tag_ndm: '00220012', tag_ary: [0x0022,0x0012], tag_multiple: false, tag_note: ''},
|
|
@@ -3457,8 +3468,8 @@ HIGH = 0001H'},
|
|
|
3457
3468
|
{ tag_ps: '(0070,1804)', tag_name: "Volumetric Presentation Input Index", tag_key: 'VolumetricPresentationInputIndex', tag_vr: [:US], tag_vm: ["1"], tag_str: '(0070,1804)', tag_sym: :volumetric_presentation_input_index, tag_ndm: '00701804', tag_ary: [0x0070,0x1804], tag_multiple: false, tag_note: ''},
|
|
3458
3469
|
{ tag_ps: '(0070,1805)', tag_name: "Presentation State Compositor Component Sequence", tag_key: 'PresentationStateCompositorComponentSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0070,1805)', tag_sym: :presentation_state_compositor_component_sequence, tag_ndm: '00701805', tag_ary: [0x0070,0x1805], tag_multiple: false, tag_note: ''},
|
|
3459
3470
|
{ tag_ps: '(0070,1806)', tag_name: "Weighting Transfer Function Sequence", tag_key: 'WeightingTransferFunctionSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0070,1806)', tag_sym: :weighting_transfer_function_sequence, tag_ndm: '00701806', tag_ary: [0x0070,0x1806], tag_multiple: false, tag_note: ''},
|
|
3460
|
-
{ tag_ps: '(0070,1807)', tag_name: "Weighting Lookup Table Descriptor", tag_key: 'WeightingLookupTableDescriptor', tag_vr: [:US], tag_vm: ["3"], tag_str: '(0070,1807)', tag_sym: :weighting_lookup_table_descriptor, tag_ndm: '00701807', tag_ary: [0x0070,0x1807], tag_multiple: false, tag_note: ''},
|
|
3461
|
-
{ tag_ps: '(0070,1808)', tag_name: "Weighting Lookup Table Data", tag_key: 'WeightingLookupTableData', tag_vr: [:OB], tag_vm: ["1"], tag_str: '(0070,1808)', tag_sym: :weighting_lookup_table_data, tag_ndm: '00701808', tag_ary: [0x0070,0x1808], tag_multiple: false, tag_note: ''},
|
|
3471
|
+
{ tag_ps: '(0070,1807)', tag_name: "Weighting Lookup Table Descriptor", tag_key: 'WeightingLookupTableDescriptor', tag_vr: [:US], tag_vm: ["3"], tag_str: '(0070,1807)', tag_sym: :weighting_lookup_table_descriptor, tag_ndm: '00701807', tag_ary: [0x0070,0x1807], tag_multiple: false, tag_note: 'RET (2024a)'},
|
|
3472
|
+
{ tag_ps: '(0070,1808)', tag_name: "Weighting Lookup Table Data", tag_key: 'WeightingLookupTableData', tag_vr: [:OB], tag_vm: ["1"], tag_str: '(0070,1808)', tag_sym: :weighting_lookup_table_data, tag_ndm: '00701808', tag_ary: [0x0070,0x1808], tag_multiple: false, tag_note: 'RET (2024a)'},
|
|
3462
3473
|
{ tag_ps: '(0070,1901)', tag_name: "Volumetric Annotation Sequence", tag_key: 'VolumetricAnnotationSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0070,1901)', tag_sym: :volumetric_annotation_sequence, tag_ndm: '00701901', tag_ary: [0x0070,0x1901], tag_multiple: false, tag_note: ''},
|
|
3463
3474
|
{ tag_ps: '(0070,1903)', tag_name: "Referenced Structured Context Sequence", tag_key: 'ReferencedStructuredContextSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0070,1903)', tag_sym: :referenced_structured_context_sequence, tag_ndm: '00701903', tag_ary: [0x0070,0x1903], tag_multiple: false, tag_note: ''},
|
|
3464
3475
|
{ tag_ps: '(0070,1904)', tag_name: "Referenced Content Item", tag_key: 'ReferencedContentItem', tag_vr: [:UI], tag_vm: ["1"], tag_str: '(0070,1904)', tag_sym: :referenced_content_item, tag_ndm: '00701904', tag_ary: [0x0070,0x1904], tag_multiple: false, tag_note: ''},
|
|
@@ -4042,6 +4053,8 @@ HIGH = 0001H'},
|
|
|
4042
4053
|
{ tag_ps: '(3006,0028)', tag_name: "ROI Description", tag_key: 'ROIDescription', tag_vr: [:ST], tag_vm: ["1"], tag_str: '(3006,0028)', tag_sym: :roi_description, tag_ndm: '30060028', tag_ary: [0x3006,0x0028], tag_multiple: false, tag_note: ''},
|
|
4043
4054
|
{ tag_ps: '(3006,002A)', tag_name: "ROI Display Color", tag_key: 'ROIDisplayColor', tag_vr: [:IS], tag_vm: ["3"], tag_str: '(3006,002A)', tag_sym: :roi_display_color, tag_ndm: '3006002A', tag_ary: [0x3006,0x002A], tag_multiple: false, tag_note: ''},
|
|
4044
4055
|
{ tag_ps: '(3006,002C)', tag_name: "ROI Volume", tag_key: 'ROIVolume', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(3006,002C)', tag_sym: :roi_volume, tag_ndm: '3006002C', tag_ary: [0x3006,0x002C], tag_multiple: false, tag_note: ''},
|
|
4056
|
+
{ tag_ps: '(3006,002D)', tag_name: "ROI DateTime", tag_key: 'ROIDateTime', tag_vr: [:DT], tag_vm: ["1"], tag_str: '(3006,002D)', tag_sym: :roi_date_time, tag_ndm: '3006002D', tag_ary: [0x3006,0x002D], tag_multiple: false, tag_note: ''},
|
|
4057
|
+
{ tag_ps: '(3006,002E)', tag_name: "ROI Observation DateTime", tag_key: 'ROIObservationDateTime', tag_vr: [:DT], tag_vm: ["1"], tag_str: '(3006,002E)', tag_sym: :roi_observation_date_time, tag_ndm: '3006002E', tag_ary: [0x3006,0x002E], tag_multiple: false, tag_note: ''},
|
|
4045
4058
|
{ tag_ps: '(3006,0030)', tag_name: "RT Related ROI Sequence", tag_key: 'RTRelatedROISequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3006,0030)', tag_sym: :rt_related_roi_sequence, tag_ndm: '30060030', tag_ary: [0x3006,0x0030], tag_multiple: false, tag_note: ''},
|
|
4046
4059
|
{ tag_ps: '(3006,0033)', tag_name: "RT ROI Relationship", tag_key: 'RTROIRelationship', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(3006,0033)', tag_sym: :rt_roi_relationship, tag_ndm: '30060033', tag_ary: [0x3006,0x0033], tag_multiple: false, tag_note: ''},
|
|
4047
4060
|
{ tag_ps: '(3006,0036)', tag_name: "ROI Generation Algorithm", tag_key: 'ROIGenerationAlgorithm', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(3006,0036)', tag_sym: :roi_generation_algorithm, tag_ndm: '30060036', tag_ary: [0x3006,0x0036], tag_multiple: false, tag_note: ''},
|
|
@@ -4056,6 +4069,11 @@ HIGH = 0001H'},
|
|
|
4056
4069
|
{ 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: ''},
|
|
4057
4070
|
{ 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)'},
|
|
4058
4071
|
{ 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: ''},
|
|
4072
|
+
{ tag_ps: '(3006,004B)', tag_name: "Source Series Sequence", tag_key: 'SourceSeriesSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3006,004B)', tag_sym: :source_series_sequence, tag_ndm: '3006004B', tag_ary: [0x3006,0x004B], tag_multiple: false, tag_note: ''},
|
|
4073
|
+
{ tag_ps: '(3006,004C)', tag_name: "Source Series Information Sequence", tag_key: 'SourceSeriesInformationSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3006,004C)', tag_sym: :source_series_information_sequence, tag_ndm: '3006004C', tag_ary: [0x3006,0x004C], tag_multiple: false, tag_note: ''},
|
|
4074
|
+
{ tag_ps: '(3006,004D)', tag_name: "ROI Creator Sequence", tag_key: 'ROICreatorSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3006,004D)', tag_sym: :roi_creator_sequence, tag_ndm: '3006004D', tag_ary: [0x3006,0x004D], tag_multiple: false, tag_note: ''},
|
|
4075
|
+
{ tag_ps: '(3006,004E)', tag_name: "ROI Interpreter Sequence", tag_key: 'ROIInterpreterSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3006,004E)', tag_sym: :roi_interpreter_sequence, tag_ndm: '3006004E', tag_ary: [0x3006,0x004E], tag_multiple: false, tag_note: ''},
|
|
4076
|
+
{ tag_ps: '(3006,004F)', tag_name: "ROI Observation Context Code Sequence", tag_key: 'ROIObservationContextCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3006,004F)', tag_sym: :roi_observation_context_code_sequence, tag_ndm: '3006004F', tag_ary: [0x3006,0x004F], tag_multiple: false, tag_note: ''},
|
|
4059
4077
|
{ 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: ''},
|
|
4060
4078
|
{ 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: ''},
|
|
4061
4079
|
{ 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: ''},
|
data/lib/dcm_dict/version.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#
|
|
2
|
-
# Copyright (C) 2014-
|
|
2
|
+
# Copyright (C) 2014-2024 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.58.0"
|
|
26
|
+
DICOM_DOC_VERSION = "2024b"
|
|
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.58.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: 2024-04-03 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.58.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.5.3
|
|
187
187
|
signing_key:
|
|
188
188
|
specification_version: 4
|
|
189
189
|
summary: A simple way to handle DICOM Data Dictionary
|