Class: OpenEHR::RM::Common::Generic::Participation
- Inherits:
-
Object
- Object
- OpenEHR::RM::Common::Generic::Participation
- Defined in:
- lib/open_ehr/rm/common/generic.rb
Instance Attribute Summary collapse
-
#function ⇒ Object
Returns the value of attribute function.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#performer ⇒ Object
Returns the value of attribute performer.
-
#time ⇒ Object
Returns the value of attribute time.
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Participation
constructor
A new instance of Participation.
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
#function ⇒ Object
Returns the value of attribute function.
158 159 160 |
# File 'lib/open_ehr/rm/common/generic.rb', line 158 def function @function end |
#mode ⇒ Object
Returns the value of attribute mode.
158 159 160 |
# File 'lib/open_ehr/rm/common/generic.rb', line 158 def mode @mode end |
#performer ⇒ Object
Returns the value of attribute performer.
158 159 160 |
# File 'lib/open_ehr/rm/common/generic.rb', line 158 def performer @performer end |
#time ⇒ Object
Returns the value of attribute time.
159 160 161 |
# File 'lib/open_ehr/rm/common/generic.rb', line 159 def time @time end |