Class: OpenehrRails::Rm::DvText

Inherits:
DataValue
  • Object
show all
Defined in:
lib/openehr_rails/rm/data_values.rb

Direct Known Subclasses

DvCodedText

Instance Method Summary collapse

Methods inherited from DataValue

find_sti_class, matching, sti_class_for, sti_name

Instance Method Details

#to_canonical_hashObject



10
11
12
# File 'lib/openehr_rails/rm/data_values.rb', line 10

def to_canonical_hash
  { '_type' => 'DV_TEXT', 'value' => text_value }
end

#valueObject



8
# File 'lib/openehr_rails/rm/data_values.rb', line 8

def value = text_value