madhavijyothi/HospitalManagment-System ? reverse-engineered prompt
Reverse engineered prompt
Build me a hospital management system for patients, doctors, and admins using PHP, MySQL, and a clean Bootstrap style. Patients should be able to register, log in, book appointments, and see their appointment history. Doctors should be able to log in, see their appointments, and approve or accept an appointment so the patient can tell it has been confirmed. Admin should be able to manage patients, doctors, appointments, feedback, and other records from one place.
Please make sure users cannot register with an email that already exists, and store passwords securely instead of showing them in plain text anywhere in the admin area. Add pagination to every long list so the pages stay easy to use. Also fix the bill receipt issue where the same patient and doctor can show duplicate records if they have more than one appointment. If possible, also improve the prescription and payment details so they include more useful information, and add an export option in the admin section for downloading records.
Are you gonna build this?
make sure you review the code using coderabbit