A comprehensive SQL-based database management system designed to streamline hospital operations, including doctor scheduling, patient records, appointments, and financial billing. This project features a robust relational schema with 50+ patient records and 15+ specialized doctors.
- Doctor Management: Profiles for 15+ specialized doctors across various departments (Cardiology, Neurology, Surgery, etc.).
- Patient Records: Securely managing personal details for 50+ patients.
- Appointment Tracking: Efficiently linking patients with doctors using relational mapping.
- Billing Module: Automated billing generation with payment status tracking (Paid/Unpaid).
- Relational Integrity: Implemented
FOREIGN KEYwithON DELETE CASCADEandDEFAULTconstraints. - Advanced Queries: Utilized
JOINsto generate comprehensive reports across multiple tables. - Data Aggregation: Used
SUM,COUNT, andAVGfunctions for financial reporting and statistics. - Normalization: Followed standard database normalization rules for efficient data storage.
The system consists of 4 core tables:
doctors- Specialized medical professionals.patients- Patient demography and records.appointments- Scheduling link between patients and doctors.billings- Transactional data for medical services.
- Clone this repository or download the
.sqlfile. - Open MySQL Workbench or any SQL editor.
- Import and execute the script to set up the database and populate it with sample data.