Class: OpenEHR::RM::Composition::Content::Entry::Activity
- Inherits:
-
Locatable
- Object
- Locatable
- OpenEHR::RM::Composition::Content::Entry::Activity
- Defined in:
- lib/open_ehr/rm/composition/content/entry.rb
Instance Attribute Summary collapse
-
#action_archetype_id ⇒ Object
readonly
Returns the value of attribute action_archetype_id.
-
#description ⇒ Object
Returns the value of attribute description.
-
#timing ⇒ Object
Returns the value of attribute timing.
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Activity
constructor
A new instance of Activity.
Constructor Details
#initialize(args = { }) ⇒ Activity
Returns a new instance of Activity.
135 136 137 138 139 140 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 135 def initialize(args = { }) super(args) self.description = args[:description] self.timing = args[:timing] self.action_archetype_id = args[:action_archetype_id] end |
Instance Attribute Details
#action_archetype_id ⇒ Object (readonly)
Returns the value of attribute action_archetype_id.
133 134 135 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 133 def action_archetype_id @action_archetype_id end |
#description ⇒ Object
Returns the value of attribute description.
133 134 135 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 133 def description @description end |
#timing ⇒ Object
Returns the value of attribute timing.
133 134 135 |
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 133 def timing @timing end |