[4] | 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 |
|
---|
[64] | 13 | $:.unshift File.join(File.dirname(__FILE__))
|
---|
[4] | 14 | require 'rm/common/resource.rb'
|
---|
| 15 | #require 'rm/support/terminology/openehr_code_set_identifier.rb'
|
---|
| 16 | module OpenEHR
|
---|
| 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"
|
---|
[32] | 29 | autoload :ARCHETYPE_SLOT, "am/archetype/constraint_model/archetype_constraint.rb"
|
---|
[4] | 30 | autoload :Primitive, "am/archetype/constraint_model/primitive.rb"
|
---|
| 31 | end #end of ConstraintModel
|
---|
[23] | 32 |
|
---|
| 33 | module Assertion
|
---|
| 34 | autoload :ASSERTION, "am/archetype/constraint_model/assertion.rb"
|
---|
| 35 | end
|
---|
| 36 |
|
---|
[4] | 37 | end # of Archetype
|
---|
[23] | 38 |
|
---|
| 39 | module OpenEHR_Profile
|
---|
| 40 | module Data_Types
|
---|
| 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
|
---|
[4] | 56 | end # of AM
|
---|
| 57 | end # of OpenEHR
|
---|