Class: OpenEHR::RM::Composition::EventContext

Inherits:
Pathable
  • Object
show all
Defined in:
lib/open_ehr/rm/composition.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ EventContext

Returns a new instance of EventContext.



60
61
62
63
64
65
66
67
68
# File 'lib/open_ehr/rm/composition.rb', line 60

def initialize(args = { })
  super(args)
  self.start_time = args[:start_time]
  self.setting = args[:setting]
  self.end_time = args[:end_time]
  self.participations = args[:participations]
  self.location = args[:location]
  self.other_context = args[:other_context]
end

Instance Attribute Details

#end_timeObject

Returns the value of attribute end_time.



58
59
60
# File 'lib/open_ehr/rm/composition.rb', line 58

def end_time
  @end_time
end

#locationObject

Returns the value of attribute location.



57
58
59
# File 'lib/open_ehr/rm/composition.rb', line 57

def location
  @location
end

#other_contextObject

Returns the value of attribute other_context.



58
59
60
# File 'lib/open_ehr/rm/composition.rb', line 58

def other_context
  @other_context
end

#participationsObject

Returns the value of attribute participations.



57
58
59
# File 'lib/open_ehr/rm/composition.rb', line 57

def participations
  @participations
end

#settingObject

Returns the value of attribute setting.



57
58
59
# File 'lib/open_ehr/rm/composition.rb', line 57

def setting
  @setting
end

#start_timeObject

Returns the value of attribute start_time.



57
58
59
# File 'lib/open_ehr/rm/composition.rb', line 57

def start_time
  @start_time
end