A CLI-based Hospital Management System built using Python in Jupyter Notebook. The system allows patients to create accounts, log in, and retrieve their prescriptions. Admins can add medicines and doctor accounts in the hospital, and doctors can create prescriptions for patients. All data, including account credentials and medicine details, is stored in text files.
- Patient Account Management: Patients can create accounts, log in, and view their latest prescription.
- Admin Management: Admins have the ability to add new doctor accounts to the system.
- Doctor Features: Doctors can create prescriptions for patients, which include:
- Patient and doctor details
- Remarks about the patient's health condition
- A list of prescribed medicines
- Total cost of the medicines
- Prescription Storage: Prescriptions are stored as text files and contain detailed information about the consultation.
- Search Functionality:
- Patients can search for doctors based on the name, email, phone number, or bio.
- Doctors can search for medicines available in the hospital while adding them to prescriptions. If a search keyword matches a unique medicine, the system automatically asks for the quantity. If multiple results are found, it displays a list to choose from.
- Patients: Can create an account, log in, search for doctors, retrieve their latest prescription and list of all previous prescriptions.
- Admins: Can add new doctor accounts to the system and add medicines details.
- Doctors: Can create and manage prescriptions for patients, and search for medicines in the hospital.
All data is stored in text files:
- Account credentials (name, phone, email, bio and password)
- Medicine details (name, quantity, price)
- Prescription files with doctor and patient details
The prescription is saved as a text file, containing:
- Prescription number
- Date and Time
- Doctor's details
- Patient's details
- Description
- List of medicines with their quantity and prices
- Total cost of medicines
- Clone the repository:
git clone https://github.com/Dharmesh-Padhra/Hospital-Management-System-using-Python.git