Class: OpenEHR::RM::Composition::Content::Entry::Action

Inherits:
CareEntry 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 CareEntry

#guideline_id, #protocol

Attributes inherited from Entry

#encoding, #language, #other_participations, #provider, #subject, #workflow_id

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 Entry

#subject_is_self?

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

Returns a new instance of Action.



171
172
173
174
175
176
177
# File 'lib/openehr/rm/composition/content/entry.rb', line 171

def initialize(args = { })
  super(args)
  self.description = args[:description]
  self.time = args[:time]
  self.ism_transition = args[:ism_transition]
  self.instruction_details = args[:instruction_details]
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



168
169
170
# File 'lib/openehr/rm/composition/content/entry.rb', line 168

def description
  @description
end

#instruction_detailsObject

Returns the value of attribute instruction_details.



169
170
171
# File 'lib/openehr/rm/composition/content/entry.rb', line 169

def instruction_details
  @instruction_details
end

#ism_transitionObject

Returns the value of attribute ism_transition.



168
169
170
# File 'lib/openehr/rm/composition/content/entry.rb', line 168

def ism_transition
  @ism_transition
end

#timeObject

Returns the value of attribute time.



168
169
170
# File 'lib/openehr/rm/composition/content/entry.rb', line 168

def time
  @time
end