lib/health-data-standards/models/procedure.rb in health-data-standards-3.4.6 vs lib/health-data-standards/models/procedure.rb in health-data-standards-3.5.0

- old
+ new

@@ -1,14 +1,11 @@ class Procedure < Entry field :site, type: Hash - field :incisionTime, type: Integer + field :incisionTime, type: Integer, as: :incision_time field :ordinality, type: Hash field :source, type: Hash 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 \ No newline at end of file