https://github.com/mo7ammedd/hospital_system
https://github.com/mo7ammedd/hospital_system
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mo7ammedd/hospital_system
- Owner: Mo7ammedd
- License: mit
- Created: 2024-03-21T23:49:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-22T01:36:22.000Z (over 2 years ago)
- Last Synced: 2025-03-29T03:41:24.256Z (about 1 year ago)
- Language: Python
- Size: 400 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Hospital Management System
This is a simple Hospital Management System implemented in Python, allowing users to manage doctor and patient records.
## Features
* Add New Record for Doctors: Users can enter details for doctors, such as ID, name, age, mobile number, work department, and salary. The data is stored in the `DoctorPy.txt` file.
* Read All Records of Doctors: Users can view all the doctor records stored in the `DoctorPy.txt` file.
* Search for Doctor by ID: Users can search for doctors by their ID and view their details if found.
* Search for Doctor by Name: Users can search for doctors by their name and view their details if found.
* Update Doctor Record by ID: Users can update doctor records by providing the doctor's ID. They can modify details such as ID, name, age, mobile number, work department, and salary.
* Update Doctor Record by Name: Users can update doctor records by providing the doctor's name. They can modify details such as ID, name, age, mobile number, work department, and salary.
* Delete Doctor Record by ID: Users can delete doctor records by providing the doctor's ID.
* Add New Record for Patients: Users can enter details for patients, such as ID, name, age, mobile number, disease, and treatment. The data is stored in the `PatientPy.txt` file.
* Read All Records of Patients: Users can view all the patient records stored in the `PatientPy.txt` file.
* Search for Patient by ID: Users can search for patients by their ID and view their details if found.
* Search for Patient by Name: Users can search for patients by their name and view their details if found.
* Update Patient Record by ID: Users can update patient records by providing the patient's ID. They can modify details such as ID, name, age, mobile number, disease, and treatment.
* Update Patient Record by Name: Users can update patient records by providing the patient's name. They can modify details such as ID, name, age, mobile number, disease, and treatment.
* Delete Patient Record by ID: Users can delete patient records by providing the patient's ID.
## How to Use
* Clone the repository to your local machine.
* Run the `main()` function to start the Hospital Management System.
* Choose the desired department (Doctor or Patient) and perform operations as needed.
* Follow the on-screen prompts to add, read, search, update, or delete records.
* The data for doctors will be stored in the `DoctorPy.txt` file, and the data for patients will be stored in the `PatientPy.txt` file.
## Contributors
- [Mohammed Mostafa](https://github.com/mohammedd20)
Feel free to contribute to this project by submitting pull requests or reporting issues.
## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/mohammed-mostafa-nazih-elsayed/hospital-system-py/blob/main/LICENSE.txt) file for details.Contribution: 2023-03-22 20:00