- Timestamp:
- Sep 14, 2009, 11:55:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/branches/0.5/lib/open_ehr/rm/support/identification.rb
r262 r264 53 53 54 54 def initialize(args = {}) 55 super(args)56 55 if args[:value].nil? 57 56 self.rm_originator = args[:rm_originator] … … 62 61 self.specialisation = args[:specialisation] 63 62 else 64 s elf.value = args[:value]63 super(args) 65 64 end 66 65 end … … 84 83 85 84 def domain_concept 86 return @concept_name + '-' + @specialisation 85 if @specialisation.nil? 86 return @concept_name 87 else 88 return @concept_name + '-' + @specialisation 89 end 87 90 end 88 91 … … 131 134 @specialisation = specialisation 132 135 end 136 133 137 def version_id=(version_id) 134 138 raise ArgumentError, "version_id not valid" if version_id.nil? or version_id.empty?
Note:
See TracChangeset
for help on using the changeset viewer.