AI-Driven-Healthcare-Data-Platform

Arogya 360 - AI-Driven Healthcare Management Platform

Live Application: https://arogya360-071t.onrender.com

Arogya 360 is a comprehensive, AI-powered hospital management system designed to streamline patient records, appointments, digital prescriptions, emergency SOS routing, and blockchain-based audit trails. Built with a robust Java Spring Boot backend and a modern vanilla frontend, it offers a secure, high-performance, and responsive healthcare solution.


1. System Architecture

The platform follows a classic client-server architecture with several advanced integrations for AI, real-time messaging, and cryptographic security.

graph TD
    subgraph Frontend
        UI[Vanilla HTML/CSS/JS]
        WS_Client[SockJS/STOMP]
    end

    subgraph Backend_Spring_Boot [Backend - Spring Boot]
        Security[Spring Security & JWT Filter]
        Controllers[REST Controllers]
        Services[Business Logic Services]
        
        subgraph Core_Modules [Core Modules]
            Auth[Auth & User Mgmt]
            Vitals[Patient Vitals & History]
            Appt[Appointments]
            Billing[Bills & Payments]
        end

        subgraph Advanced_Modules [Advanced Modules]
            Blockchain[Blockchain Audit Service]
            AI[Groq AI Assistant Service]
            EPres[E-Prescription & ZXing]
            Emergency[Emergency Haversine Dispatch]
            Notif[WebSocket Notification Service]
        end
    end

    subgraph External_Services [External Services]
        Groq[Groq Llama-3 API]
    end

    subgraph Database
        Postgres[(PostgreSQL)]
    end

    UI -->|HTTP REST| Security
    WS_Client <-->|WebSockets| Notif
    Security --> Controllers
    Controllers --> Services
    Services --> Core_Modules
    Services --> Advanced_Modules
    
    AI -->|LLM Prompts| Groq
    Advanced_Modules --> Postgres
    Core_Modules --> Postgres

2. Core Features

AI-Powered Health Analytics

Security & Cryptography

Emergency & Dispatch

Digital Workflow


3. Workflows by Role

The Admin Role

The Admin has unrestricted oversight of the hospital’s operations.

The Doctor Role

Doctors are focused on patient care and scheduling.

The Patient Role

Patients have a read-only or request-driven interface focused on their personal care.


4. Technology Stack


5. Local Development Setup

If you wish to clone and run this repository locally:

  1. Clone the repository.
  2. Ensure you have Java 21 and Maven installed.
  3. Configure your local application.properties or set the following environment variables:
    • DB_URL
    • DB_USERNAME
    • DB_PASSWORD
    • GROQ_API_KEY
    • JWT_SECRET
  4. Run the application:
    mvn clean spring-boot:run
    
  5. Navigate to http://localhost:8081 in your browser.