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, normalize_path, path_attribute, path_attributes, #path_children, #path_exists?, #path_of_item, #path_unique?, select_by_predicate

Constructor Details

#initialize(args = { }) ⇒ EventContext

Returns a new instance of EventContext.



74
75
76
77
78
79
80
81
82
83
# File 'lib/openehr/rm/composition.rb', line 74

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]
  self.health_care_facility = args[:health_care_facility]
end

Instance Attribute Details

#end_timeObject

Returns the value of attribute end_time.



72
73
74
# File 'lib/openehr/rm/composition.rb', line 72

def end_time
  @end_time
end

#health_care_facilityObject

Returns the value of attribute health_care_facility.



72
73
74
# File 'lib/openehr/rm/composition.rb', line 72

def health_care_facility
  @health_care_facility
end

#locationObject

Returns the value of attribute location.



71
72
73
# File 'lib/openehr/rm/composition.rb', line 71

def location
  @location
end

#other_contextObject

Returns the value of attribute other_context.



72
73
74
# File 'lib/openehr/rm/composition.rb', line 72

def other_context
  @other_context
end

#participationsObject

Returns the value of attribute participations.



71
72
73
# File 'lib/openehr/rm/composition.rb', line 71

def participations
  @participations
end

#settingObject

Returns the value of attribute setting.



71
72
73
# File 'lib/openehr/rm/composition.rb', line 71

def setting
  @setting
end

#start_timeObject

Returns the value of attribute start_time.



71
72
73
# File 'lib/openehr/rm/composition.rb', line 71

def start_time
  @start_time
end