mekomsolutions / openmrs-module-initializer

The OpenMRS Initializer module is an API-only module that processes the content of the configuration folder when it is found inside OpenMRS' application data directory.
MIT License
23 stars 77 forks source link

[#272] Added Billing-related Domains. #269

Closed ODORA0 closed 1 month ago

ODORA0 commented 3 months ago

This PR takes care of adding the OpenMRS Billing Module domains to iniz

BILLABLE_SERVICES that represents services that can be billed within the billing module with attributes such as the name, short name, concept, service type, service category, service prices, and service status, handling creation of billable services in the billing module e.g. Covid Vaccination Service that might be a billable service in a facility under the Vaccination Services, Ultra Sound Scanning Services under the Antenatal Services, Complete Blood Count that can be under Clinical Consultation Services etc.

CASH_POINTS which represents a locations such as OPD Clinic, ART Clinic within the OpenMRS billing module where bills can be created and paid

BILLABLE_SERVICE_PRICES which are payment modes that represents different modes of payment (such as cash, mobile money or credit card) within the billing module which also allows for customisable attribute types, enabling users to define additional properties for each payment mode like the pricing of the different payments

ODORA0 commented 2 months ago

@Ruhanga Please review

Ruhanga commented 1 month ago

@ODORA0 do the tests you added run successfully when you run mvn clean install?

gracepotma commented 1 month ago

Can't wait for this to be in RefApp, I'm really really keen to add sample config for the O3 RefApp distro!!

gracepotma commented 1 month ago

@ODORA0 can I ask, what is the plan with this PR now? E.g. are you working to address @Ruhanga's comments above? Forgive me if this was shared elsewhere. As I said, I'm just really keen for us to get this in the general O3 EMR soon :D

ODORA0 commented 1 month ago

@gracepotma Actually they've been worked on if you notice the commit history, waiting for any more reviews.

Ruhanga commented 1 month ago

@ODORA0 do the tests you added run successfully when you run mvn clean install?

@ODORA0, @gracepotma, as asked earlier above, the current integration tests are not operational. I am addressing this as part of my prioritized tasks.