dcm_dict 0.5.0 → 0.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f47d669fdcd05820d9eba72902b295e74383cffa
4
- data.tar.gz: 8e481d11c9c41c5d6b6708db8d30bc9b59b2b783
3
+ metadata.gz: 82f5c9946b262501c43436fc7497cad50bfe7d22
4
+ data.tar.gz: 03c322dd1a4ab9d4a9ace17023d1de6d419351a9
5
5
  SHA512:
6
- metadata.gz: 68b88c8d2cd692fc121eeceab38f057e181d5679ea75c27856b7d8c70d4fee57840addd557d90d6b47365b548096213fba59c709b39186f5a50a7c77f28e1872
7
- data.tar.gz: 8a1b41f6749314bd6e171e6165c5e7294723d53e42935eb087bcbe1eb9ba7d146a22a0127c5fa29a8174a4e0b550b578803a4749247e88bf445e373c5a842bee
6
+ metadata.gz: ccb1e7f448f38132ff7884fd0f746206a65c861235c09a54bdb8085b338350b79aec77e5c496b59a2753c99b04e432cca4be70c2fe790fb91aaf87dceeacc7bb
7
+ data.tar.gz: 1b5ea3075c2764552ad72fda9459cecb921594a8d19fa469cade90f85d9f0a57378308aed88f534bdacced72815d6a3efa8d03a19e5a28a62f1a80d410326073
data/README.md CHANGED
@@ -270,7 +270,7 @@ Note: the script use the [Nokogiri][3] as XML parser if installed as gem, otherw
270
270
  Check the file for other details.
271
271
 
272
272
  ## Note
273
- Current library version is aligned to *DICOM Base Standard **2015b***
273
+ Current library version is aligned to *DICOM Base Standard* **2015c**
274
274
 
275
275
  ## Install
276
276
 
@@ -177,6 +177,8 @@ HIGH = 0001H'},
177
177
  { tag_ps: '(0008,0092)', tag_name: "Referring Physician's Address", tag_key: 'ReferringPhysicianAddress', tag_vr: [:ST], tag_vm: ["1"], tag_str: '(0008,0092)', tag_sym: :referring_physician_address, tag_ndm: '00080092', tag_ary: [0x0008,0x0092], tag_multiple: false, tag_note: ''},
178
178
  { tag_ps: '(0008,0094)', tag_name: "Referring Physician's Telephone Numbers", tag_key: 'ReferringPhysicianTelephoneNumbers', tag_vr: [:SH], tag_vm: ["1-n"], tag_str: '(0008,0094)', tag_sym: :referring_physician_telephone_numbers, tag_ndm: '00080094', tag_ary: [0x0008,0x0094], tag_multiple: false, tag_note: ''},
179
179
  { tag_ps: '(0008,0096)', tag_name: "Referring Physician Identification Sequence", tag_key: 'ReferringPhysicianIdentificationSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,0096)', tag_sym: :referring_physician_identification_sequence, tag_ndm: '00080096', tag_ary: [0x0008,0x0096], tag_multiple: false, tag_note: ''},
180
+ { tag_ps: '(0008,009C)', tag_name: "Consulting Physician's Name", tag_key: 'ConsultingPhysicianName', tag_vr: [:PN], tag_vm: ["1-n"], tag_str: '(0008,009C)', tag_sym: :consulting_physician_name, tag_ndm: '0008009C', tag_ary: [0x0008,0x009C], tag_multiple: false, tag_note: ''},
181
+ { tag_ps: '(0008,009D)', tag_name: "Consulting Physician Identification Sequence", tag_key: 'ConsultingPhysicianIdentificationSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,009D)', tag_sym: :consulting_physician_identification_sequence, tag_ndm: '0008009D', tag_ary: [0x0008,0x009D], tag_multiple: false, tag_note: ''},
180
182
  { tag_ps: '(0008,0100)', tag_name: "Code Value", tag_key: 'CodeValue', tag_vr: [:SH], tag_vm: ["1"], tag_str: '(0008,0100)', tag_sym: :code_value, tag_ndm: '00080100', tag_ary: [0x0008,0x0100], tag_multiple: false, tag_note: ''},
