Class: OpenEHR::RComponents::RObservation

Inherits:
REntry
  • Object
show all
Defined in:
lib/rcomponents.rb

Instance Attribute Summary collapse

Attributes inherited from REntry

#data

Attributes inherited from Base

#node_id, #path, #rm_type_name

Instance Method Summary collapse

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

#protocolObject

Returns the value of attribute protocol.



39
40
41
# File 'lib/rcomponents.rb', line 39

def protocol
  @protocol
end

#stateObject

Returns the value of attribute state.



39
40
41
# File 'lib/rcomponents.rb', line 39

def state
  @state
end