Class: OpenEHR::RM::Common::Generic::Participation

Inherits:
Object
  • Object
show all
Defined in:
lib/openehr/rm/common/generic.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ Participation

Returns a new instance of Participation.



159
160
161
162
163
164
# File 'lib/openehr/rm/common/generic.rb', line 159

def initialize(args ={ })
  self.performer = args[:performer]
  self.function = args[:function]
  self.mode = args[:mode]
  self.time = args[:time]
end

Instance Attribute Details

#functionObject

Returns the value of attribute function.



156
157
158
# File 'lib/openehr/rm/common/generic.rb', line 156

def function
  @function
end

#modeObject

Returns the value of attribute mode.



156
157
158
# File 'lib/openehr/rm/common/generic.rb', line 156

def mode
  @mode
end

#performerObject

Returns the value of attribute performer.



156
157
158
# File 'lib/openehr/rm/common/generic.rb', line 156

def performer
  @performer
end

#timeObject

Returns the value of attribute time.



157
158
159
# File 'lib/openehr/rm/common/generic.rb', line 157

def time
  @time
end