181
183
  { tag_ps: '(0008,0101)', tag_name: "Extended Code Value", tag_key: 'ExtendedCodeValue', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0008,0101)', tag_sym: :extended_code_value, tag_ndm: '00080101', tag_ary: [0x0008,0x0101], tag_multiple: false, tag_note: 'DICOS'},
182
184
  { tag_ps: '(0008,0102)', tag_name: "Coding Scheme Designator", tag_key: 'CodingSchemeDesignator', tag_vr: [:SH], tag_vm: ["1"], tag_str: '(0008,0102)', tag_sym: :coding_scheme_designator, tag_ndm: '00080102', tag_ary: [0x0008,0x0102], tag_multiple: false, tag_note: ''},
@@ -201,6 +203,14 @@ HIGH = 0001H'},
201
203
  { tag_ps: '(0008,0120)', tag_name: "URN Code Value", tag_key: 'URNCodeValue', tag_vr: [:UR], tag_vm: ["1"], tag_str: '(0008,0120)', tag_sym: :urn_code_value, tag_ndm: '00080120', tag_ary: [0x0008,0x0120], tag_multiple: false, tag_note: ''},
202
204
  { tag_ps: '(0008,0121)', tag_name: "Equivalent Code Sequence", tag_key: 'EquivalentCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,0121)', tag_sym: :equivalent_code_sequence, tag_ndm: '00080121', tag_ary: [0x0008,0x0121], tag_multiple: false, tag_note: ''},
203
205
  { tag_ps: '(0008,0201)', tag_name: "Timezone Offset From UTC", tag_key: 'TimezoneOffsetFromUTC', tag_vr: [:SH], tag_vm: ["1"], tag_str: '(0008,0201)', tag_sym: :timezone_offset_from_utc, tag_ndm: '00080201', tag_ary: [0x0008,0x0201], tag_multiple: false, tag_note: ''},
206
+ { tag_ps: '(0008,0300)', tag_name: "Private Data Element Characteristics Sequence", tag_key: 'PrivateDataElementCharacteristicsSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,0300)', tag_sym: :private_data_element_characteristics_sequence, tag_ndm: '00080300', tag_ary: [0x0008,0x0300], tag_multiple: false, tag_note: ''},
207
+ { tag_ps: '(0008,0301)', tag_name: "Private Group Reference", tag_key: 'PrivateGroupReference', tag_vr: [:US], tag_vm: ["1"], tag_str: '(0008,0301)', tag_sym: :private_group_reference, tag_ndm: '00080301', tag_ary: [0x0008,0x0301], tag_multiple: false, tag_note: ''},
208
+ { tag_ps: '(0008,0302)', tag_name: "Private Creator Reference", tag_key: 'PrivateCreatorReference', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0008,0302)', tag_sym: :private_creator_reference, tag_ndm: '00080302', tag_ary: [0x0008,0x0302], tag_multiple: false, tag_note: ''},
209
+ { tag_ps: '(0008,0303)', tag_name: "Block Identifying Information Status", tag_key: 'BlockIdentifyingInformationStatus', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0008,0303)', tag_sym: :block_identifying_information_status, tag_ndm: '00080303', tag_ary: [0x0008,0x0303], tag_multiple: false, tag_note: ''},
210
+ { tag_ps: '(0008,0304)', tag_name: "Nonidentifying Private Elements", tag_key: 'NonidentifyingPrivateElements', tag_vr: [:US], tag_vm: ["1-n"], tag_str: '(0008,0304)', tag_sym: :nonidentifying_private_elements, tag_ndm: '00080304', tag_ary: [0x0008,0x0304], tag_multiple: false, tag_note: ''},
211
+ { tag_ps: '(0008,0306)', tag_name: "Identifying Private Elements", tag_key: 'IdentifyingPrivateElements', tag_vr: [:US], tag_vm: ["1-n"], tag_str: '(0008,0306)', tag_sym: :identifying_private_elements, tag_ndm: '00080306', tag_ary: [0x0008,0x0306], tag_multiple: false, tag_note: ''},
212
+ { tag_ps: '(0008,0305)', tag_name: "Deidentification Action Sequence", tag_key: 'DeidentificationActionSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0008,0305)', tag_sym: :deidentification_action_sequence, tag_ndm: '00080305', tag_ary: [0x0008,0x0305], tag_multiple: false, tag_note: ''},
213
+ { tag_ps: '(0008,0307)', tag_name: "Deidentification Action", tag_key: 'DeidentificationAction', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0008,0307)', tag_sym: :deidentification_action, tag_ndm: '00080307', tag_ary: [0x0008,0x0307], tag_multiple: false, tag_note: ''},
204
214
  { tag_ps: '(0008,1000)', tag_name: "Network ID", tag_key: 'NetworkID', tag_vr: [:AE], tag_vm: ["1"], tag_str: '(0008,1000)', tag_sym: :network_id, tag_ndm: '00081000', tag_ary: [0x0008,0x1000], tag_multiple: false, tag_note: 'RET'},
