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
255 stars 176 forks source link

“Family Head Name” doesn’t get auto-updated #92

Open Agnieszka0544 opened 7 months ago

Agnieszka0544 commented 7 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. “Family Head Name” doesn’t get auto-updated. See attached image.
  2. This form also has a problem with entering age in days. I described the same problem in another form in another issue: https://github.com/opensource-emr/hospital-management-emr/issues/86 .
pictures ![Zrzut ekranu 2023-12-14 220626-kopia](https://github.com/opensource-emr/hospital-management-emr/assets/121827184/89f97578-d692-42ee-9b2d-e426c3ca5258)
RamiSJ12 commented 4 months ago

It seems like you're encountering two separate issues with the registration form:

  1. "Family Head Name" not auto-updating: This issue suggests there might be a problem with the form's functionality where the "Family Head Name" field is not automatically updating as expected. This could be due to a scripting error or a database issue. To troubleshoot this, you might want to check the code responsible for populating this field and ensure that it's functioning correctly. Additionally, verify if the necessary data is being fetched and processed correctly from the database.

  2. Problem with entering age in days: If you're unable to input an age greater than 150 days in the form, it indicates a limitation or validation rule within the form's design. To address this, you'll need to adjust the validation settings or form logic to allow for higher values for age in days. This might involve modifying the form's code or configuration settings.

To address these issues effectively: