Sha256: 8e8728eab1938dddc269fca4604a861bb72d743e431a647070ac3f09dd84c37f
Contents?: true
Size: 930 Bytes
Versions: 149
Compression:
Stored size: 930 Bytes
Contents
# frozen_string_literal: true 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
149 entries across 149 versions & 1 rubygems