Sha256: 1976b24e37f9a5600dab248ae3a8d4f05a98015aa705cc6c049b226a087b08a0

Contents?: true

Size: 451 Bytes

Versions: 20

Compression:

Stored size: 451 Bytes

Contents

class Procedure < Entry
  field :site,                type: Hash
  field :incisionTime,        type: Integer
  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
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
health-data-standards-3.4.6 lib/health-data-standards/models/procedure.rb
health-data-standards-3.4.5 lib/health-data-standards/models/procedure.rb
health-data-standards-3.4.4 lib/health-data-standards/models/procedure.rb
health-data-standards-3.4.3 lib/health-data-standards/models/procedure.rb
health-data-standards-3.4.2 lib/health-data-standards/models/procedure.rb
health-data-standards-3.4.1 lib/health-data-standards/models/procedure.rb
health-data-standards-3.4.0 lib/health-data-standards/models/procedure.rb
health-data-standards-3.2.12 lib/health-data-standards/models/procedure.rb
health-data-standards-3.3.0 lib/health-data-standards/models/procedure.rb
health-data-standards-3.2.11 lib/health-data-standards/models/procedure.rb
health-data-standards-3.2.10 lib/health-data-standards/models/procedure.rb
health-data-standards-3.2.8 lib/health-data-standards/models/procedure.rb
health-data-standards-3.2.7 lib/health-data-standards/models/procedure.rb
health-data-standards-3.2.6 lib/health-data-standards/models/procedure.rb
health-data-standards-3.2.5 lib/health-data-standards/models/procedure.rb
health-data-standards-3.2.4 lib/health-data-standards/models/procedure.rb
health-data-standards-3.2.3 lib/health-data-standards/models/procedure.rb
health-data-standards-3.2.2 lib/health-data-standards/models/procedure.rb
health-data-standards-3.2.1 lib/health-data-standards/models/procedure.rb
health-data-standards-3.2.0 lib/health-data-standards/models/procedure.rb