Class: OpenEHR::RM::Composition::EventContext
- Inherits:
-
Pathable
- Object
- Pathable
- OpenEHR::RM::Composition::EventContext
- Defined in:
- lib/open_ehr/rm/composition.rb
Instance Attribute Summary collapse
-
#end_time ⇒ Object
Returns the value of attribute end_time.
-
#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.
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ EventContext
constructor
A new instance of EventContext.
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_time ⇒ Object
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 |
#location ⇒ Object
Returns the value of attribute location.
57 58 59 |
# File 'lib/open_ehr/rm/composition.rb', line 57 def location @location end |
#other_context ⇒ Object
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 |
#participations ⇒ Object
Returns the value of attribute participations.
57 58 59 |
# File 'lib/open_ehr/rm/composition.rb', line 57 def participations @participations end |
#setting ⇒ Object
Returns the value of attribute setting.
57 58 59 |
# File 'lib/open_ehr/rm/composition.rb', line 57 def setting @setting end |
#start_time ⇒ Object
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 |