Skip to content

Sim047/Database-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯ Clinic Booking System - Database Project

This project is a relational database system designed for managing a clinic appointment and prescription workflow using MySQL.


πŸ“Œ Use Case

The Clinic Booking System helps manage:

  • Doctors and their specialties
  • Patients and their information
  • Appointment scheduling and statuses
  • Prescriptions and medicine tracking

πŸ—‚οΈ Database Schema

Tables Included:

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

πŸ”— Relationships

  • 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

βš™οΈ Setup Instructions

  1. Open your MySQL client (like MySQL Workbench).
  2. Run the script file clinic_booking_system.sql.
  3. The script will:
    • Create the database ClinicBookingSystem
    • Create all required tables
    • Insert sample data for doctors, patients, appointments, and prescriptions

πŸ’Ύ File Structure

clinic_booking_system/
β”‚
β”œβ”€β”€ clinic_booking_system.sql   # SQL script with schema and sample data
β”œβ”€β”€ README.md                   # Project overview and instructions

About

Week 8 assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published