Changeset 327 for ruby/branches/TRY-open_ehr_gem/lib/am/archetype
- Timestamp:
- Oct 31, 2009, 8:47:11 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/branches/TRY-open_ehr_gem/lib/am/archetype/ontology.rb
r167 r327 4 4 module Ontology 5 5 class ARCHETYPE_ONTOLOGY 6 attr_accessor :constraint_codes, :specialisation_depth 7 attr_accessor :term_attribute_names, :term_codes6 attr_accessor :constraint_codes, :specialisation_depth, :term_definitions 7 #attr_accessor :term_attribute_names, :term_codes 8 8 attr_accessor :terminologies_available 9 10 def initialize(args = {}) 11 @terminologies_available = args[:terminologies_available] 12 @term_definitions = args[:term_definitions] 13 @term_binding = args[:term_binding] 14 end 9 15 10 16 def constraint_binding(a_terminology, a_code) … … 31 37 32 38 def initialize(args = { }) 33 34 39 @code = if args[:code] 35 40 args[:code]
Note:
See TracChangeset
for help on using the changeset viewer.