lib/health-data-standards/models/procedure.rb in health-data-standards-3.1.1 vs lib/health-data-standards/models/procedure.rb in health-data-standards-3.2.0
- old
+ new
@@ -6,6 +6,11 @@
belongs_to :performer, class_name: "Provider"
alias :incision_time :incisionTime
alias :incision_time= :incisionTime=
+
+ def shift_dates(date_diff)
+ super
+ self.incisionTime = self.incisionTime.nil? ? nil : self.incisionTime + date_diff
+ end
end
\ No newline at end of file