Class: OpenEHR::RM::Composition::Content::Entry::Activity

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

Constant Summary

Constants included from OpenEHR::RM::Common::Archetyped::LocaterConstants

OpenEHR::RM::Common::Archetyped::LocaterConstants::CONTENT_PATH_SEPARATOR, OpenEHR::RM::Common::Archetyped::LocaterConstants::CURRENT_TRANSACTION_ID, OpenEHR::RM::Common::Archetyped::LocaterConstants::FRAGMENT_SEPARATOR, OpenEHR::RM::Common::Archetyped::LocaterConstants::MULTIPART_ID_DELIMITER, OpenEHR::RM::Common::Archetyped::LocaterConstants::ORGANIZER_PATH_SEPARATOR

Instance Attribute Summary collapse

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

#archetype_details, #archetype_node_id, #feeder_audit, #links, #name, #uid

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

#parent

Instance Method Summary collapse

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

#concept, #is_archetype_root?

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 = { }) ⇒ Activity

Returns a new instance of Activity.



144
145
146
147
148
149
# File 'lib/openehr/rm/composition/content/entry.rb', line 144

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_idObject

Returns the value of attribute action_archetype_id.



141
142
143
# File 'lib/openehr/rm/composition/content/entry.rb', line 141

def action_archetype_id
  @action_archetype_id
end

#descriptionObject

Returns the value of attribute description.



141
142
143
# File 'lib/openehr/rm/composition/content/entry.rb', line 141

def description
  @description
end

#timingObject

Returns the value of attribute timing.



141
142
143
# File 'lib/openehr/rm/composition/content/entry.rb', line 141

def timing
  @timing
end