Class: OpenEHR::RM::DataStructures::DataStructure

Inherits:
Common::Archetyped::Locatable show all
Defined in:
lib/open_ehr/rm/data_structures.rb

Constant Summary

Constants included from Common::Archetyped::LocaterConstants

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

Instance Attribute Summary

Attributes inherited from Common::Archetyped::Locatable

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

Attributes inherited from Common::Archetyped::Pathable

#parent

Instance Method Summary collapse

Methods inherited from Common::Archetyped::Locatable

#concept, #is_archetype_root?

Methods inherited from Common::Archetyped::Pathable

#item_at_path, #items_at_path, #path_exists?, #path_of_item, #path_unique?

Constructor Details

#initialize(args = { }) ⇒ DataStructure

Returns a new instance of DataStructure.



15
16
17
# File 'lib/open_ehr/rm/data_structures.rb', line 15

def initialize(args = { })
  super(args)
end

Instance Method Details

#as_hierarchyObject

Raises:

  • (NotImplementedError)


19
20
21
# File 'lib/open_ehr/rm/data_structures.rb', line 19

def as_hierarchy
  raise NotImplementedError, "as_hirarchy must be implemented"
end