Performance improvements for calculating weighted sectors data in the DemographicDivisionsProceduresCounterService
requested to merge 156-verificar-se-e-possivel-otimizar-queries-e-calculos-para-buscar-internacoes into master
Replaces the ActiveRecord generated SQL query in the DemographicDivisionsProceduresCounterService with a raw one, avoiding unnecessary data retrieval and removing most of the data formatting code.
Part of #156 (closed)