Sha256: fe4c24fffddbcc424180555253ea08721066f87bce331c8f7f5d246e4432f1b7

Contents?: true

Size: 398 Bytes

Versions: 10

Compression:

Stored size: 398 Bytes

Contents

class MedicalEquipment < Entry
  
  field :manufacturer, type: String
  field :anatomicalStructure, as: :anatomical_structure, type: Hash
  field :removalTime, as: :removal_time, type: Integer
  field :anatomical_approach , type: Hash 
  field :reaction, type: Hash 
   def shift_dates(date_diff)
   	super
    self.removalTime = self.removalTime.nil? ? nil : self.removalTime + date_diff
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
health-data-standards-4.2.0 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-4.1.0 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-4.0.6 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-4.0.5 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-4.0.4 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-4.0.3 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-4.0.2 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-4.0.1 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-4.0.0 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-3.7.0 lib/health-data-standards/models/medical_equipment.rb