Class: OpenEHR::RComponents::RObservation
- Defined in:
- lib/rcomponents.rb
Instance Attribute Summary collapse
-
#protocol ⇒ Object
Returns the value of attribute protocol.
-
#state ⇒ Object
Returns the value of attribute state.
Attributes inherited from REntry
Attributes inherited from Base
#node_id, #path, #rm_type_name
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ RObservation
constructor
A new instance of RObservation.
Constructor Details
#initialize(args = {}) ⇒ RObservation
Returns a new instance of RObservation.
41 42 43 44 45 |
# File 'lib/rcomponents.rb', line 41 def initialize(args = {}) self.state = args[:state] self.protocol = args[:protocol] super end |
Instance Attribute Details
#protocol ⇒ Object
Returns the value of attribute protocol.
39 40 41 |
# File 'lib/rcomponents.rb', line 39 def protocol @protocol end |
#state ⇒ Object
Returns the value of attribute state.
39 40 41 |
# File 'lib/rcomponents.rb', line 39 def state @state end |