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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ Participation

Returns a new instance of Participation.



161
162
163
164
165
166
# File 'lib/open_ehr/rm/common/generic.rb', line 161

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.



158
159
160
# File 'lib/open_ehr/rm/common/generic.rb', line 158

def function
  @function
end

#modeObject

Returns the value of attribute mode.



158
159
160
# File 'lib/open_ehr/rm/common/generic.rb', line 158

def mode
  @mode
end

#performerObject

Returns the value of attribute performer.



158
159
160
# File 'lib/open_ehr/rm/common/generic.rb', line 158

def performer
  @performer
end

#timeObject

Returns the value of attribute time.



159
160
161
# File 'lib/open_ehr/rm/common/generic.rb', line 159

def time
  @time
end