Sha256: 49ef872c99358865af635f2c4f8773c659c7c9b0911a35fc346ec47348e1ba68

Contents?: true

Size: 447 Bytes

Versions: 6

Compression:

Stored size: 447 Bytes

Contents

class MedicalEquipment < Entry
  
  field :manufacturer, type: String
  field :anatomicalStructure, as: :anatomical_structure, type: Hash
  field :removalTime, as: :removal_time, type: Integer
  # anatomical approach deprecated as of QDM 5.4
  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

6 entries across 6 versions & 1 rubygems

Version Path
health-data-standards-4.3.5 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-4.3.4 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-4.3.3 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-4.3.2 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-4.3.1 lib/health-data-standards/models/medical_equipment.rb
health-data-standards-4.3.0 lib/health-data-standards/models/medical_equipment.rb