Index: ruby/branches/TRY-open_ehr_gem/lib/rm/support/identification.rb
===================================================================
--- ruby/branches/TRY-open_ehr_gem/lib/rm/support/identification.rb	(revision 304)
+++ ruby/branches/TRY-open_ehr_gem/lib/rm/support/identification.rb	(revision 306)
@@ -2,5 +2,5 @@
 # http://www.openehr.org/uml/release-1.0.1/Browsable/_9_0_76d0249_1109331021343_528780_2066Report.html
 # Ticket refs #39
-module OpenEHR
+module OpenEhr
   module RM
     module Support
@@ -15,5 +15,5 @@
           def value=(value)
             raise ArgumentError, "empty value" if value.nil? or value.empty?
-            @value = value            
+            @value = value
           end
 
@@ -52,15 +52,14 @@
 
         class ArchetypeID < ObjectID
-          attr_reader :rm_originator, :rm_name, :rm_entity,
-                      :concept_name, :specialisation, :version_id
-          
+          attr_accessor :rm_originator, :rm_name, :rm_entity, :concept_name, :specialisation, :version_id
+
           def initialize(args = {})
             if args[:value].nil?
-              self.rm_originator = args[:rm_originator]
-              self.rm_name = args[:rm_name]
-              self.rm_entity = args[:rm_entity]
-              self.concept_name = args[:concept_name]
-              self.version_id = args[:version_id]
-              self.specialisation = args[:specialisation]
+              @rm_originator = args[:rm_originator]
+              @rm_name = args[:rm_name]
+              @rm_entity = args[:rm_entity]
+              @concept_name = args[:concept_name]
+              @version_id = args[:version_id]
+              @specialisation = args[:specialisation]
             else
               super(args)
@@ -98,53 +97,53 @@
           end
 
-          def concept_name=(concept_name)
-            if concept_name.nil? or concept_name.empty?
-              raise ArgumentError, 'concept_name is mandatory'
-            end
-            @concept_name = concept_name
-          end
-
-          def domain_concept=(domain_concept)
-            if domain_concept.nil? or domain_concept.empty?
-              raise ArgumentError, "domain concept not valid"
-            end
-            if /([a-zA-Z]\w+)(-([a-zA-Z]\w))?/ =~ domain_concept
-              self.concept_name = $1
-              self.specialisation = $3
-            else
-              raise ArgumentError, 'invalid domain concept form'
-            end
-          end
-
-          def rm_name=(rm_name)
-            raise ArgumentError, "rm_name not valid" if rm_name.nil? or rm_name.empty?
-            @rm_name = rm_name
-          end
-
-          def rm_entity=(rm_entity)
-            if rm_entity.nil? or rm_entity.empty?
-              raise ArgumentError, "rm_entity is mandatory"
-            end
-            @rm_entity = rm_entity
-          end
-
-          def rm_originator=(rm_originator)
-            if rm_originator.nil? or rm_originator.empty?
-              raise ArgumentError, "rm_originator not valid"
-            end
-            @rm_originator = rm_originator
-          end
-
-          def specialisation=(specialisation)
-            if !specialisation.nil? and specialisation.empty?
-              raise ArgumentError, "rm_specialisation not valid" 
-            end
-            @specialisation = specialisation
-          end
-
-          def version_id=(version_id)
-            raise ArgumentError, "version_id not valid" if version_id.nil? or version_id.empty?
-            @version_id = version_id
-          end
+#           def concept_name=(concept_name)
+#             if concept_name.nil? or concept_name.empty?
+#               raise ArgumentError, 'concept_name is mandatory'
+#             end
+#             @concept_name = concept_name
+#           end
+
+#           def domain_concept=(domain_concept)
+#             if domain_concept.nil? or domain_concept.empty?
+#               raise ArgumentError, "domain concept not valid"
+#             end
+#             if /([a-zA-Z]\w+)(-([a-zA-Z]\w))?/ =~ domain_concept
+#               self.concept_name = $1
+#               self.specialisation = $3
+#             else
+#               raise ArgumentError, 'invalid domain concept form'
+#             end
+#           end
+
+#           def rm_name=(rm_name)
+#             raise ArgumentError, "rm_name not valid" if rm_name.nil? or rm_name.empty?
+#             @rm_name = rm_name
+#           end
+
+#           def rm_entity=(rm_entity)
+#             if rm_entity.nil? or rm_entity.empty?
+#               raise ArgumentError, "rm_entity is mandatory"
+#             end
+#             @rm_entity = rm_entity
+#           end
+
+#           def rm_originator=(rm_originator)
+#             if rm_originator.nil? or rm_originator.empty?
+#               raise ArgumentError, "rm_originator not valid"
+#             end
+#             @rm_originator = rm_originator
+#           end
+
+#           def specialisation=(specialisation)
+#             if !specialisation.nil? and specialisation.empty?
+#               raise ArgumentError, "rm_specialisation not valid" 
+#             end
+#             @specialisation = specialisation
+#           end
+
+#           def version_id=(version_id)
+#             raise ArgumentError, "version_id not valid" if version_id.nil? or version_id.empty?
+#             @version_id = version_id
+#           end
         end
 
