This gem provides a simple way to generate reports for the Malawi HIV PROGRAM. It is designed to be used by the Ministry of Health and other stakeholders to generate reports for the program. The reports depend on OpenMRS data and are generated in a format that is easy to understand and use.
Add this line to your application's Gemfile:
gem 'malaria_hiv_program_reports'
And then execute:
$ bundle
Or install it yourself as:
$ gem install malaria_hiv_program_reports
Since it is just a library, you can use it in your application to generate reports. Here is an example of how to use it:
MalariaHivProgramReports::Moh::Cohort::Report.new(start_date, end_date, location_id)
The following reports are available in the system: Reports
To begin contributing code, after you have cloned this repo. Run the following command
$ bin/setup.sh
We recommend using Rubocop to ensure that your code is clean and easy to read. You can run Rubocop by running the following command:
$ rubocop
To run the tests, you can run the following command:
$ rspec
To install dependencies, you can run the following command:
$ bundle i
To check for outdated dependencies, you can run the following command:
$ bundle out
To update dependencies, you can run the following command:
$ bundle u
Bug reports and pull requests are welcome on GitHub.
The gem is available as open source under the terms of the MIT License.