Skip to content

EngAboodSDev/copd-guard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🩺 COPD GUARD - Health Management System (Dashboard) | Ω†ΨΈΨ§Ω… Ω„Ψ₯Ψ―Ψ§Ψ±Ψ© ΩˆΩ…Ψ±Ψ§Ω‚Ψ¨Ψ© Ω…Ψ±ΨΆΨ¦ Ψ§Ω„Ψ₯Ω†Ψ³Ψ―Ψ§Ψ― Ψ§Ω„Ψ±Ψ¦ΩˆΩŠ (Ω„ΩˆΨ­Ψ© ΨͺΨ­ΩƒΩ…)

logo

A web-based health management system designed to assist Healthcare Providers in monitoring and managing patients with Chronic Obstructive Pulmonary Disease (COPD). It facilitates prescription management, health tracking, and communication between patients and providers.


Table of Contents


πŸ“Š Overview

COPD GUARD is a comprehensive platform that bridges the gap between patients and healthcare providers. It provides:

  • Real-time Health Tracking for vital signs like Oxygen Saturation, Heart Rate, and Peak Flow.
  • Data Visualization using interactive charts to monitor patient progress over time, and visualization of key health metrics like heart rate, oxygen saturation, and peak flow.
  • Prescription Management for healthcare providers to assign medications directly.
  • Risk Assessment algorithms to alerting providers of critical patient conditions.

The system is designed with a user-friendly interface for both administrators and healthcare providers.


πŸš€ Key Features

βœ”οΈ Authentication

  • Secure Login β€” Different access levels for Admins and Healthcare Providers.
  • Registration β€” New Healthcare Providers can request access.
  • Registration Confirmation β€” visual confirmation mechanism for successful registrations.
  • Password Reset β€” Facility for users to reset forgotten passwords.
  • Session Management β€” Secure session handling for authenticated users.

βœ”οΈ Admin Dashboard (AdminDashboard.php)

  • User Management β€” View and manage all registered users (Admins & Health Providers).
  • Request Handling β€” Approve or reject registration requests from new providers.
  • System Statistics β€” Overview of totally user counts and system activity.

βœ”οΈ Health Provider Dashboard (HPDashboard.php)

  • Patient Management β€” View assigned patients and access their profiles.
  • Health Monitoring β€” Track daily/monthly health records including CAT scores.
  • Visual Analytics β€” Charts for Heart Rate, Oxygen Saturation, and Peak Flow trends.
  • Notifications β€” Real-time alerts for patients in "At Risk" or "Danger" states.

πŸ› οΈ Tech-Stack Used

HTML5 CSS3 JavaScript Markdown PHP Font Awesome MySQL MariaDB Apache XAMPP Chart.js PHPMailer


πŸ—‚ Project Structure

πŸ“ copd-guard/
β”œβ”€β”€ Index.php            # Landing page & Main entry point
β”œβ”€β”€ Login.php            # User login page
β”œβ”€β”€ Logout.php           # Session logout script
β”œβ”€β”€ Registration.php     # User registration page
β”œβ”€β”€ RegConfirm.php       # Registration confirmation page
β”œβ”€β”€ ResetPass.php        # Password reset request page
β”œβ”€β”€ ResetConfirm.php     # Password reset confirmation
β”œβ”€β”€ Reseted.php          # Password reset success page
β”œβ”€β”€ AdminDashboard.php   # Dashboard for Administrators
β”œβ”€β”€ HPDashboard.php      # Dashboard for Health Providers
β”œβ”€β”€ HealthStatus.php     # Health status tracking page
β”œβ”€β”€ AddPrescription.php  # Page to add new prescriptions
β”œβ”€β”€ Prescriptions.php    # View prescriptions page
β”œβ”€β”€ Notifications.php    # System notifications
β”œβ”€β”€ Profile.php          # User profile management
β”œβ”€β”€ Controller.php       # Core application logic
β”œβ”€β”€ dbcon.php            # Database connection settings
β”œβ”€β”€ utils.php            # Helper functions
β”œβ”€β”€ mail.php             # Email sending utility
β”œβ”€β”€ πŸ“ css/              # Stylesheets (all.min.css, framework.css, master.css)
β”œβ”€β”€ πŸ“ js/               # JavaScript files
β”œβ”€β”€ πŸ“ imgs/             # Images & Icons
β”œβ”€β”€ πŸ“ webfonts/         # Font resources
β”œβ”€β”€ πŸ“ database/         # Database files
β”‚   └── copd_guard.sql   # Database schema import file
β”œβ”€β”€ πŸ“ PHPMailer/        # Email library
β”œβ”€β”€ πŸ“ docs/             # Documentation files and screenshots
└── README.md            # Project documentation

πŸ–₯️ Project Requirements

  • Operating System: Windows 10+, macOS, or any Linux distro
  • Web Browser: Chrome / Firefox / Edge (latest versions)
  • πŸ“‹Runtime & Tools:
    • PHP 7.4 or higher (8.x recommended)
    • MySQL 5.7+ or MariaDB 10.4+
    • Apache (or compatible web server)
    • XAMPP (or similar local stack)

⚑ Quick Installation

  1. Clone the Repository

    git clone <repository-url>
    cd copd-guard
  2. Copy the Project into your web server directory

    c:\xampp\htdocs\copd-guard\
    
  3. Start XAMPP and ensure Apache and MySQL are running.

  4. Import the database (see Database Setup).

  5. Configure dbcon.php with your database credentials (see Configuration).

  6. Access the application in your browser:

    http://localhost/copd-guard/
    

πŸ”§ Configuration

Database Connection (dbcon.php)

Edit dbcon.php to match your local environment credentials:

$servername = "localhost";
$username = "root";
$password = ""; // Default XAMPP password is empty
$dbname = "copd_guard";
Parameter Description
Host localhost
Username root
Password ""
Database copd_guard

πŸ—„ Database Setup

  1. Open phpMyAdmin or MySQL CLI.

  2. Import the schema file:

    -- Run the contents of database/copd_guard.sql
  3. Key Tables:

    • admins: System administrators.
    • healthcare_provider: Doctors/Providers info.
    • patient: Patient records and details.
    • patient_health_records: Vital signs tracking.
    • notifications: Alerts for risk status.

▢️ Usage

Default Credentials (for testing)

  • Administrator:

    • Email: admin123@admin.com
    • Password: admin123
  • Healthcare Provider:

    • Email: abdulrahmanfadhl@gmail.com
    • Password: af1212af

Workflow

  1. Login using the credentials above.
  2. Admins can accept new provider requests from the dashboard.
  3. Providers can select a patient to view their detailed health charts and add prescriptions.

πŸ“Έ Screenshots

Landing Page

Landing Page

Login and Register Page

Login Page Register Page Reset Password Page

Admin Dashboard Page

Admin Dashboard Page

Healthcare Provider Pages

HP Dashboard Page Prescriptions Page Add Prescription Page Notifications Page Profile Page

See All Screenshots...


🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


🏷️ Credits


πŸ“ž Support and Assistance

Getting Help

  • README.md: For basic instructions
  • GitHub Issues: Create an issue in the repository

Contact Information


About

COPD GUARD is a web-based health management system designed to assist Healthcare Providers in monitoring and managing patients with Chronic Obstructive Pulmonary Disease (COPD). It facilitates prescription management, health tracking, and communication between patients and providers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages