Sha256: 887599a92cbe321ee049a7ff73dcef0df53568868890a40053f4e9b2f4c56fd6
Contents?: true
Size: 899 Bytes
Versions: 8
Compression:
Stored size: 899 Bytes
Contents
require_dependency "renalware/pathology" module Renalware module Pathology class CreateObservationsGroupedByDateTable attr_reader :patient, :observation_descriptions, :options def initialize(patient:, observation_descriptions:, **options) @patient = patient @observation_descriptions = observation_descriptions @options = options end def call create_observations_table end private def fetch_grouped_observations ObservationsGroupedByDateQuery.new( patient: patient, observation_descriptions: observation_descriptions, **options ) end def create_observations_table ObservationsGroupedByDateTable.new( relation: fetch_grouped_observations, observation_descriptions: observation_descriptions ) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems