Sha256: b3bb03ce618ac3ed4f32df6aacafc24dc922772680b097b257aede34296d5ec9
Contents?: true
Size: 383 Bytes
Versions: 28
Compression:
Stored size: 383 Bytes
Contents
module Renalware module HD module Sessions class PatientQuery def initialize(patient:, q: nil) @patient = patient @q = q || { s: "performed_on desc" } end def call search.result end def search @search ||= Session.where(patient: @patient).search(@q) end end end end end
Version data entries
28 entries across 28 versions & 1 rubygems