Class: OpenehrRails::Rm::DvParsable

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

Instance Method Summary collapse

Methods inherited from DataValue

find_sti_class, matching, sti_class_for, sti_name

Instance Method Details

#to_canonical_hashObject



177
178
179
# File 'lib/openehr_rails/rm/data_values.rb', line 177

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

#valueObject



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

def value = text_value