How to access Provider DashBoard in Demo application

I tried accessing the ProviderDashboard module in the demoApplication but I couldnt find the module. when I visit the manage modules section and click on the ProviderManagement module it redirects me to a brief error which has this addons url exclaiming that Provider Management module isnt hosted on this server.

I need to see the workflow and get the APIs for implementing this sub section in provider module of the Android client thanks!!

@dkayiwa @gcliff @f4ww4z @rishabh997

@saurabh i think the reason for not accessing the provider management dashboard ui is what @mogoodrich mentioned here

1 Like

@gcliff so Is there any way I could access the module or can you help me with the API endpoints querying which I can fetch the the patients associated with a provider I couldnt look that up in the API documentation . thanks :slightly_smiling_face:

Do you mean https://github.com/openmrs/openmrs-module-providermanagement

i only see the rest end points for a provider and for an encounter

1 Like

@gcliff thanks for pointing out the github repo it helps, specifically this method https://github.com/openmrs/openmrs-module-providermanagement/blob/8f0b3651966acd8617843c354a0134cc85a06464/api/src/main/java/org/openmrs/module/providermanagement/api/ProviderManagementService.java#L492

sure …

may be @mogoodrich @cioan could deeply weigh in on this

1 Like

@saurabh, not sure if this is helpful in regards to your question, a few years ago we added a few pages to coreapps module that helps us to manage CHWs at a few of our sites. Those new pages leverage the providermanagement API. Here is one of the entry points if you would like to check it out:

https://demo.openmrs.org/openmrs/coreapps/providermanagement/providerList.page

2 Likes

@cioan thank you, This is almost what I was looking for but I cant add patients to the providers since there are no relationships in the dropdown and its a required field. and could you point me to the endpoints used to fetch patients for a provider used there in the link you shared that would be great :smiley:

Here is the controller that finds the patients assigned to a provider. Is this the method you were looking for?

1 Like

@cioan thank you, this seems like it can I test this endpoint and see if it works somehow are there any API documentation references for it??

@dkayiwa Is the provider management module not hosted on the demo server? Do we have to setup a local OpenMRS instance if we want to run & test out this module?

This is where you check the installed modules from? https://demo.openmrs.org/openmrs/admin/modules/module.list

Thanks @dkayiwa . @saurabh looks like you need to setup a local server to test the module.

1 Like

@f4ww4z I would try and do that after finishing this repository layer tasks :+1: !!