205
215
  { tag_ps: '(0008,1010)', tag_name: "Station Name", tag_key: 'StationName', tag_vr: [:SH], tag_vm: ["1"], tag_str: '(0008,1010)', tag_sym: :station_name, tag_ndm: '00081010', tag_ary: [0x0008,0x1010], tag_multiple: false, tag_note: ''},
206
216
  { tag_ps: '(0008,1030)', tag_name: "Study Description", tag_key: 'StudyDescription', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0008,1030)', tag_sym: :study_description, tag_ndm: '00081030', tag_ary: [0x0008,0x1030], tag_multiple: false, tag_note: ''},
@@ -343,6 +353,7 @@ HIGH = 0001H'},
343
353
  { tag_ps: '(0010,2150)', tag_name: "Country of Residence", tag_key: 'CountryOfResidence', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0010,2150)', tag_sym: :country_of_residence, tag_ndm: '00102150', tag_ary: [0x0010,0x2150], tag_multiple: false, tag_note: ''},
344
354
  { tag_ps: '(0010,2152)', tag_name: "Region of Residence", tag_key: 'RegionOfResidence', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0010,2152)', tag_sym: :region_of_residence, tag_ndm: '00102152', tag_ary: [0x0010,0x2152], tag_multiple: false, tag_note: ''},
345
355
  { 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: ''},
356
+ { 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: ''},
346
357
  { 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: ''},
347
358
  { 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: ''},
348
359
  { 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: ''},
@@ -1456,6 +1467,7 @@ HIGH = 0001H'},
1456
1467
  { tag_ps: '(0022,0020)', tag_name: "Stereo Pairs Sequence", tag_key: 'StereoPairsSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0022,0020)', tag_sym: :stereo_pairs_sequence, tag_ndm: '00220020', tag_ary: [0x0022,0x0020], tag_multiple: false, tag_note: ''},
1457
1468
  { tag_ps: '(0022,0021)', tag_name: "Left Image Sequence", tag_key: 'LeftImageSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0022,0021)', tag_sym: :left_image_sequence, tag_ndm: '00220021', tag_ary: [0x0022,0x0021], tag_multiple: false, tag_note: ''},
1458
1469
  { tag_ps: '(0022,0022)', tag_name: "Right Image Sequence", tag_key: 'RightImageSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0022,0022)', tag_sym: :right_image_sequence, tag_ndm: '00220022', tag_ary: [0x0022,0x0022], tag_multiple: false, tag_note: ''},
