dcm_dict 0.58.0 → 0.59.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 +2 -1
- data/lib/dcm_dict/source_data/data_elements_data.rb +8 -1
- data/lib/dcm_dict/source_data/uid_values_data.rb +1 -0
- data/lib/dcm_dict/version.rb +2 -2
- 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: cf202cdbcd21b68d7437e8eec6289df4c83fb14ff68ba1947e1d64bf21452d8f
|
|
4
|
+
data.tar.gz: 7c9a7510a89d1c834de29cee662f3143f347df8eab8dae6f34cd5ec00380c75e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a0e481182f150d431a8dfcd7bc26b1850b7bfa89b5254421c02e84fefd5f8f7f5493360a93dfbeb8552bd3caf7cd5aa24b3cf46783fa4d5784bf2f45c99048d4
|
|
7
|
+
data.tar.gz: '009927498c4e12b4a7d0e53ead7411d2c7ac9b21a461386b03c098c54017dba90cec2afd8685bd13f19c1796b6c0d94f09e3eb1738bd7118cf7e05924412395f'
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
# What's *DcmDict*
|
|
2
3
|
**DcmDict** is a Ruby gem [(*dcm\_dict*)][12] to handle in a simple way the *Data Dictionary* defined within the DICOM<sup>®</sup> Standard <sup id='fn-dcm-trademark'>[1]</sup> such as DICOM Data Elements or DICOM Unique Identifiers.
|
|
3
4
|
|
|
@@ -294,7 +295,7 @@ Note: the script use the [Nokogiri][3] as XML parser if installed as gem, otherw
|
|
|
294
295
|
Check the file for other details.
|
|
295
296
|
|
|
296
297
|
## Note
|
|
297
|
-
Current library version is aligned to *DICOM Base Standard* **
|
|
298
|
+
Current library version is aligned to *DICOM Base Standard* **2024c**
|
|
298
299
|
|
|
299
300
|
## Install
|
|
300
301
|
|
|
@@ -62,7 +62,9 @@ HIGH = 0001H'},
|
|
|
62
62
|
{ tag_ps: '(0000,0800)', tag_name: "Command Data Set Type", tag_key: 'CommandDataSetType', tag_vr: [:US], tag_vm: ["1"], tag_str: '(0000,0800)', tag_sym: :command_data_set_type, tag_ndm: '00000800', tag_ary: [0x0000,0x0800], tag_multiple: false, tag_note: 'This field indicates if a Data Set is present in the Message. This field shall be set to the value of 0101H if no Data Set is present; any other value indicates a Data Set is included in the Message.'},
|
|
63
63
|
{ tag_ps: '(0000,0900)', tag_name: "Status", tag_key: 'Status', tag_vr: [:US], tag_vm: ["1"], tag_str: '(0000,0900)', tag_sym: :status, tag_ndm: '00000900', tag_ary: [0x0000,0x0900], tag_multiple: false, tag_note: 'Confirmation status of the operation. See .'},
|
|
64
64
|
{ tag_ps: '(0000,0901)', tag_name: "Offending Element", tag_key: 'OffendingElement', tag_vr: [:AT], tag_vm: ["1-n"], tag_str: '(0000,0901)', tag_sym: :offending_element, tag_ndm: '00000901', tag_ary: [0x0000,0x0901], tag_multiple: false, tag_note: 'If status is Cxxx, then this field contains a list of the elements in which the error was detected.'},
|
|
65
|
-
{ tag_ps: '(0000,0902)', tag_name: "Error Comment", tag_key: 'ErrorComment', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0000,0902)', tag_sym: :error_comment, tag_ndm: '00000902', tag_ary: [0x0000,0x0902], tag_multiple: false, tag_note: 'This field contains an application-specific text description of the error detected.
|
|
65
|
+
{ tag_ps: '(0000,0902)', tag_name: "Error Comment", tag_key: 'ErrorComment', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0000,0902)', tag_sym: :error_comment, tag_ndm: '00000902', tag_ary: [0x0000,0x0902], tag_multiple: false, tag_note: 'This field contains an application-specific text description of the error detected.
|
|
66
|
+
|
|
67
|
+
Only characters from the Default Character Repertoire may be used.'},
|
|
66
68
|
{ tag_ps: '(0000,0903)', tag_name: "Error ID", tag_key: 'ErrorID', tag_vr: [:US], tag_vm: ["1"], tag_str: '(0000,0903)', tag_sym: :error_id, tag_ndm: '00000903', tag_ary: [0x0000,0x0903], tag_multiple: false, tag_note: 'This field shall optionally contain an application-specific error code.'},
|
|
67
69
|
{ tag_ps: '(0000,1000)', tag_name: "Affected SOP Instance UID", tag_key: 'AffectedSOPInstanceUID', tag_vr: [:UI], tag_vm: ["1"], tag_str: '(0000,1000)', tag_sym: :affected_sop_instance_uid, tag_ndm: '00001000', tag_ary: [0x0000,0x1000], tag_multiple: false, tag_note: 'Contains the UID of the SOP Instance for which this operation occurred.'},
|
|
68
70
|
{ tag_ps: '(0000,1001)', tag_name: "Requested SOP Instance UID", tag_key: 'RequestedSOPInstanceUID', tag_vr: [:UI], tag_vm: ["1"], tag_str: '(0000,1001)', tag_sym: :requested_sop_instance_uid, tag_ndm: '00001001', tag_ary: [0x0000,0x1001], tag_multiple: false, tag_note: 'Contains the UID of the SOP Instance for which this operation occurred.'},
|
|
@@ -459,6 +461,7 @@ HIGH = 0001H'},
|
|
|
459
461
|
{ tag_ps: '(0010,2154)', tag_name: "Patient's Telephone Numbers", tag_key: 'PatientTelephoneNumbers', tag_vr: [:SH], tag_vm: ["1-n"], tag_str: '(0010,2154)', tag_sym: :patient_telephone_numbers, tag_ndm: '00102154', tag_ary: [0x0010,0x2154], tag_multiple: false, tag_note: ''},
|
|
460
462
|
{ tag_ps: '(0010,2155)', tag_name: "Patient's Telecom Information", tag_key: 'PatientTelecomInformation', tag_vr: [:LT], tag_vm: ["1"], tag_str: '(0010,2155)', tag_sym: :patient_telecom_information, tag_ndm: '00102155', tag_ary: [0x0010,0x2155], tag_multiple: false, tag_note: ''},
|
|
461
463
|
{ tag_ps: '(0010,2160)', tag_name: "Ethnic Group", tag_key: 'EthnicGroup', tag_vr: [:SH], tag_vm: ["1"], tag_str: '(0010,2160)', tag_sym: :ethnic_group, tag_ndm: '00102160', tag_ary: [0x0010,0x2160], tag_multiple: false, tag_note: ''},
|
|
464
|
+
{ tag_ps: '(0010,2161)', tag_name: "Ethnic Group Code Sequence", tag_key: 'EthnicGroupCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0010,2161)', tag_sym: :ethnic_group_code_sequence, tag_ndm: '00102161', tag_ary: [0x0010,0x2161], tag_multiple: false, tag_note: ''},
|
|
462
465
|
{ tag_ps: '(0010,2180)', tag_name: "Occupation", tag_key: 'Occupation', tag_vr: [:SH], tag_vm: ["1"], tag_str: '(0010,2180)', tag_sym: :occupation, tag_ndm: '00102180', tag_ary: [0x0010,0x2180], tag_multiple: false, tag_note: ''},
|
|
463
466
|
{ tag_ps: '(0010,21A0)', tag_name: "Smoking Status", tag_key: 'SmokingStatus', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0010,21A0)', tag_sym: :smoking_status, tag_ndm: '001021A0', tag_ary: [0x0010,0x21A0], tag_multiple: false, tag_note: ''},
|
|
464
467
|
{ tag_ps: '(0010,21B0)', tag_name: "Additional Patient History", tag_key: 'AdditionalPatientHistory', tag_vr: [:LT], tag_vm: ["1"], tag_str: '(0010,21B0)', tag_sym: :additional_patient_history, tag_ndm: '001021B0', tag_ary: [0x0010,0x21B0], tag_multiple: false, tag_note: ''},
|
|
@@ -4244,6 +4247,7 @@ HIGH = 0001H'},
|
|
|
4244
4247
|
{ tag_ps: '(300A,0051)', tag_name: "Table Top Vertical Position Tolerance", tag_key: 'TableTopVerticalPositionTolerance', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(300A,0051)', tag_sym: :table_top_vertical_position_tolerance, tag_ndm: '300A0051', tag_ary: [0x300A,0x0051], tag_multiple: false, tag_note: ''},
|
|
4245
4248
|
{ tag_ps: '(300A,0052)', tag_name: "Table Top Longitudinal Position Tolerance", tag_key: 'TableTopLongitudinalPositionTolerance', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(300A,0052)', tag_sym: :table_top_longitudinal_position_tolerance, tag_ndm: '300A0052', tag_ary: [0x300A,0x0052], tag_multiple: false, tag_note: ''},
|
|
4246
4249
|
{ tag_ps: '(300A,0053)', tag_name: "Table Top Lateral Position Tolerance", tag_key: 'TableTopLateralPositionTolerance', tag_vr: [:DS], tag_vm: ["1"], tag_str: '(300A,0053)', tag_sym: :table_top_lateral_position_tolerance, tag_ndm: '300A0053', tag_ary: [0x300A,0x0053], tag_multiple: false, tag_note: ''},
|
|
4250
|
+
{ tag_ps: '(300A,0054)', tag_name: "Table Top Position Alignment UID", tag_key: 'TableTopPositionAlignmentUID', tag_vr: [:UI], tag_vm: ["1"], tag_str: '(300A,0054)', tag_sym: :table_top_position_alignment_uid, tag_ndm: '300A0054', tag_ary: [0x300A,0x0054], tag_multiple: false, tag_note: ''},
|
|
4247
4251
|
{ tag_ps: '(300A,0055)', tag_name: "RT Plan Relationship", tag_key: 'RTPlanRelationship', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(300A,0055)', tag_sym: :rt_plan_relationship, tag_ndm: '300A0055', tag_ary: [0x300A,0x0055], tag_multiple: false, tag_note: ''},
|
|
4248
4252
|
{ tag_ps: '(300A,0070)', tag_name: "Fraction Group Sequence", tag_key: 'FractionGroupSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(300A,0070)', tag_sym: :fraction_group_sequence, tag_ndm: '300A0070', tag_ary: [0x300A,0x0070], tag_multiple: false, tag_note: ''},
|
|
4249
4253
|
{ tag_ps: '(300A,0071)', tag_name: "Fraction Group Number", tag_key: 'FractionGroupNumber', tag_vr: [:IS], tag_vm: ["1"], tag_str: '(300A,0071)', tag_sym: :fraction_group_number, tag_ndm: '300A0071', tag_ary: [0x300A,0x0071], tag_multiple: false, tag_note: ''},
|
|
@@ -4810,6 +4814,9 @@ HIGH = 0001H'},
|
|
|
4810
4814
|
{ tag_ps: '(300A,079C)', tag_name: "Patient Support Displacement Sequence", tag_key: 'PatientSupportDisplacementSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(300A,079C)', tag_sym: :patient_support_displacement_sequence, tag_ndm: '300A079C', tag_ary: [0x300A,0x079C], tag_multiple: false, tag_note: ''},
|
|
4811
4815
|
{ tag_ps: '(300A,079D)', tag_name: "Displacement Reference Location Code Sequence", tag_key: 'DisplacementReferenceLocationCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(300A,079D)', tag_sym: :displacement_reference_location_code_sequence, tag_ndm: '300A079D', tag_ary: [0x300A,0x079D], tag_multiple: false, tag_note: ''},
|
|
4812
4816
|
{ tag_ps: '(300A,079E)', tag_name: "RT Radiation Set Delivery Usage", tag_key: 'RTRadiationSetDeliveryUsage', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(300A,079E)', tag_sym: :rt_radiation_set_delivery_usage, tag_ndm: '300A079E', tag_ary: [0x300A,0x079E], tag_multiple: false, tag_note: ''},
|
|
4817
|
+
{ tag_ps: '(300A,079F)', tag_name: "Patient Treatment Preparation Sequence", tag_key: 'PatientTreatmentPreparationSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(300A,079F)', tag_sym: :patient_treatment_preparation_sequence, tag_ndm: '300A079F', tag_ary: [0x300A,0x079F], tag_multiple: false, tag_note: ''},
|
|
4818
|
+
{ tag_ps: '(300A,07A0)', tag_name: "Patient to Equipment Relationship Sequence", tag_key: 'PatientToEquipmentRelationshipSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(300A,07A0)', tag_sym: :patient_to_equipment_relationship_sequence, tag_ndm: '300A07A0', tag_ary: [0x300A,0x07A0], tag_multiple: false, tag_note: ''},
|
|
4819
|
+
{ tag_ps: '(300A,07A1)', tag_name: "Imaging Equipment to Treatment Delivery Device Relationship Sequence", tag_key: 'ImagingEquipmentToTreatmentDeliveryDeviceRelationshipSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(300A,07A1)', tag_sym: :imaging_equipment_to_treatment_delivery_device_relationship_sequence, tag_ndm: '300A07A1', tag_ary: [0x300A,0x07A1], tag_multiple: false, tag_note: ''},
|
|
4813
4820
|
{ tag_ps: '(300C,0002)', tag_name: "Referenced RT Plan Sequence", tag_key: 'ReferencedRTPlanSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(300C,0002)', tag_sym: :referenced_rt_plan_sequence, tag_ndm: '300C0002', tag_ary: [0x300C,0x0002], tag_multiple: false, tag_note: ''},
|
|
4814
4821
|
{ tag_ps: '(300C,0004)', tag_name: "Referenced Beam Sequence", tag_key: 'ReferencedBeamSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(300C,0004)', tag_sym: :referenced_beam_sequence, tag_ndm: '300C0004', tag_ary: [0x300C,0x0004], tag_multiple: false, tag_note: ''},
|
|
4815
4822
|
{ tag_ps: '(300C,0006)', tag_name: "Referenced Beam Number", tag_key: 'ReferencedBeamNumber', tag_vr: [:IS], tag_vm: ["1"], tag_str: '(300C,0006)', tag_sym: :referenced_beam_number, tag_ndm: '300C0006', tag_ary: [0x300C,0x0006], tag_multiple: false, tag_note: ''},
|
|
@@ -304,6 +304,7 @@ module DcmDict
|
|
|
304
304
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.88.74', uid_name: 'Planned Imaging Agent Administration SR Storage', uid_key: 'PlannedImagingAgentAdministrationSRStorage', uid_sym: :planned_imaging_agent_administration_sr_storage, uid_type: :sop_class},
|
|
305
305
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.88.75', uid_name: 'Performed Imaging Agent Administration SR Storage', uid_key: 'PerformedImagingAgentAdministrationSRStorage', uid_sym: :performed_imaging_agent_administration_sr_storage, uid_type: :sop_class},
|
|
306
306
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.88.76', uid_name: 'Enhanced X-Ray Radiation Dose SR Storage', uid_key: 'EnhancedXRayRadiationDoseSRStorage', uid_sym: :enhanced_x_ray_radiation_dose_sr_storage, uid_type: :sop_class},
|
|
307
|
+
{ uid_value: '1.2.840.10008.5.1.4.1.1.88.77', uid_name: 'Waveform Annotation SR Storage', uid_key: 'WaveformAnnotationSRStorage', uid_sym: :waveform_annotation_sr_storage, uid_type: :sop_class},
|
|
307
308
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.90.1', uid_name: 'Content Assessment Results Storage', uid_key: 'ContentAssessmentResultsStorage', uid_sym: :content_assessment_results_storage, uid_type: :sop_class},
|
|
308
309
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.91.1', uid_name: 'Microscopy Bulk Simple Annotations Storage', uid_key: 'MicroscopyBulkSimpleAnnotationsStorage', uid_sym: :microscopy_bulk_simple_annotations_storage, uid_type: :sop_class},
|
|
309
310
|
{ uid_value: '1.2.840.10008.5.1.4.1.1.104.1', uid_name: 'Encapsulated PDF Storage', uid_key: 'EncapsulatedPDFStorage', uid_sym: :encapsulated_pdf_storage, uid_type: :sop_class},
|
data/lib/dcm_dict/version.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.59.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: 2024-
|
|
11
|
+
date: 2024-07-09 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.59.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.5.
|
|
186
|
+
rubygems_version: 3.5.11
|
|
187
187
|
signing_key:
|
|
188
188
|
specification_version: 4
|
|
189
189
|
summary: A simple way to handle DICOM Data Dictionary
|