Sha256: 2d1c185ed2fab983da774b1bf869899ed705829ec5a65d7711a95ac2e24b20df

Contents?: true

Size: 325 Bytes

Versions: 5

Compression:

Stored size: 325 Bytes

Contents

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

   def shift_dates(date_diff)
   	super
    self.removalTime = self.removalTime.nil? ? nil : self.removalTime + 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/medical_equipment.rb
health-data-standards-3.5.3 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.5.2 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.5.1 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.5.0 lib/health-data-standards/models/medical_equipment.rb