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, #path_exists?, #path_of_item, #path_unique?

Constructor Details

#initialize(args = { }) ⇒ Activity

Returns a new instance of Activity.



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

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.



136
137
138
# File 'lib/openehr/rm/composition/content/entry.rb', line 136

def action_archetype_id
  @action_archetype_id
end

#descriptionObject

Returns the value of attribute description.



136
137
138
# File 'lib/openehr/rm/composition/content/entry.rb', line 136

def description
  @description
end

#timingObject

Returns the value of attribute timing.



136
137
138
# File 'lib/openehr/rm/composition/content/entry.rb', line 136

def timing
  @timing
end