Overview
The Billable Objects Module is an extension to the Cashier Module that provides a framework to implement and configure billing behaviour for OpenMRS objects, such as Encounters or Drug Orders. The module also saves metadata associating objects to bills. The main components of the module are:
- the IBillingHandler interface, by which implementations can define logic for generating appropriate bill line items for an object of a particular class.
- the IBillableObject interface, which can be implemented to allow mapping in the database between an OpenMRS object and a bill
Requirements
- OpenMRS 1.9.4
- Event Module 2.1
- REST Web Services Module 2.x
- OpenHMIS Commons Module
- OpenHMIS Backbone Forms Module 2.x
- OpenHMIS Inventory Module 1.x
- OpenHMIS Cashier Module 2.x
Download
Configuration
Once the module has been started, a Manage Billing Handlers link will be available on the administration screen, which allows for adding and editing of billing handlers. The module includes handlers for Encounter and DrugOrder. See the developer documentation for information on how to add other handlers.