Changeset 301 for ruby/branches/0.5/lib/open_ehr/rm/common
- Timestamp:
- Sep 26, 2009, 10:15:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/branches/0.5/lib/open_ehr/rm/common/archetyped.rb
r300 r301 78 78 end 79 79 80 def item_at_path(path) 81 if !@path.nil? 82 if @path == "" 83 raise ArgumentError, "path is not valid" 84 end 80 def concept 81 if self.is_archetype_root? 82 return DvText.new(:value => 83 @archetype_details.archetype_id.concept_name) 84 else 85 raise ArgumentError, 'this is not root' 85 86 end 86 end87 88 def concept89 return DvText.new(:value =>90 @archetype_details.archetype_id.concept_name)91 87 end 92 88
Note:
See TracChangeset
for help on using the changeset viewer.