Class: OpenehrRails::Rm::DvCount
- Inherits:
-
DataValue
- Object
- ActiveRecord::Base
- DataValue
- OpenehrRails::Rm::DvCount
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_hash ⇒ Object
47
48
49
|
# File 'lib/openehr_rails/rm/data_values.rb', line 47
def to_canonical_hash
{ '_type' => 'DV_COUNT', 'magnitude' => integer_value }
end
|
#value ⇒ Object
45
|
# File 'lib/openehr_rails/rm/data_values.rb', line 45
def value = integer_value
|