lib/openehr/rm/composition/content/entry.rb in openehr-1.2.3 vs lib/openehr/rm/composition/content/entry.rb in openehr-1.2.4

- old
+ new

@@ -150,16 +150,16 @@ if timing.nil? raise ArgumentError, 'timing is mandatory' end @timing = timing end - end - def action_archetype_id=(action_archetype_id) - if action_archetype_id.nil? || action_archetype_id.empty? - raise ArgumentError, 'action_archetype_id is mandatory' + def action_archetype_id=(action_archetype_id) + if action_archetype_id.nil? || action_archetype_id.empty? + raise ArgumentError, 'action_archetype_id is mandatory' + end + @action_archetype_id = action_archetype_id end - @action_archetype_id = action_archetype_id end class Action < CareEntry attr_reader :time, :description, :ism_transition attr_accessor :instruction_details