source: ruby/branches/TRY-open_ehr_gem/lib/open_ehr.rb@ 318

Last change on this file since 318 was 318, checked in by Tatsukawa, Akimichi, 15 years ago

successfully parsing all the adl files under http://www.openehr.org/svn/knowledge/archetypes/dev/adl/openehr/ehr directory

File size: 2.5 KB
Line 
1$:.unshift File.join(File.dirname(__FILE__))
2#require 'am.rb'
3#require 'rm.rb'
4#require 'assumed_library_types.rb'
5
6
7$:.unshift File.join(File.dirname(__FILE__))
8#require 'rm/common/resource.rb'
9#require 'rm/support/terminology/openehr_code_set_identifier.rb'
10
11module OpenEhr
12 module RM
13 module Common
14 module Resource
15 autoload :AuthoredResource, "rm/common/resource.rb"
16 autoload :TranslationDetails, "rm/common/resource.rb"
17 autoload :ResourceDescription, "rm/common/resource.rb"
18 autoload :ResourceDescriptionItem, "rm/common/resource.rb"
19 end
20 end
21 module Support
22 module AssumedTypes
23 autoload :Interval, "rm/support/assumed_types.rb"
24 autoload :List, "rm/support/assumed_types.rb"
25 end
26
27 module Identification
28 autoload :ObjectID, "rm/support/identification.rb"
29 autoload :ObjectRef, "rm/support/identification.rb"
30 autoload :ArchetypeID, "rm/support/identification.rb"
31 end
32 end
33 end
34
35 module AM
36 module Archetype
37 autoload :ARCHETYPE, "am/archetype/archetype.rb"
38# autoload :ConstraintModel, "am/archetype/constraint_model/archetype_constraint.rb"
39 autoload :Ontology, "am/archetype/ontology.rb"
40
41 module Archetype_Description
42 autoload :ARCHETYPE_DESCRIPTION, "am/archetype/archetype_description/archetype_description.rb"
43 end
44
45 module ConstraintModel
46 autoload :ARCHETYPE_CONSTRAINT, "am/archetype/constraint_model/archetype_constraint.rb"
47 autoload :CARDINALITY, "am/archetype/constraint_model/archetype_constraint.rb"
48 autoload :C_SINGLE_ATTRIBUTE, "am/archetype/constraint_model/archetype_constraint.rb"
49 autoload :ARCHETYPE_SLOT, "am/archetype/constraint_model/archetype_constraint.rb"
50 autoload :Primitive, "am/archetype/constraint_model/primitive.rb"
51 end #end of ConstraintModel
52
53 module Assertion
54 autoload :ASSERTION, "am/archetype/constraint_model/assertion.rb"
55 end
56
57 end # of Archetype
58
59 module OpenEHR_Profile
60 module DataTypes
61 module Basic
62 autoload :C_DV_STATE, "am/openehr_profile/data_types/basic.rb"
63 end
64
65 module Text
66 autoload :C_CODE_PHASE, "am/openehr_profile/data_types/text.rb"
67 end
68
69 module Quantity
70 autoload :C_DV_QUANTITY, "am/openehr_profile/data_types/quantity.rb"
71 autoload :C_DV_ORDINAL, "am/openehr_profile/data_types/quantity.rb"
72 autoload :C_QUANTITY_ITEM, "am/openehr_profile/data_types/quantity.rb"
73 end
74 end
75 end
76 end # of AM
77end # of OpenEHR
78
79
Note: See TracBrowser for help on using the repository browser.