lib/health-data-standards/models/condition.rb in health-data-standards-3.1.1 vs lib/health-data-standards/models/condition.rb in health-data-standards-3.2.0

- old
+ new

@@ -9,6 +9,11 @@ embeds_many :treating_provider, class_name: "Provider" alias :cause_of_death :causeOfDeath alias :cause_of_death= :causeOfDeath= + + def shift_dates(date_diff) + super + self.time_of_death = self.time_of_death.nil? ? nil : self.time_of_death + date_diff + end end \ No newline at end of file