MadiroGlobalHealth / UVL-EMR

OpenMRS 3 repository for Ubuntu Village of Life in Burundi - Madiro's HealthTech Challenge 2024
http://uvl-emr.madiro.org
6 stars 14 forks source link

Test Initializer to add billable services in billing module #12

Closed michaelbontyes closed 1 month ago

michaelbontyes commented 2 months ago

The billing domain has been added to the Initializer module: https://github.com/mekomsolutions/openmrs-module-initializer/tree/main?tab=readme-ov-file#version-280

We can already test it out in preparation of receiving the validated billable services to add for the project.

WodPachua commented 2 months ago

Is it just testing if new/custom service concepts can be loaded? @michaelbontyes

michaelbontyes commented 2 months ago

@WodPachua, Yes. Does it work using the Initializer?

WodPachua commented 2 months ago

Yes It does... though not sure what your acceptance criteria is for the test... @michaelbontyes

michaelbontyes commented 2 months ago

Hi @WodPachua , do you have an example where you have been able to use the iniz to add the individual costs and payement methods to each billable services added? (We know how to populate the list of payement methods, but here is about the cost of each billable service depending on the payement method) Thanks

Image

WodPachua commented 2 months ago

Oh I see.. I had a blocker thas has just been fixed this morning... since this feature was only available in the newest snapshot of initializer... let me do that and share

sherrif10 commented 1 month ago

Hello @WodPachua , Any progress on this ?

WodPachua commented 1 month ago

@michaelbontyes @sherrif10 Apparently, the initializer can only add billable services, service types, payment modes, and cash points, but not the prices of the services. I have tried a couple of ways but have not been successful yet.

This means, we can add the services, but can't use them in the EMR since they don't have prices, and their attached payment modes

The other option I found to work was posting them via the API, which works just fine... including the services, with their prices and payment modes,

michaelbontyes commented 1 month ago

Thank you @WodPachua. Would you be comfortable pairing up with Jonathan Odora to extend the Iniz to support prices as well?

WodPachua commented 1 month ago

Sure... no problem... that would be a very useful feature