Hi @nupoor10 / @gsluthra1 / @gsluthra,
Currently, we are in the process of exploring the Bahmni Patient Portal as per the info in the following link:
- We are able to successfully bring-up the Bahmni Patient Portal’s Frontend and Backend Service from the git code provided (NOTE: We are using Bahmni-Standard docker version)
- While trying to validate the features in the Bahmni patient portal, we could see that the patient’s visit details gets listed after login / OTP verification.
- When we click on each visit to get further details, we are getting 500 Internal Server error for all the following endpoints:
- https://localhost:9500/openmrs/api/v1/record/prescription/c49cb757-348f-471e-a4b4-c81b7a8e692b?fromDate=2025-03-27&endDate=2025-03-28
- https://localhost:9500/openmrs/api/v1/record/opConsult/c49cb757-348f-471e-a4b4-c81b7a8e692b?fromDate=2025-03-27&endDate=2025-03-28
- https://localhost:9500/openmrs/api/v1/record/dischargeSummary/c49cb757-348f-471e-a4b4-c81b7a8e692b?fromDate=2025-03-27&endDate=2025-03-28
- https://localhost:9500/openmrs/api/v1/record/diagnosticReport/c49cb757-348f-471e-a4b4-c81b7a8e692b?fromDate=2025-03-27&endDate=2025-03-28
- https://localhost:9500/openmrs/api/v1/record/immunization/c49cb757-348f-471e-a4b4-c81b7a8e692b?fromDate=2025-03-27&endDate=2025-03-28
On analyzing the Backend code, I could see that the following OpenMRS endpoints are used:
- String OPConsultURL = “/openmrs/ws/rest/v1/hip/opConsults/visit?”;
- String DiagnosticReportURL = “/openmrs/ws/rest/v1/hip/diagnosticReports/visit?”;
- String DischargeSummaryURL = “/openmrs/ws/rest/v1/hip/dischargeSummary/visit?”;
- String ImmunizationURL = “/openmrs/ws/rest/v1/hip/immunizationRecord/visit?”;
- String PrescriptionURL = “/openmrs/ws/rest/v1/hip/prescriptions/visit?”;
I don’t have an idea on which module had implemented the above endpoints with “/hip” in path. Can you please let me know if I need to run any other module along with Bahmni-Standard (docker version), Bahmni Patient Portal (Frontend), Bahmi Patient Portal (Backend Service)?
Can any one of you guide me to get past this 500 Internal Server error issue?
Thanks in advance.