Sha256: 1ff331a8dc85898ad3cc37f383ab35cfb687915565d9bcd5e6fe377f26ca064b

Contents?: true

Size: 919 Bytes

Versions: 8

Compression:

Stored size: 919 Bytes

Contents

class EmrOhspInterface::EmrOhspInterfaceController < ::ApplicationController
    def weeks_generator
        render json: service.weeks_generator();
    end   

    def months_generator
        render json: service.months_generator();
    end  

    def generate_weekly_idsr_report
        render json: service.generate_weekly_idsr_report(params[:request],params[:start_date],params[:end_date]);
    end 
    
    def generate_monthly_idsr_report
        render json: service.generate_monthly_idsr_report(params[:request],params[:start_date],params[:end_date]);
    end

    def generate_hmis_15_report
        render json: service.generate_hmis_15_report(params[:start_date],params[:end_date]);
    end

    def generate_hmis_17_report
        render json: service.generate_hmis_17_report(params[:start_date],params[:end_date]);
    end
   
    def service
        EmrOhspInterface::EmrOhspInterfaceService
    end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
emr_ohsp_interface-1.2.3 app/controllers/emr_ohsp_interface/emr_ohsp_interface_controller.rb
emr_ohsp_interface-2.2.2 app/controllers/emr_ohsp_interface/emr_ohsp_interface_controller.rb
emr_ohsp_interface-1.2.2 app/controllers/emr_ohsp_interface/emr_ohsp_interface_controller.rb
emr_ohsp_interface-1.2.1 app/controllers/emr_ohsp_interface/emr_ohsp_interface_controller.rb
emr_ohsp_interface-2.2.1 app/controllers/emr_ohsp_interface/emr_ohsp_interface_controller.rb
emr_ohsp_interface-2.2.0 app/controllers/emr_ohsp_interface/emr_ohsp_interface_controller.rb
emr_ohsp_interface-1.2.0 app/controllers/emr_ohsp_interface/emr_ohsp_interface_controller.rb
emr_ohsp_interface-1.1.0 app/controllers/emr_ohsp_interface/emr_ohsp_interface_controller.rb