Sha256: ddfcbd987472a9137a48b081d7032761baa02564549df58fdc2a2ddabac64c55

Contents?: true

Size: 400 Bytes

Versions: 5

Compression:

Stored size: 400 Bytes

Contents

class Procedure < Entry
  field :site,                type: Hash
  field :incisionTime,        type: Integer,      as: :incision_time 
  field :ordinality,          type: Hash
  field :source,              type: Hash
  
  belongs_to :performer, class_name: "Provider"

  def shift_dates(date_diff)
  	super
  	self.incisionTime = self.incisionTime.nil? ? nil : self.incisionTime + date_diff
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
health-data-standards-3.6.1 lib/health-data-standards/models/procedure.rb
health-data-standards-3.5.3 lib/health-data-standards/models/procedure.rb
health-data-standards-3.5.2 lib/health-data-standards/models/procedure.rb
health-data-standards-3.5.1 lib/health-data-standards/models/procedure.rb
health-data-standards-3.5.0 lib/health-data-standards/models/procedure.rb