Module: DcmDict::SourceData::DetachedData

Defined in:
lib/dcm_dict/source_data/detached_data.rb

Class Method Summary collapse

Class Method Details

.make_group_length_data(tag) ⇒ Object

Make group length data using tag



31
32
33
34
35
36
37
38
# File 'lib/dcm_dict/source_data/detached_data.rb', line 31

def self.make_group_length_data(tag)
  make_detached_data({ :tag_ps =>  "(#{tag.tag_group_str},0000)",
                       :tag_name => 'Group Length',
                       :tag_key =>  'GroupLength',
                       :tag_vr =>  'UL',
                       :tag_vm =>  '1',
                       :tag_note =>  'Dummy Record'})
end

.make_private_creator_data(tag) ⇒ Object

Make private creator data using tag



41
42
43
44
45
46
47
48
# File 'lib/dcm_dict/source_data/detached_data.rb', line 41

def self.make_private_creator_data(tag)
  make_detached_data({ :tag_ps =>  tag.to_tag_str,
                       :tag_name => 'Private Creator',
                       :tag_key =>  'PrivateCreator',
                       :tag_vr =>  'LO',
                       :tag_vm =>  '1',
                       :tag_note =>  'Dummy Record'})
end

.make_unknown_data(tag) ⇒ Object

Make unknow data element data using tag



51
52
53
54
55
56
57
58
# File 'lib/dcm_dict/source_data/detached_data.rb', line 51

def self.make_unknown_data(tag)
  make_detached_data({ :tag_ps =>  tag.to_tag_str,
                       :tag_name => 'Unknown Tag',
                       :tag_key =>  'UnknownTag',
                       :tag_vr =>  'UN',
                       :tag_vm =>  '1',
                       :tag_note =>  'Dummy Record'})
end