This project is a relational database system designed for managing a clinic appointment and prescription workflow using MySQL.
The Clinic Booking System helps manage:
- Doctors and their specialties
- Patients and their information
- Appointment scheduling and statuses
- Prescriptions and medicine tracking
Table Name | Description |
---|---|
Doctors |
Stores doctor details including specialty |
Patients |
Stores patient records |
Appointments |
Links doctors to patients with schedule and status |
Prescriptions |
Stores prescriptions related to appointments |
Medicines |
List of available medicines |
Prescription_Medicines |
Join table for many-to-many between prescriptions and medicines |
- One-to-Many:
- One doctor β many appointments
- One patient β many appointments
- One-to-One:
- One appointment β one prescription
- Many-to-Many:
- One prescription β many medicines
- Open your MySQL client (like MySQL Workbench).
- Run the script file
clinic_booking_system.sql
. - The script will:
- Create the database
ClinicBookingSystem
- Create all required tables
- Insert sample data for doctors, patients, appointments, and prescriptions
- Create the database
clinic_booking_system/
β
βββ clinic_booking_system.sql # SQL script with schema and sample data
βββ README.md # Project overview and instructions