Class: OpenEHR::RM::Composition::EventContext
- Inherits:
-
OpenEHR::RM::Common::Archetyped::Pathable
- Object
- OpenEHR::RM::Common::Archetyped::Pathable
- OpenEHR::RM::Composition::EventContext
- Defined in:
- lib/openehr/rm/composition.rb
Instance Attribute Summary collapse
-
#end_time ⇒ Object
Returns the value of attribute end_time.
-
#health_care_facility ⇒ Object
Returns the value of attribute health_care_facility.
-
#location ⇒ Object
Returns the value of attribute location.
-
#other_context ⇒ Object
Returns the value of attribute other_context.
-
#participations ⇒ Object
Returns the value of attribute participations.
-
#setting ⇒ Object
Returns the value of attribute setting.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
Attributes inherited from OpenEHR::RM::Common::Archetyped::Pathable
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ EventContext
constructor
A new instance of EventContext.
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_time ⇒ Object
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_facility ⇒ Object
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 |
#location ⇒ Object
Returns the value of attribute location.
71 72 73 |
# File 'lib/openehr/rm/composition.rb', line 71 def location @location end |
#other_context ⇒ Object
Returns the value of attribute other_context.
72 73 74 |
# File 'lib/openehr/rm/composition.rb', line 72 def other_context @other_context end |
#participations ⇒ Object
Returns the value of attribute participations.
71 72 73 |
# File 'lib/openehr/rm/composition.rb', line 71 def participations @participations end |
#setting ⇒ Object
Returns the value of attribute setting.
71 72 73 |
# File 'lib/openehr/rm/composition.rb', line 71 def setting @setting end |
#start_time ⇒ Object
Returns the value of attribute start_time.
71 72 73 |
# File 'lib/openehr/rm/composition.rb', line 71 def start_time @start_time end |