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



27
28
29
# File 'app/models/renalware/pathology/observation_description.rb', line 27

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

Instance Method Details

#to_sObject



31
32
33
# File 'app/models/renalware/pathology/observation_description.rb', line 31

def to_s
  code
end