0.01
The project is in a healthy, maintained state
This adds a lab interface to the OpenMRS compatible core API provided by [HIS-EMR-API](https://github.com/EGPAFMalawiHIS/HIS-EMR-API).
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.1.0
~> 2.16.0
~> 5.0.0
~> 0.79.0
~> 1.41.0
~> 1.4.0
~> 2.5.1
~> 2.5.1
~> 2.5.1

Runtime

~> 2.0.0
~> 1.20.1
~> 7.0.6
 Project Readme

Ruby

Lab

A Rails engine for HIS-EMR-API compatible applications that provides an API for managing various lab activities.

Usage

The engine provides an API that provides the following functionalities:

  • Search/Retrieve test types
  • Search/Retrieve sample types for a given test
  • Order lab tests
  • Attach a result to a test

For details on how to perform these operations please see the API docs.

Installation

Add this line to your application's Gemfile:

gem 'lab', git: 'https://github.com/EGPAFMalawiHIS/HIS-EMR-API-Lab', branch: 'development'

And then execute:

$ bundle install lab

Or install it yourself as:

$ gem install lab

Finally run:

$ bundle exec rails lab:install

Configuration

This module in most cases should work without any configuration, however to enable certain features some configuration may be required. Visit the configuration page to learn how to configure the application.

Contributing

Fork this application create a branch for the contribution you want to make, push your changes to the branch and then issue a pull request. You may want to create a new first on our repository, so that your pull request references this issue.

If you are fixing a bug, it will be nice to add a unit test that exposes the bug. Although this is not a requirement in most cases.

Be sure to follow this Ruby style guide. We don't necessarily look for strict adherence to the guidelines but too much a departure from it is frowned upon. For example, you will be forgiven for writing a method with 15 to 20 lines if you clearly justify why you couldn't break that method into multiple smaller methods.

License

The gem is available as open source under the terms of the MIT License.