source: ruby/branches/0.0/models/am.rb@ 167

Last change on this file since 167 was 167, checked in by KOBAYASHI, Shinji, 15 years ago

adjust for rails

File size: 1.9 KB
Line 
1$:.unshift File.join(File.dirname(__FILE__))
2#! /usr/bin/env ruby
3# component: openEHR Ruby reference implementation
4# description: This file includes Archetype
5# class that contains Archetype values.
6# Main concept is based on Java ref impl.
7# We should make refactoring to suit for Ruby way.
8# keywords: archetype
9# author: Akimichi TATSUKAWA, Shinji KOBAYASHI
10# support: openEHR.jp
11# license: openEHR open source license
12#
13
14require 'rm/common/resource.rb'
15#require 'rm/support/terminology/openehr_code_set_identifier.rb'
16module OpenEhr
17 module AM
18 module Archetype
19 autoload :ARCHETYPE, "am/archetype/archetype.rb"
20 autoload :Constraint_Model, "am/archetype/constraint_model/archetype_constraint.rb"
21 autoload :Ontology, "am/archetype/ontology.rb"
22
23 module Archetype_Description
24 autoload :ARCHETYPE_DESCRIPTION, "am/archetype/archetype_description/archetype_description.rb"
25 end
26
27 module Constraint_Model
28 autoload :ARCHETYPE_CONSTRAINT, "am/archetype/constraint_model/archetype_constraint.rb"
29 autoload :Primitive, "am/archetype/constraint_model/primitive.rb"
30 end #end of ConstraintModel
31
32 module Assertion
33 autoload :ASSERTION, "am/archetype/constraint_model/assertion.rb"
34 end
35
36 end # of Archetype
37
38 module OpenEHR_Profile
39 module DataTypes
40 module Basic
41 autoload :C_DV_STATE, "am/openehr_profile/data_types/basic.rb"
42 end
43
44 module Text
45 autoload :C_CODE_PHASE, "am/openehr_profile/data_types/text.rb"
46 end
47
48 module Quantity
49 autoload :C_DV_QUANTITY, "am/openehr_profile/data_types/quantity.rb"
50 autoload :C_DV_ORDINAL, "am/openehr_profile/data_types/quantity.rb"
51 autoload :C_QUANTITY_ITEM, "am/openehr_profile/data_types/quantity.rb"
52 end
53 end
54 end
55 end # of AM
56end # of OpenEHR
Note: See TracBrowser for help on using the repository browser.