[4] | 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 |
|
---|
| 14 | require 'rm/common/resource.rb'
|
---|
| 15 | #require 'rm/support/terminology/openehr_code_set_identifier.rb'
|
---|
[168] | 16 | module OpenEHR
|
---|
[4] | 17 | module AM
|
---|
| 18 | module Archetype
|
---|
[21] | 19 | autoload :ARCHETYPE, "am/archetype/archetype.rb"
|
---|
[4] | 20 | autoload :Constraint_Model, "am/archetype/constraint_model/archetype_constraint.rb"
|
---|
| 21 | autoload :Ontology, "am/archetype/ontology.rb"
|
---|
[21] | 22 |
|
---|
| 23 | module Archetype_Description
|
---|
| 24 | autoload :ARCHETYPE_DESCRIPTION, "am/archetype/archetype_description/archetype_description.rb"
|
---|
| 25 | end
|
---|
| 26 |
|
---|
[4] | 27 | module Constraint_Model
|
---|
[21] | 28 | autoload :ARCHETYPE_CONSTRAINT, "am/archetype/constraint_model/archetype_constraint.rb"
|
---|
[4] | 29 | autoload :Primitive, "am/archetype/constraint_model/primitive.rb"
|
---|
| 30 | end #end of ConstraintModel
|
---|
[23] | 31 |
|
---|
| 32 | module Assertion
|
---|
| 33 | autoload :ASSERTION, "am/archetype/constraint_model/assertion.rb"
|
---|
| 34 | end
|
---|
| 35 |
|
---|
[4] | 36 | end # of Archetype
|
---|
[23] | 37 |
|
---|
| 38 | module OpenEHR_Profile
|
---|
[168] | 39 | module Data_Types
|
---|
[23] | 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
|
---|
[4] | 55 | end # of AM
|
---|
| 56 | end # of OpenEHR
|
---|