module OpenEHR module AM module Archetype module Ontology class Archetype_Ontology attr_accessor :constraint_codes, :specialisation_depth attr_accessor :term_attribute_names, :term_codes attr_accessor :terminologies_available def constraint_binding(a_terminology, a_code) end def constraint_definition(a_lang, a_code) end def has_language?(a_lang) end def has_terminology?(a_terminology) end def term_binding(a_terminology, a_code) end def term_definition(a_lang, a_code) end end class Archetype_Term attr_accessor :code, :items def initialize(code, items) if code == nil raise ArgumentError, "Code is empty" end if items.keys == nil raise ArgumentError, "Items is empty" end @code = code @items = items end def keys items.keys end end end # end of Ontology end # end of Archetype end # end of AM end # end of OpenEHR