Class: OpenEHR::RM::Demographic::Role

Inherits:
Party
  • Object
show all
Defined in:
lib/open_ehr/rm/demographic.rb

Instance Attribute Summary collapse

Attributes inherited from Party

#contacts, #details, #identities, #relationships, #reverse_relationships, #uid

Instance Method Summary collapse

Methods inherited from Party

#parent=

Constructor Details

#initialize(args = { }) ⇒ Role

Returns a new instance of Role.



188
189
190
191
192
193
# File 'lib/open_ehr/rm/demographic.rb', line 188

def initialize(args = { })
  super(args)
  self.performer = args[:performer]
  self.capabilities = args[:capabilities]
  self.time_validity = args[:time_validity]
end

Instance Attribute Details

#capabilitiesObject

Returns the value of attribute capabilities.



185
186
187
# File 'lib/open_ehr/rm/demographic.rb', line 185

def capabilities
  @capabilities
end

#performerObject

Returns the value of attribute performer.



185
186
187
# File 'lib/open_ehr/rm/demographic.rb', line 185

def performer
  @performer
end

#time_validityObject

Returns the value of attribute time_validity.



186
187
188
# File 'lib/open_ehr/rm/demographic.rb', line 186

def time_validity
  @time_validity
end