source: ruby/branches/0.5/lib/open_ehr/am.rb@ 216

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

adjust for rails

File size: 1.9 KB
Line 
1#! /usr/bin/env ruby
2# component: openEHR Ruby reference implementation
3# description: This file includes Archetype
4# class that contains Archetype values.
5# Main concept is based on Java ref impl.
6# We should make refactoring to suit for Ruby way.
7# keywords: archetype
8# author: Akimichi TATSUKAWA, Shinji KOBAYASHI
9# support: openEHR.jp
10# license: openEHR open source license
11#
12
13$:.unshift File.join(File.dirname(__FILE__))
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 :ARCHETYPE_SLOT, "am/archetype/constraint_model/archetype_constraint.rb"
30 autoload :Primitive, "am/archetype/constraint_model/primitive.rb"
31 end #end of ConstraintModel
32
33 module Assertion
34 autoload :ASSERTION, "am/archetype/constraint_model/assertion.rb"
35 end
36
37 end # of Archetype
38
39 module OpenEHR_Profile
40 module DataTypes
41 module Basic
42 autoload :C_DV_STATE, "am/openehr_profile/data_types/basic.rb"
43 end
44
45 module Text
46 autoload :C_CODE_PHASE, "am/openehr_profile/data_types/text.rb"
47 end
48
49 module Quantity
50 autoload :C_DV_QUANTITY, "am/openehr_profile/data_types/quantity.rb"
51 autoload :C_DV_ORDINAL, "am/openehr_profile/data_types/quantity.rb"
52 autoload :C_QUANTITY_ITEM, "am/openehr_profile/data_types/quantity.rb"
53 end
54 end
55 end
56 end # of AM
57end # of OpenEHR
Note: See TracBrowser for help on using the repository browser.