Sha256: aba6f04ebe985537bb7e0ca5140ba46df58dc5b7046d88493f62f81b7c61ea84
Contents?: true
Size: 762 Bytes
Versions: 8
Compression:
Stored size: 762 Bytes
Contents
require_dependency "renalware/renal" module Renalware module Renal class AKIAlertSearchForm include ActiveModel::Model include Virtus::Model attribute :hospital_unit_id, Integer attribute :hospital_ward_id, Integer attribute :action, String attribute :term, String attribute :on_hotlist, String attribute :s, String def query @query ||= begin options = { identity_match: term, hospital_ward_id_eq: hospital_ward_id, hospital_ward_hospital_unit_id_eq: hospital_unit_id, action_id_eq: action, hotlist_eq: on_hotlist, s: s } AKIAlertQuery.new(options) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems