Class: Renalware::Pathology::ObservationDescription

Inherits:
ApplicationRecord
  • Object
show all
Defined in:
app/models/renalware/pathology/observation_description.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.for(codes) ⇒ Object



18
19
20
# File 'app/models/renalware/pathology/observation_description.rb', line 18

def self.for(codes)
  ObservationDescriptionsByCodeQuery.new(codes: codes).call
end

Instance Method Details

#to_sObject



22
23
24
# File 'app/models/renalware/pathology/observation_description.rb', line 22

def to_s
  code
end