Sha256: 2f6e74c681ea7a12f3a37c2c1e8ecf233206537297fbf9ea72456b9a1d58d9fc

Contents?: true

Size: 456 Bytes

Versions: 20

Compression:

Stored size: 456 Bytes

Contents

class MedicalEquipment < Entry
  
  field :manufacturer, type: String
  field :anatomicalStructure, type: Hash
  field :removalTime, type: Integer

  alias :anatomical_structure :anatomicalStructure
  alias :anatomical_structure= :anatomicalStructure=
  alias :removal_time :removalTime
  alias :removal_time= :removalTime=

   def shift_dates(date_diff)
   	super
    self.removalTime = self.removalTime.nil? ? nil : self.removalTime + 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/medical_equipment.rb
health-data-standards-3.4.5 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.4.4 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.4.3 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.4.2 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.4.1 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.4.0 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.2.12 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.3.0 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.2.11 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.2.10 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.2.8 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.2.7 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.2.6 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.2.5 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.2.4 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.2.3 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.2.2 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.2.1 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.2.0 lib/health-data-standards/models/medical_equipment.rb