1470
+ { tag_ps: '(0022,0028)', tag_name: "Stereo Pairs Present", tag_key: 'StereoPairsPresent', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(0022,0028)', tag_sym: :stereo_pairs_present, tag_ndm: '00220028', tag_ary: [0x0022,0x0028], tag_multiple: false, tag_note: ''},
1459
1471
  { tag_ps: '(0022,0030)', tag_name: "Axial Length of the Eye", tag_key: 'AxialLengthOfTheEye', tag_vr: [:FL], tag_vm: ["1"], tag_str: '(0022,0030)', tag_sym: :axial_length_of_the_eye, tag_ndm: '00220030', tag_ary: [0x0022,0x0030], tag_multiple: false, tag_note: ''},
1460
1472
  { tag_ps: '(0022,0031)', tag_name: "Ophthalmic Frame Location Sequence", tag_key: 'OphthalmicFrameLocationSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0022,0031)', tag_sym: :ophthalmic_frame_location_sequence, tag_ndm: '00220031', tag_ary: [0x0022,0x0031], tag_multiple: false, tag_note: ''},
1461
1473
  { tag_ps: '(0022,0032)', tag_name: "Reference Coordinates", tag_key: 'ReferenceCoordinates', tag_vr: [:FL], tag_vm: ["2-2n"], tag_str: '(0022,0032)', tag_sym: :reference_coordinates, tag_ndm: '00220032', tag_ary: [0x0022,0x0032], tag_multiple: false, tag_note: ''},
@@ -2121,6 +2133,7 @@ HIGH = 0001H'},
2121
2133
  { tag_ps: '(0040,1101)', tag_name: "Person Identification Code Sequence", tag_key: 'PersonIdentificationCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(0040,1101)', tag_sym: :person_identification_code_sequence, tag_ndm: '00401101', tag_ary: [0x0040,0x1101], tag_multiple: false, tag_note: ''},
2122
2134
  { tag_ps: '(0040,1102)', tag_name: "Person's Address", tag_key: 'PersonAddress', tag_vr: [:ST], tag_vm: ["1"], tag_str: '(0040,1102)', tag_sym: :person_address, tag_ndm: '00401102', tag_ary: [0x0040,0x1102], tag_multiple: false, tag_note: ''},
2123
2135
  { tag_ps: '(0040,1103)', tag_name: "Person's Telephone Numbers", tag_key: 'PersonTelephoneNumbers', tag_vr: [:LO], tag_vm: ["1-n"], tag_str: '(0040,1103)', tag_sym: :person_telephone_numbers, tag_ndm: '00401103', tag_ary: [0x0040,0x1103], tag_multiple: false, tag_note: ''},
2136
+ { tag_ps: '(0040,1104)', tag_name: "Person's Telecom Information", tag_key: 'PersonTelecomInformation', tag_vr: [:LT], tag_vm: ["1"], tag_str: '(0040,1104)', tag_sym: :person_telecom_information, tag_ndm: '00401104', tag_ary: [0x0040,0x1104], tag_multiple: false, tag_note: ''},
2124
2137
  { tag_ps: '(0040,1400)', tag_name: "Requested Procedure Comments", tag_key: 'RequestedProcedureComments', tag_vr: [:LT], tag_vm: ["1"], tag_str: '(0040,1400)', tag_sym: :requested_procedure_comments, tag_ndm: '00401400', tag_ary: [0x0040,0x1400], tag_multiple: false, tag_note: ''},
2125
2138
  { tag_ps: '(0040,2001)', tag_name: "Reason for the Imaging Service Request", tag_key: 'ReasonForTheImagingServiceRequest', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0040,2001)', tag_sym: :reason_for_the_imaging_service_request, tag_ndm: '00402001', tag_ary: [0x0040,0x2001], tag_multiple: false, tag_note: 'RET'},
2126
2139
  { tag_ps: '(0040,2004)', tag_name: "Issue Date of Imaging Service Request", tag_key: 'IssueDateOfImagingServiceRequest', tag_vr: [:DA], tag_vm: ["1"], tag_str: '(0040,2004)', tag_sym: :issue_date_of_imaging_service_request, tag_ndm: '00402004', tag_ary: [0x0040,0x2004], tag_multiple: false, tag_note: ''},
@@ -2130,6 +2143,7 @@ HIGH = 0001H'},
2130
2143
  { tag_ps: '(0040,2008)', tag_name: "Order Entered By", tag_key: 'OrderEnteredBy', tag_vr: [:PN], tag_vm: ["1"], tag_str: '(0040,2008)', tag_sym: :order_entered_by, tag_ndm: '00402008', tag_ary: [0x0040,0x2008], tag_multiple: false, tag_note: ''},
2131
2144
  { tag_ps: '(0040,2009)', tag_name: "Order Enterer's Location", tag_key: 'OrderEntererLocation', tag_vr: [:SH], tag_vm: ["1"], tag_str: '(0040,2009)', tag_sym: :order_enterer_location, tag_ndm: '00402009', tag_ary: [0x0040,0x2009], tag_multiple: false, tag_note: ''},
2132
2145
  { tag_ps: '(0040,2010)', tag_name: "Order Callback Phone Number", tag_key: 'OrderCallbackPhoneNumber', tag_vr: [:SH], tag_vm: ["1"], tag_str: '(0040,2010)', tag_sym: :order_callback_phone_number, tag_ndm: '00402010', tag_ary: [0x0040,0x2010], tag_multiple: false, tag_note: ''},
2146
+ { tag_ps: '(0040,2011)', tag_name: "Order Callback Telecom Information", tag_key: 'OrderCallbackTelecomInformation', tag_vr: [:LT], tag_vm: ["1"], tag_str: '(0040,2011)', tag_sym: :order_callback_telecom_information, tag_ndm: '00402011', tag_ary: [0x0040,0x2011], tag_multiple: false, tag_note: ''},
2133
2147
  { tag_ps: '(0040,2016)', tag_name: "Placer Order Number / Imaging Service Request", tag_key: 'PlacerOrderNumberImagingServiceRequest', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0040,2016)', tag_sym: :placer_order_number_imaging_service_request, tag_ndm: '00402016', tag_ary: [0x0040,0x2016], tag_multiple: false, tag_note: ''},
2134
2148
  { tag_ps: '(0040,2017)', tag_name: "Filler Order Number / Imaging Service Request", tag_key: 'FillerOrderNumberImagingServiceRequest', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(0040,2017)', tag_sym: :filler_order_number_imaging_service_request, tag_ndm: '00402017', tag_ary: [0x0040,0x2017], tag_multiple: false, tag_note: ''},
2135
2149
  { tag_ps: '(0040,2400)', tag_name: "Imaging Service Request Comments", tag_key: 'ImagingServiceRequestComments', tag_vr: [:LT], tag_vm: ["1"], tag_str: '(0040,2400)', tag_sym: :imaging_service_request_comments, tag_ndm: '00402400', tag_ary: [0x0040,0x2400], tag_multiple: false, tag_note: ''},
@@ -2866,6 +2880,7 @@ HIGH = 0001H'},
2866
2880
  { tag_ps: '(0072,007A)', tag_name: "Selector US Value", tag_key: 'SelectorUSValue', tag_vr: [:US], tag_vm: ["1-n"], tag_str: '(0072,007A)', tag_sym: :selector_us_value, tag_ndm: '0072007A', tag_ary: [0x0072,0x007A], tag_multiple: false, tag_note: ''},
2867
2881
  { tag_ps: '(0072,007C)', tag_name: "Selector SL Value", tag_key: 'SelectorSLValue', tag_vr: [:SL], tag_vm: ["1-n"], tag_str: '(0072,007C)', tag_sym: :selector_sl_value, tag_ndm: '0072007C', tag_ary: [0x0072,0x007C], tag_multiple: false, tag_note: ''},
2868
2882
  { 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: ''},
2883
+ { 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: ''},
2869
2884
  { 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: ''},
2870
2885
  { 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: ''},
2871
2886
  { 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: ''},
@@ -3793,6 +3808,9 @@ HIGH = 0001H'},
3793
3808
  { tag_ps: '(300C,0100)', tag_name: "Referenced Range Shifter Number", tag_key: 'ReferencedRangeShifterNumber', tag_vr: [:IS], tag_vm: ["1"], tag_str: '(300C,0100)', tag_sym: :referenced_range_shifter_number, tag_ndm: '300C0100', tag_ary: [0x300C,0x0100], tag_multiple: false, tag_note: ''},
3794
3809
  { tag_ps: '(300C,0102)', tag_name: "Referenced Lateral Spreading Device Number", tag_key: 'ReferencedLateralSpreadingDeviceNumber', tag_vr: [:IS], tag_vm: ["1"], tag_str: '(300C,0102)', tag_sym: :referenced_lateral_spreading_device_number, tag_ndm: '300C0102', tag_ary: [0x300C,0x0102], tag_multiple: false, tag_note: ''},
3795
3810
  { tag_ps: '(300C,0104)', tag_name: "Referenced Range Modulator Number", tag_key: 'ReferencedRangeModulatorNumber', tag_vr: [:IS], tag_vm: ["1"], tag_str: '(300C,0104)', tag_sym: :referenced_range_modulator_number, tag_ndm: '300C0104', tag_ary: [0x300C,0x0104], tag_multiple: false, tag_note: ''},
3811
+ { tag_ps: '(300C,0111)', tag_name: "Omitted Beam Task Sequence", tag_key: 'OmittedBeamTaskSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(300C,0111)', tag_sym: :omitted_beam_task_sequence, tag_ndm: '300C0111', tag_ary: [0x300C,0x0111], tag_multiple: false, tag_note: ''},
3812
+ { tag_ps: '(300C,0112)', tag_name: "Reason for Omission", tag_key: 'ReasonForOmission', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(300C,0112)', tag_sym: :reason_for_omission, tag_ndm: '300C0112', tag_ary: [0x300C,0x0112], tag_multiple: false, tag_note: ''},
3813
+ { tag_ps: '(300C,0113)', tag_name: "Reason for Omission Description", tag_key: 'ReasonForOmissionDescription', tag_vr: [:LO], tag_vm: ["1"], tag_str: '(300C,0113)', tag_sym: :reason_for_omission_description, tag_ndm: '300C0113', tag_ary: [0x300C,0x0113], tag_multiple: false, tag_note: ''},
3796
3814
  { tag_ps: '(300E,0002)', tag_name: "Approval Status", tag_key: 'ApprovalStatus', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(300E,0002)', tag_sym: :approval_status, tag_ndm: '300E0002', tag_ary: [0x300E,0x0002], tag_multiple: false, tag_note: ''},
3797
3815
  { tag_ps: '(300E,0004)', tag_name: "Review Date", tag_key: 'ReviewDate', tag_vr: [:DA], tag_vm: ["1"], tag_str: '(300E,0004)', tag_sym: :review_date, tag_ndm: '300E0004', tag_ary: [0x300E,0x0004], tag_multiple: false, tag_note: ''},
3798
3816
  { tag_ps: '(300E,0005)', tag_name: "Review Time", tag_key: 'ReviewTime', tag_vr: [:TM], tag_vm: ["1"], tag_str: '(300E,0005)', tag_sym: :review_time, tag_ndm: '300E0005', tag_ary: [0x300E,0x0005], tag_multiple: false, tag_note: ''},
@@ -1,3 +1,4 @@
1
+ # coding: utf-8
1
2
  #
2
3
  # Copyright (C) 2014-2015 Enrico Rivarola
3
4
  #
@@ -59,6 +60,9 @@ module DcmDict
59
60
  { uid_value: '1.2.840.10008.1.2.4.101', uid_name: "MPEG2 Main Profile @ High Level", uid_type: :transfer_syntax},
60
61
  { uid_value: '1.2.840.10008.1.2.4.102', uid_name: "MPEG-4 AVC/H.264 High Profile / Level 4.1", uid_type: :transfer_syntax},
61
62
  { uid_value: '1.2.840.10008.1.2.4.103', uid_name: "MPEG-4 AVC/H.264 BD-compatible High Profile / Level 4.1", uid_type: :transfer_syntax},
63
+ { uid_value: '1.2.840.10008.1.2.4.104', uid_name: "MPEG-4 AVC/H.264 High Profile / Level 4.2 For 2D Video", uid_type: :transfer_syntax},
64
+ { uid_value: '1.2.840.10008.1.2.4.105', uid_name: "MPEG-4 AVC/H.264 High Profile / Level 4.2 For 3D Video", uid_type: :transfer_syntax},
65
+ { uid_value: '1.2.840.10008.1.2.4.106', uid_name: "MPEG-4 AVC/H.264 Stereo High Profile / Level 4.2", uid_type: :transfer_syntax},
62
66
  { uid_value: '1.2.840.10008.1.2.5', uid_name: "RLE Lossless", uid_type: :transfer_syntax},
63
67
  { uid_value: '1.2.840.10008.1.2.6.1', uid_name: "RFC 2557 MIME encapsulation", uid_type: :transfer_syntax},
64
68
  { uid_value: '1.2.840.10008.1.2.6.2', uid_name: "XML Encoding", uid_type: :transfer_syntax},
@@ -245,6 +249,7 @@ module DcmDict
245
249
  { uid_value: '1.2.840.10008.5.1.4.1.1.88.22', uid_name: "Enhanced SR Storage", uid_type: :sop_class},
246
250
  { uid_value: '1.2.840.10008.5.1.4.1.1.88.33', uid_name: "Comprehensive SR Storage", uid_type: :sop_class},
247
251
  { uid_value: '1.2.840.10008.5.1.4.1.1.88.34', uid_name: "Comprehensive 3D SR Storage", uid_type: :sop_class},
252
+ { uid_value: '1.2.840.10008.5.1.4.1.1.88.35', uid_name: "Extensible SR Storage", uid_type: :sop_class},
248
253
  { uid_value: '1.2.840.10008.5.1.4.1.1.88.40', uid_name: "Procedure Log Storage", uid_type: :sop_class},
249
254
  { uid_value: '1.2.840.10008.5.1.4.1.1.88.50', uid_name: "Mammography CAD SR Storage", uid_type: :sop_class},
250
255
  { uid_value: '1.2.840.10008.5.1.4.1.1.88.59', uid_name: "Key Object Selection Document Storage", uid_type: :sop_class},
@@ -22,6 +22,6 @@
22
22
  # applicable local, state, national or international regulations.
23
23
  #
24
24
  module DcmDict
25
- VERSION = "0.5.0"
26
- DICOM_DOC_VERSION = "2015b"
25
+ VERSION = "0.6.0"
26
+ DICOM_DOC_VERSION = "2015c"
27
27
  end
@@ -98,7 +98,7 @@ describe DcmDict::Dictionary::DataElementRecord do
98
98
  it "data should be not modifiable" do
99
99
  der = DcmDict::Dictionary::DataElementRecord.new(data)
100
100
  old_ps = der.tag_ps.dup
101
- expect{der.tag_ps << 'aaa'}.to raise_error
101
+ expect{der.tag_ps << 'aaa'}.to raise_error(RuntimeError)
102
102
  expect(der.tag_ps).to eq(old_ps)
103
103
  end
104
104
 
@@ -45,7 +45,7 @@ describe DcmDict::Dictionary::UidRecord do
45
45
  it "data should be not modifiable" do
46
46
  uid = DcmDict::Dictionary::UidRecord.new(data.dup)
47
47
  old_value = uid.uid_value.dup
48
- expect{uid.uid_value << 'aaa'}.to raise_error
48
+ expect{uid.uid_value << 'aaa'}.to raise_error(RuntimeError)
49
49
  expect(uid.uid_value).to eq(old_value)
50
50
  end
51
51
 
@@ -46,8 +46,8 @@ describe "Array Refinement" do
46
46
  [-1,-2]
47
47
  ].each do |tag|
48
48
  it "as #{tag.inspect}" do
49
- expect{ tag.tag_group_num }.to raise_error
50
- expect{ tag.tag_element_num }.to raise_error
49
+ expect{ tag.tag_group_num }.to raise_error(RuntimeError)
50
+ expect{ tag.tag_element_num }.to raise_error(RuntimeError)
51
51
 
52
52
  end
53
53
  end
@@ -141,9 +141,9 @@ describe "String refinement (internal)" do
141
141
  '(123,1fff0)'
142
142
  ].each do |src|
143
143
  it "should manage wrong value #{src.inspect}" do
144
- expect{src.to_tag_str}.to raise_error
145
- expect{src.to_tag_ndm}.to raise_error
146
- expect{src.to_tag_ary}.to raise_error
144
+ expect{src.to_tag_str}.to raise_error(RuntimeError)
145
+ expect{src.to_tag_ndm}.to raise_error(RuntimeError)
146
+ expect{src.to_tag_ary}.to raise_error(RuntimeError)
147
147
  end
148
148
  end
149
149
 
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.5.0
4
+ version: 0.6.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: 2015-04-24 00:00:00.000000000 Z
11
+ date: 2015-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri