Class: MalawiHivProgramReports::Clinic::ExternalConsultationClients
- Inherits:
-
Object
- Object
- MalawiHivProgramReports::Clinic::ExternalConsultationClients
- Includes:
- Utils::CommonSqlQueryUtils
- Defined in:
- app/services/malawi_hiv_program_reports/clinic/external_consultation_clients.rb
Instance Method Summary collapse
-
#initialize(start_date:, end_date:, **kwargs) ⇒ ExternalConsultationClients
constructor
A new instance of ExternalConsultationClients.
- #list ⇒ Object
Methods included from Utils::CommonSqlQueryUtils
#current_occupation_query, #external_client_query, #occupation_filter, #partition_by_site, #process_occupation
Constructor Details
#initialize(start_date:, end_date:, **kwargs) ⇒ ExternalConsultationClients
Returns a new instance of ExternalConsultationClients.
11 12 13 14 15 |
# File 'app/services/malawi_hiv_program_reports/clinic/external_consultation_clients.rb', line 11 def initialize(start_date:, end_date:, **kwargs) @start_date = start_date.to_date @end_date = end_date.to_date @occupation = kwargs[:occupation] end |
Instance Method Details
#list ⇒ Object
17 18 19 |
# File 'app/services/malawi_hiv_program_reports/clinic/external_consultation_clients.rb', line 17 def list other_clients end |