A comprehensive clinic management system designed to manage doctor and patient information. The system allows administrators to add and remove doctors, store patient history, and provides search functionality for quick access to records.
-
Doctor Management:
- Add new doctors to the system.
- Remove doctors from the system when needed.
- Store doctor details such as name, specialization, contact information, and availability.
-
Patient History Management:
- Store patient details including personal information, medical history, and current treatments.
- Maintain a history of past appointments, diagnoses, and prescriptions.
-
Search Functionality:
- Quickly search for doctors by name, specialization, or contact details.
- Search for patients by name or ID and view their medical history.
-
User Authentication (Admin Role):
- Only authorized admins can add or remove doctors and manage patient records.
-
Frontend:
-
Backend:
-
User Authentication:
-
Admins can add doctors with details like:
- Full Name
- Specialization (e.g., Cardiologist, Pediatrician, etc.)
- Contact Information (Phone, Email)
- Availability (Timings, Days of the week)
-
Admins can remove doctors from the system.
- Patient profiles include:
- Personal Details (Name, Age, Gender, Address, etc.)
- Medical History (Previous treatments, conditions)
- Current and Past Appointments with doctors
- Diagnoses and Prescriptions
-
Doctor Search: Users can search for doctors by:
- Name
- Specialization
- Availability
-
Patient Search: Users can search for patients by:
- Name
- Patient ID
- Medical History
- Admins have secure login to manage the system.
- Only authenticated admins can add/remove doctors and access/edit patient history.
Clone the project repository to your local machine:
git clone https://github.com/yourusername/clinic-management-system.git
cd clinic-management-system
Ensure you have Python installed on your system. You can check if Python is installed by running:
python --version
Install the necessary Python packages using pip:
pip install -r requirements.txt
This will install the required packages for Django, SQLite, and any other dependencies.
- Run migrations to set up the database schema:
python manage.py migrate
To access the admin panel, create a superuser account:
python manage.py createsuperuser
Follow the prompts to set up an admin username, email, and password.
Start the development server:
python manage.py runserver
You can now access the application at http://127.0.0.1:8000/
in your browser.
To access the admin panel and manage doctors and patients, visit:
http://127.0.0.1:8000/admin
Log in with the superuser credentials you created earlier.
- Login: As an admin, log into the admin panel.
- Add Doctor: Navigate to the "Doctor" section in the admin panel to add new doctors.
- Remove Doctor: Select a doctor and remove their information if they are no longer part of the clinic.
- Add Patient: Add new patients and record their medical history, current treatments, and appointments.
- Search for Doctors and Patients: Use the search feature to find doctors or patients quickly based on their names, specialization, or medical history.
We welcome contributions! To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-name
). - Commit your changes (
git commit -am 'Add new feature'
). - Push the branch to your fork (
git push origin feature-name
). - Submit a pull request.