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

Inherits:
OpenEHR::RM::Common::Archetyped::Pathable show all
Defined in:
lib/openehr/rm/composition.rb

Instance Attribute Summary collapse

Attributes inherited from OpenEHR::RM::Common::Archetyped::Pathable

#parent

Instance Method Summary collapse

Methods inherited from OpenEHR::RM::Common::Archetyped::Pathable

#item_at_path, #items_at_path, #path_exists?, #path_of_item, #path_unique?

Constructor Details

#initialize(args = { }) ⇒ EventContext

Returns a new instance of EventContext.



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

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.



59
60
61
# File 'lib/openehr/rm/composition.rb', line 59

def end_time
  @end_time
end

#locationObject

Returns the value of attribute location.



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

def location
  @location
end

#other_contextObject

Returns the value of attribute other_context.



59
60
61
# File 'lib/openehr/rm/composition.rb', line 59

def other_context
  @other_context
end

#participationsObject

Returns the value of attribute participations.



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

def participations
  @participations
end

#settingObject

Returns the value of attribute setting.



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

def setting
  @setting
end

#start_timeObject

Returns the value of attribute start_time.



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

def start_time
  @start_time
end