opensource-emr / hospital-management-emr

A complete open source for electronic healthcare record management in Hospitals, Clinics and Pharmacy.
https://opensource-emr.github.io/hospital-management-emr/
MIT License
247 stars 170 forks source link

Problems with drop-down lists in the form for adding a new insured patient #91

Open Agnieszka0544 opened 6 months ago

Agnieszka0544 commented 6 months ago

Environment: Windows 11; Firefox 120.0.1, Chrome 120.0.6099.72, Edge 120.0.2210.61 To view the form go: NHIF -> Patient List -> New Insurance Patient

  1. When you open the form a red box appears with an error in it.
  2. There is an obligatory "Religion" field to fill out. When you click on the arrow, a drop-down list will appear with only one option to choose from.
  3. On the drop-down list in the “Insurance Provider” field aren’t any options to choose from, probably stemming from 1.
pictures Zrzut ekranu 2023-12-14 214324 Zrzut ekranu 2023-12-14 135453 Zrzut ekranu 2023-12-14 135515
RamiSJ12 commented 3 months ago

It sounds like you're encountering two issues with the form:

  1. Error message displayed in a red box: This indicates that there is some validation or error handling mechanism in place that detects an issue with the form upon loading. The error message inside the red box should provide more details about what exactly is causing the problem. You'll need to address this underlying issue to resolve the error message.

  2. Empty dropdown lists for "Religion" and "Insurance Provider" fields: It seems like the dropdown lists for these fields are not populating with the expected options. This could be due to various reasons such as a misconfiguration in the form settings, missing data in the database, or a bug in the form's code. To resolve this, you'll need to investigate why the dropdown lists are not being populated properly and fix the underlying cause.

Here's what you can do to troubleshoot and resolve these issues:

By following these steps, you should be able to identify and address the issues preventing the dropdown lists from populating correctly and resolve the error message displayed in the red box.