Class: OpenehrRails::Rm::DvBoolean

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



94
95
96
# File 'lib/openehr_rails/rm/data_values.rb', line 94

def to_canonical_hash
  { '_type' => 'DV_BOOLEAN', 'value' => boolean_value }
end

#valueObject



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

def value = boolean_value