Handling pay-before-services in OpenMRS and Bahmni

To give updates on this subject:

We have deployed a first version of the OpenMRS Module ERP that queries the ERP and exposes its data via the OpenMRS API. For now it implements Odoo (but is designed to be extendable to other ERPs) and retrieves only Orders and Invoices. See:

(Thanks @zouchine)

We also have started work on displaying what I call the “patient billing status” which is a list of all ordered items found in the ERP for the patient, and their computed approval status, ie, has it been paid or not. Since it is about adding a widget on the Bahmni patient dashboard, this is Bahmni specific.

@angshuonline, I have created the following ticket for it: https://bahmni.atlassian.net/browse/BAH-832

I have started work on this widget and pushed here:

This is very raw at the moment and distributed via the customDisplayControl framework of the Bahmni Config which is not ideal.

For the next steps, I would need some info on:

  • how this could be merged in Bahmni Apps (with its Jasmine tests)
  • how to use the available Bahmni CSS styles
  • and also find the right layout for this to be the clearest possible to users.

@angshuonline, @binduak, @mksd, @laxman

4 Likes