Class: MalawiHivProgramReports::Clinic::DiscrepancyReport

Inherits:
Object
  • Object
show all
Defined in:
app/services/malawi_hiv_program_reports/clinic/discrepancy_report.rb

Overview

Generates a discrepancy report for a clinic

Instance Method Summary collapse

Constructor Details

#initialize(start_date:, end_date:, **_kwargs) ⇒ DiscrepancyReport

Returns a new instance of DiscrepancyReport.



7
8
9
10
# File 'app/services/malawi_hiv_program_reports/clinic/discrepancy_report.rb', line 7

def initialize(start_date:, end_date:, **_kwargs)
  @start_date = ActiveRecord::Base.connection.quote(start_date)
  @end_date = ActiveRecord::Base.connection.quote(end_date)
end

Instance Method Details

#find_reportObject



12
13
14
15
# File 'app/services/malawi_hiv_program_reports/clinic/discrepancy_report.rb', line 12

def find_report
  # TODO: Implement this
  discrepancy_report
end