dcm_dict 0.30.0 → 0.31.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 +3 -0
- data/README.md +1 -1
- data/lib/dcm_dict/source_data/data_elements_data.rb +16 -0
- data/lib/dcm_dict/source_data/uid_values_data.rb +1 -0
- data/lib/dcm_dict/version.rb +2 -2
- data/spec/data_element_sample_spec_helper.rb +7 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42df833b727fc0e7b679b29d7ff02fc27b9c4f05c9aabb67cbe52c4cdb79281c
|
4
|
+
data.tar.gz: fe23e15bf141c9184979e2450b4ec558190c736fdddbb0c2cafc79f1bfb3a7ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2d0df30790bfcb71c48d0fbf9b674a8b1a6150ec77db1148280126ec7a0dd558be0c5d960670497a6491fd29431470cf21389dff424d157174c3b169f4f8f2f
|
7
|
+
data.tar.gz: 00a86d7fbb1bd1e932df26a139642e7d83336969db99d6ce4828bf9cc85e981c89c8210391e7c05811fdf481c65befff566d4e4469405d052f68a8edefae0ba2
|
data/CHANGELOG.md
CHANGED
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* **2020e**
|
291
291
|
|
292
292
|
## Install
|
293
293
|
|
@@ -752,6 +752,11 @@ HIGH = 0001H'},
|
|
752
752
|
{ tag_ps: '(0016,008C)', tag_name: "GPS Area Information", tag_key: 'GPSAreaInformation', tag_vr: [:OB], tag_vm: ["1"], tag_str: '(0016,008C)', tag_sym: :gps_area_information, tag_ndm: '0016008C', tag_ary: [0x0016,0x008C], tag_multiple: false, tag_note: ''},
|
753
753
|
{ tag_ps: '(0016,008D)', tag_name: "GPS Date Stamp", tag_key: 'GPSDateStamp', tag_vr: [:DT], tag_vm: ["1"], tag_str: '(0016,008D)', tag_sym: :gps_date_stamp, tag_ndm: '0016008D', tag_ary: [0x0016,0x008D], tag_multiple: false, tag_note: ''},
|
754
754
|
{ tag_ps: '(0016,008E)', tag_name: "GPS Differential", tag_key: 'GPSDifferential', tag_vr: [:IS], tag_vm: ["1"], tag_str: '(0016,008E)', tag_sym: :gps_differential, tag_ndm: '0016008E', tag_ary: [0x0016,0x008E], tag_multiple: false, tag_note: ''},
|
755
|
+
{ tag_ps: '(0016,1001)', tag_name: "Light Source Polarization", tag_key: 'LightSourcePolarization', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0016,1001)', tag_sym: :light_source_polarization, tag_ndm: '00161001', tag_ary: [0x0016,0x1001], tag_multiple: false, tag_note: ''},
|
756
|
+
{ tag_ps: '(0016,1002)', tag_name: "Emitter Color Temperature", tag_key: 'EmitterColorTemperature', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(0016,1002)', tag_sym: :emitter_color_temperature, tag_ndm: '00161002', tag_ary: [0x0016,0x1002], tag_multiple: false, tag_note: ''},
|
757
|
+
{ tag_ps: '(0016,1003)', tag_name: "Contact Method", tag_key: 'ContactMethod', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0016,1003)', tag_sym: :contact_method, tag_ndm: '00161003', tag_ary: [0x0016,0x1003], tag_multiple: false, tag_note: ''},
|
758
|
+
{ tag_ps: '(0016,1004)', tag_name: "Immersion Media", tag_key: 'ImmersionMedia', tag_vr: [:CS], tag_vm: ["1-n"], tag_str: '(0016,1004)', tag_sym: :immersion_media, tag_ndm: '00161004', tag_ary: [0x0016,0x1004], tag_multiple: false, tag_note: ''},
|
759
|
+
{ tag_ps: '(0016,1005)', tag_name: "Optical Magnification Factor", tag_key: 'OpticalMagnificationFactor', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(0016,1005)', tag_sym: :optical_magnification_factor, tag_ndm: '00161005', tag_ary: [0x0016,0x1005], tag_multiple: false, tag_note: ''},
|
755
760
|
{ tag_ps: '(0018,0010)', tag_name: "Contrast/Bolus Agent", tag_key: 'ContrastBolusAgent', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0018,0010)', tag_sym: :contrast_bolus_agent, tag_ndm: '00180010', tag_ary: [0x0018,0x0010], tag_multiple: false, tag_note: ''},
|
756
761
|
{ tag_ps: '(0018,0012)', tag_name: "Contrast/Bolus Agent Sequence", tag_key: 'ContrastBolusAgentSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0018,0012)', tag_sym: :contrast_bolus_agent_sequence, tag_ndm: '00180012', tag_ary: [0x0018,0x0012], tag_multiple: false, tag_note: ''},
|
757
762
|
{ tag_ps: '(0018,0013)', tag_name: "Contrast/Bolus T1 Relaxivity", tag_key: 'ContrastBolusT1Relaxivity', tag_vr: [:FL], tag_vm: ["1"], tag_str: '(0018,0013)', tag_sym: :contrast_bolus_t1_relaxivity, tag_ndm: '00180013', tag_ary: [0x0018,0x0013], tag_multiple: false, tag_note: ''},
|
@@ -2662,6 +2667,14 @@ HIGH = 0001H'},
|
|
2662
2667
|
{ tag_ps: '(0040,A731)', tag_name: "Relationship Sequence (Trial)", tag_key: 'RelationshipSequenceTrial', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0040,A731)', tag_sym: :relationship_sequence_trial, tag_ndm: '0040A731', tag_ary: [0x0040,0xA731], tag_multiple: false, tag_note: 'RET (2009)'},
|
2663
2668
|
{ tag_ps: '(0040,A732)', tag_name: "Relationship Type Code Sequence (Trial)", tag_key: 'RelationshipTypeCodeSequenceTrial', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0040,A732)', tag_sym: :relationship_type_code_sequence_trial, tag_ndm: '0040A732', tag_ary: [0x0040,0xA732], tag_multiple: false, tag_note: 'RET (2009)'},
|
2664
2669
|
{ tag_ps: '(0040,A744)', tag_name: "Language Code Sequence (Trial)", tag_key: 'LanguageCodeSequenceTrial', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0040,A744)', tag_sym: :language_code_sequence_trial, tag_ndm: '0040A744', tag_ary: [0x0040,0xA744], tag_multiple: false, tag_note: 'RET (2009)'},
|
2670
|
+
{ tag_ps: '(0040,A801)', tag_name: "Tabulated Values Sequence", tag_key: 'TabulatedValuesSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0040,A801)', tag_sym: :tabulated_values_sequence, tag_ndm: '0040A801', tag_ary: [0x0040,0xA801], tag_multiple: false, tag_note: ''},
|
2671
|
+
{ tag_ps: '(0040,A802)', tag_name: "Number of Table Rows", tag_key: 'NumberOfTableRows', tag_vr: [:UL], tag_vm: ["1"], tag_str: '(0040,A802)', tag_sym: :number_of_table_rows, tag_ndm: '0040A802', tag_ary: [0x0040,0xA802], tag_multiple: false, tag_note: ''},
|
2672
|
+
{ tag_ps: '(0040,A803)', tag_name: "Number of Table Columns", tag_key: 'NumbeOfTableColumns', tag_vr: [:UL], tag_vm: ["1"], tag_str: '(0040,A803)', tag_sym: :numbe_of_table_columns, tag_ndm: '0040A803', tag_ary: [0x0040,0xA803], tag_multiple: false, tag_note: ''},
|
2673
|
+
{ tag_ps: '(0040,A804)', tag_name: "Table Row Number", tag_key: 'TableRowNumber', tag_vr: [:UL], tag_vm: ["1"], tag_str: '(0040,A804)', tag_sym: :table_row_number, tag_ndm: '0040A804', tag_ary: [0x0040,0xA804], tag_multiple: false, tag_note: ''},
|
2674
|
+
{ tag_ps: '(0040,A805)', tag_name: "Table Column Number", tag_key: 'TableColumnNumber', tag_vr: [:UL], tag_vm: ["1"], tag_str: '(0040,A805)', tag_sym: :table_column_number, tag_ndm: '0040A805', tag_ary: [0x0040,0xA805], tag_multiple: false, tag_note: ''},
|
2675
|
+
{ tag_ps: '(0040,A806)', tag_name: "Table Row Definition Sequence", tag_key: 'TableRowDefinitionSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0040,A806)', tag_sym: :table_row_definition_sequence, tag_ndm: '0040A806', tag_ary: [0x0040,0xA806], tag_multiple: false, tag_note: ''},
|
2676
|
+
{ tag_ps: '(0040,A807)', tag_name: "Table Column Definition Sequence", tag_key: 'TableColumnDefinitionSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0040,A807)', tag_sym: :table_column_definition_sequence, tag_ndm: '0040A807', tag_ary: [0x0040,0xA807], tag_multiple: false, tag_note: ''},
|
2677
|
+
{ tag_ps: '(0040,A808)', tag_name: "Cell Values Sequence", tag_key: 'CellValuesSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0040,A808)', tag_sym: :cell_values_sequence, tag_ndm: '0040A808', tag_ary: [0x0040,0xA808], tag_multiple: false, tag_note: ''},
|
2665
2678
|
{ tag_ps: '(0040,A992)', tag_name: "Uniform Resource Locator (Trial)", tag_key: 'UniformResourceLocatorTrial', tag_vr: [:ST], tag_vm: ["1"], tag_str: '(0040,A992)', tag_sym: :uniform_resource_locator_trial, tag_ndm: '0040A992', tag_ary: [0x0040,0xA992], tag_multiple: false, tag_note: 'RET (2009)'},
|
2666
2679
|
{ tag_ps: '(0040,B020)', tag_name: "Waveform Annotation Sequence", tag_key: 'WaveformAnnotationSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0040,B020)', tag_sym: :waveform_annotation_sequence, tag_ndm: '0040B020', tag_ary: [0x0040,0xB020], tag_multiple: false, tag_note: ''},
|
2667
2680
|
{ tag_ps: '(0040,DB00)', tag_name: "Template Identifier", tag_key: 'TemplateIdentifier', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0040,DB00)', tag_sym: :template_identifier, tag_ndm: '0040DB00', tag_ary: [0x0040,0xDB00], tag_multiple: false, tag_note: ''},
|
@@ -3385,6 +3398,9 @@ HIGH = 0001H'},
|
|
3385
3398
|
{ tag_ps: '(0072,007E)', tag_name: "Selector SS Value", tag_key: 'SelectorSSValue', tag_vr: [:SS], tag_vm: ["1-n"], tag_str: '(0072,007E)', tag_sym: :selector_ss_value, tag_ndm: '0072007E', tag_ary: [0x0072,0x007E], tag_multiple: false, tag_note: ''},
|
3386
3399
|
{ tag_ps: '(0072,007F)', tag_name: "Selector UI Value", tag_key: 'SelectorUIValue', tag_vr: [:UI], tag_vm: ["1-n"], tag_str: '(0072,007F)', tag_sym: :selector_ui_value, tag_ndm: '0072007F', tag_ary: [0x0072,0x007F], tag_multiple: false, tag_note: ''},
|
3387
3400
|
{ tag_ps: '(0072,0080)', tag_name: "Selector Code Sequence Value", tag_key: 'SelectorCodeSequenceValue', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0072,0080)', tag_sym: :selector_code_sequence_value, tag_ndm: '00720080', tag_ary: [0x0072,0x0080], tag_multiple: false, tag_note: ''},
|
3401
|
+
{ tag_ps: '(0072,0081)', tag_name: "Selector OV Value", tag_key: 'SelectorOVValue', tag_vr: [:OV], tag_vm: ["1"], tag_str: '(0072,0081)', tag_sym: :selector_ov_value, tag_ndm: '00720081', tag_ary: [0x0072,0x0081], tag_multiple: false, tag_note: ''},
|
3402
|
+
{ tag_ps: '(0072,0082)', tag_name: "Selector SV Value", tag_key: 'SelectorSVValue', tag_vr: [:SV], tag_vm: ["1-n"], tag_str: '(0072,0082)', tag_sym: :selector_sv_value, tag_ndm: '00720082', tag_ary: [0x0072,0x0082], tag_multiple: false, tag_note: ''},
|
3403
|
+
{ tag_ps: '(0072,0083)', tag_name: "Selector UV Value", tag_key: 'SelectorUVValue', tag_vr: [:UV], tag_vm: ["1-n"], tag_str: '(0072,0083)', tag_sym: :selector_uv_value, tag_ndm: '00720083', tag_ary: [0x0072,0x0083], tag_multiple: false, tag_note: ''},
|
3388
3404
|
{ tag_ps: '(0072,0100)', tag_name: "Number of Screens", tag_key: 'NumberOfScreens', tag_vr: [:US], tag_vm: ["1"], tag_str: '(0072,0100)', tag_sym: :number_of_screens, tag_ndm: '00720100', tag_ary: [0x0072,0x0100], tag_multiple: false, tag_note: ''},
|
3389
3405
|
{ tag_ps: '(0072,0102)', tag_name: "Nominal Screen Definition Sequence", tag_key: 'NominalScreenDefinitionSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0072,0102)', tag_sym: :nominal_screen_definition_sequence, tag_ndm: '00720102', tag_ary: [0x0072,0x0102], tag_multiple: false, tag_note: ''},
|
3390
3406
|
{ tag_ps: '(0072,0104)', tag_name: "Number of Vertical Pixels", tag_key: 'NumberOfVerticalPixels', tag_vr: [:US], tag_vm: ["1"], tag_str: '(0072,0104)', tag_sym: :number_of_vertical_pixels, tag_ndm: '00720104', tag_ary: [0x0072,0x0104], tag_multiple: false, tag_note: ''},
|
@@ -275,6 +275,7 @@ module DcmDict
|
|
275
275
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.77.1.5.7', uid_name: 'Ophthalmic Optical Coherence Tomography En Face Image Storage', uid_key: 'OphthalmicOpticalCoherenceTomographyEnFaceImageStorage', uid_sym: :ophthalmic_optical_coherence_tomography_en_face_image_storage, uid_type: :sop_class},
|
276
276
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.77.1.5.8', uid_name: 'Ophthalmic Optical Coherence Tomography B-scan Volume Analysis Storage', uid_key: 'OphthalmicOpticalCoherenceTomographyBscanVolumeAnalysisStorage', uid_sym: :ophthalmic_optical_coherence_tomography_bscan_volume_analysis_storage, uid_type: :sop_class},
|
277
277
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.77.1.6', uid_name: 'VL Whole Slide Microscopy Image Storage', uid_key: 'VLWholeSlideMicroscopyImageStorage', uid_sym: :vl_whole_slide_microscopy_image_storage, uid_type: :sop_class},
|
278
|
+
{ uid_value: '1.2.840.10008.5.1.4.1.1.77.1.7', uid_name: 'Dermoscopic Photography Image Storage', uid_key: 'DermoscopicPhotographyImageStorage', uid_sym: :dermoscopic_photography_image_storage, uid_type: :sop_class},
|
278
279
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.78.1', uid_name: 'Lensometry Measurements Storage', uid_key: 'LensometryMeasurementsStorage', uid_sym: :lensometry_measurements_storage, uid_type: :sop_class},
|
279
280
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.78.2', uid_name: 'Autorefraction Measurements Storage', uid_key: 'AutorefractionMeasurementsStorage', uid_sym: :autorefraction_measurements_storage, uid_type: :sop_class},
|
280
281
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.78.3', uid_name: 'Keratometry Measurements Storage', uid_key: 'KeratometryMeasurementsStorage', uid_sym: :keratometry_measurements_storage, uid_type: :sop_class},
|
data/lib/dcm_dict/version.rb
CHANGED
@@ -156,7 +156,13 @@ module DataElementSampleSpecHelper
|
|
156
156
|
[0x3010,0x0096] => { tag_ps: '(3010,0096)', tag_name: "Radiation Source Coordinate System Pitch Angle",
|
157
157
|
tag_key: 'RadiationSourceCoordinateSystemPitchAngle', tag_vr: [:FD], tag_vm: ["1"], tag_str: '(3010,0096)',
|
158
158
|
tag_sym: :radiation_source_coordinate_system_pitch_angle, tag_ndm: '30100096',
|
159
|
-
tag_ary: [0x3010,0x0096], tag_multiple: false, tag_note: ''}
|
159
|
+
tag_ary: [0x3010,0x0096], tag_multiple: false, tag_note: ''},
|
160
|
+
[0x0016,0x1002] => { tag_ps: '(0016,1002)', tag_name: "Emitter Color Temperature", tag_key: 'EmitterColorTemperature',
|
161
|
+
tag_vr: [:DS], tag_vm: ["1"], tag_str: '(0016,1002)', tag_sym: :emitter_color_temperature,
|
162
|
+
tag_ndm: '00161002', tag_ary: [0x0016,0x1002], tag_multiple: false, tag_note: ''},
|
163
|
+
[0x0072,0x0082] => { tag_ps: '(0072,0082)', tag_name: "Selector SV Value", tag_key: 'SelectorSVValue',
|
164
|
+
tag_vr: [:SV], tag_vm: ["1-n"], tag_str: '(0072,0082)', tag_sym: :selector_sv_value,
|
165
|
+
tag_ndm: '00720082', tag_ary: [0x0072,0x0082], tag_multiple: false, tag_note: ''},
|
160
166
|
}
|
161
167
|
end
|
162
168
|
|
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.31.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: 2020-
|
11
|
+
date: 2020-12-07 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.31.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:
|