Ganpati
project overview image

Project Overview

project overview image

Modern healthcare extends beyond successful treatment—it requires continuous patient engagement after discharge to ensure a smooth recovery. However, many hospitals still rely on manual follow-up calls, paper-based notes, and disconnected communication systems, making it difficult to deliver timely and personalized post-treatment care.

To address this challenge, we developed the Post-Health AI Assistant, an AI-powered Virtual Nurse platform that automates patient follow-up through natural voice conversations. The platform proactively contacts patients after treatment, collects recovery updates, generates structured summaries for doctors, schedules follow-up appointments, and delivers personalized health recommendations based on each patient's medical history and treatment plan.

Unlike traditional healthcare chatbots, the solution leverages Conversational AI, Voice AI, LiveKit, Twilio, and a custom Graph RAG architecture to understand patient-specific context and provide intelligent, real-time interactions. Every conversation is securely linked to an isolated patient knowledge graph, ensuring recommendations are generated only from that individual's medical records, prescriptions, allergies, dietary restrictions, and physician instructions.

Built in just 20 days by a team of two engineers, the platform demonstrates how AI can reduce administrative workload, improve patient engagement, and help hospitals deliver scalable, personalized healthcare services without compromising data privacy or clinical accuracy.

Business Challenge

Following patient discharge, hospitals typically assign nurses or care coordinators to conduct follow-up calls. During these conversations, staff members must review the patient's complete medical history—including diagnoses, prescriptions, treatment plans, allergies, and doctor instructions—to provide accurate guidance and answer patient queries.

While this manual process supports continuity of care, it also introduces several operational and privacy challenges. Sharing sensitive medical records with multiple staff members increases the risk of unnecessary data exposure, creates dependency on individual knowledge, and makes it difficult to maintain consistent communication across every patient interaction.

The client wanted a solution that could automate post-treatment follow-ups while ensuring patient data remained secure, personalized, and accessible only when required. Instead of relying on multiple human representatives, the goal was to create an AI-powered Virtual Nurse capable of understanding each patient's medical context, conducting natural voice conversations, generating structured summaries for doctors, and coordinating follow-up care—all without exposing complete medical histories to operational staff.

The result was a secure, scalable, and intelligent patient engagement platform that improves healthcare delivery while strengthening patient data privacy.

business challenge image
Key Business Challenges
Hospital staff required access to sensitive
patient medical history to conduct follow-up calls.
Patient information was exposed to multiple
operational users, increasing privacy concerns.
Manual follow-up calls consumed significant
nursing and administrative resources.
Recovery updates and conversation summaries varied between
staff members, leading to inconsistent documentation.
Doctors often received delayed or incomplete
information about patient recovery.
Appointment scheduling and follow-up
coordination involved multiple manual steps.
The hospital required a secure, scalable solution that could automate patient
engagement without compromising medical accuracy or data confidentiality.

AI Solution

ai solution

To address the hospital's privacy and operational challenges, we developed the Post-Health AI Assistant-an AI-powered Virtual Nurse that automates post-treatment follow-up while ensuring sensitive patient information remains secure.

Traditionally, after a patient was discharged, hospital staff had to review the patient's complete medical history, including diagnosis, prescriptions, allergies, treatment plans, and doctor instructions before making follow-up calls. While this enabled personalized conversations, it also meant confidential medical information was accessible to multiple operational staff members, increasing privacy concerns and administrative workload.

Our solution replaces this manual process with an intelligent AI assistant that securely retrieves only the relevant patient information through a custom Graph RAG architecture. Instead of exposing complete medical records to human operators, the AI understands the patient's medical context, conducts natural voice conversations, collects recovery updates, answers common health-related questions, and provides personalized guidance based on doctor-approved treatment plans.

During every interaction, the AI monitors recovery progress, records symptoms, checks medication adherence, identifies potential health concerns, and automatically generates structured clinical summaries for doctors. This enables physicians to quickly review patient conditions without relying on manual notes or lengthy phone conversations.

The platform also streamlines hospital operations by allowing patients to book follow-up appointments during the call and receive medication reminders, recovery guidance, and health tips through WhatsApp notifications. By combining Voice AI, Conversational AI, Graph RAG, and workflow automation, the Post-Health AI Assistant delivers a secure, scalable, and privacy-first patient engagement experience while significantly reducing administrative effort for healthcare providers.

Key Features

1

Privacy-First AI Follow-up Calls

The AI Virtual Nurse automatically contacts patients after discharge without requiring hospital staff to access or review confidential medical records. This significantly reduces unnecessary exposure of sensitive patient information while maintaining personalized follow-up care.

2

Intelligent Recovery Assessment

The AI conducts natural conversations to understand the patient's recovery status, symptoms, medication adherence, pain levels, and overall well-being, replacing manual questionnaires with a more human-like interaction.

3

Patient-Specific AI Recommendations

Using a secure Graph RAG architecture, the assistant retrieves only the relevant medical context for each individual patient and delivers personalized recommendations based on prescriptions, allergies, treatment history, dietary restrictions, and physician instructions.

2

Intelligent Recovery Assessment

The AI conducts natural conversations to understand the patient's recovery status, symptoms, medication adherence, pain levels, and overall well-being, replacing manual questionnaires with a more human-like interaction.

3

Patient-Specific AI Recommendations

Using a secure Graph RAG architecture, the assistant retrieves only the relevant medical context for each individual patient and delivers personalized recommendations based on prescriptions, allergies, treatment history, dietary restrictions, and physician instructions.

4

Automated Doctor Summaries

Every conversation is automatically converted into structured clinical summaries, allowing doctors to review patient progress quickly without reading lengthy notes or listening to call recordings.

5

Smart Appointment Scheduling

Patients can schedule or request follow-up consultations directly during the AI conversation, reducing administrative coordination and improving patient convenience.

6

WhatsApp Medication & Health Reminders

The platform sends personalized medication reminders, appointment confirmations, recovery tips, and wellness guidance through WhatsApp, keeping patients engaged throughout their recovery journey.

4

Automated Doctor Summaries

Every conversation is automatically converted into structured clinical summaries, allowing doctors to review patient progress quickly without reading lengthy notes or listening to call recordings.

5

Smart Appointment Scheduling

Patients can schedule or request follow-up consultations directly during the AI conversation, reducing administrative coordination and improving patient convenience.

6

WhatsApp Medication & Health Reminders

The platform sends personalized medication reminders, appointment confirmations, recovery tips, and wellness guidance through WhatsApp, keeping patients engaged throughout their recovery journey.

7

Secure Graph RAG Knowledge Retrieval

Instead of exposing complete medical histories, the AI securely retrieves only the patient-specific information required for each conversation. Every patient's knowledge graph remains fully isolated, preventing cross-patient data access and ensuring complete privacy.

8

Real-Time Human-Like Voice Conversations

Powered by LiveKit and Twilio, the AI delivers low-latency voice interactions that closely resemble conversations with a real hospital representative, providing a seamless patient experience.

9

AI-Powered Recovery Analytics

The platform continuously analyzes patient responses to identify recovery trends, potential health risks, recurring symptoms, and cases that require doctor attention, enabling proactive healthcare management.

6

WhatsApp Medication & Health Reminders

The platform sends personalized medication reminders, appointment confirmations, recovery tips, and wellness guidance through WhatsApp, keeping patients engaged throughout their recovery journey.

10

Intelligent Hospital Workflow Automation

Routine administrative activities—including patient follow-ups, conversation documentation, appointment coordination, and notification delivery—are fully automated, allowing healthcare professionals to focus more on patient care.

11

Centralized Care Management Dashboard

Doctors, care coordinators, and hospital administrators can monitor patient follow-ups, AI-generated summaries, appointments, communication history, and recovery status from a single centralized dashboard.

12

Enterprise-Ready Scalability

Built on a cloud-native architecture, the platform can manage thousands of concurrent patient interactions while maintaining secure, personalized, and consistent healthcare experiences across multiple hospital locations.

7

Secure Graph RAG Knowledge Retrieval

Instead of exposing complete medical histories, the AI securely retrieves only the patient-specific information required for each conversation. Every patient's knowledge graph remains fully isolated, preventing cross-patient data access and ensuring complete privacy.

8

Real-Time Human-Like Voice Conversations

Powered by LiveKit and Twilio, the AI delivers low-latency voice interactions that closely resemble conversations with a real hospital representative, providing a seamless patient experience.

8

Real-Time Human-Like Voice Conversations

Powered by LiveKit and Twilio, the AI delivers low-latency voice interactions that closely resemble conversations with a real hospital representative, providing a seamless patient experience.

9

AI-Powered Recovery Analytics

The platform continuously analyzes patient responses to identify recovery trends, potential health risks, recurring symptoms, and cases that require doctor attention, enabling proactive healthcare management.

10

Intelligent Hospital Workflow Automation

Routine administrative activities—including patient follow-ups, conversation documentation, appointment coordination, and notification delivery—are fully automated, allowing healthcare professionals to focus more on patient care.

8

Real-Time Human-Like Voice Conversations

Powered by LiveKit and Twilio, the AI delivers low-latency voice interactions that closely resemble conversations with a real hospital representative, providing a seamless patient experience.

11

Centralized Care Management Dashboard

Doctors, care coordinators, and hospital administrators can monitor patient follow-ups, AI-generated summaries, appointments, communication history, and recovery status from a single centralized dashboard.

12

Enterprise-Ready Scalability

Built on a cloud-native architecture, the platform can manage thousands of concurrent patient interactions while maintaining secure, personalized, and consistent healthcare experiences across multiple hospital locations.

12

Enterprise-Ready Scalability

Built on a cloud-native architecture, the platform can manage thousands of concurrent patient interactions while maintaining secure, personalized, and consistent healthcare experiences across multiple hospital locations.

patient journey

Complete Patient Journey

patient journey

The Post-Health AI Assistant provides a seamless and secure patient follow-up experience from hospital discharge to complete recovery monitoring. Instead of assigning hospital staff to manually review medical records and contact patients, the AI Virtual Nurse manages the entire follow-up process while securely accessing only the required patient context.

Patient Journey Flow
Patient Discharged dot image
dot image Follow-up Schedule Created by Hospital
Graph RAG Retrieves Patient-Specific Medical Context dot image
dot image AI Conducts Natural Health Conversation
Recovery Status, Symptoms & Medication Adherence Recorded dot image
dot image Personalized Guidance Based on Doctor's Treatment Plan
Recovery Status, Symptoms & Medication Adherence Recorded dot image
dot image WhatsApp Medication & Health Reminders
Continuous Recovery Monitoring dot image
Journey Highlights
No manual review of patient records by operational staff
Personalized conversations using secure patient-specific medical context.
Automatic documentation for doctors
Continuous patient engagement throughout the recovery process.
Faster intervention when recovery risks are detected.

Hospital Workflow

1 Patient
Discharge
2 Hospital Management
System (HIS / CRM)
3 AI Follow-up
Schedule Created
4 Secure Graph RAG
Retrieves Patient Context
5 AI Virtual Nurse
Places Voice Call
6 Patient Recovery
Conversation
7 AI Analyzes Symptoms
& Recovery Progress
8 Doctor Summary Generated
  • Doctor Dashboard
  • Appointment Scheduler
  • WhatsApp Notification Engine
9 Hospital Analytics &
Reporting Dashboard
Business Benefits
Eliminates repetitive manual follow-up calls
Protects confidential patient information
Standardizes follow-up quality across all patients
Reduces administrative workload
Enables doctors to receive structured patient insights in real time

AI Architecture

The Post-Health AI Assistant is built on a cloud-native, AI-first architecture that combines Conversational AI, Voice AI, Graph RAG, and workflow automation. Every component is designed to deliver personalized patient interactions while maintaining strict data privacy and low-latency communication.

ai architecture image
1 Hospital Management
System
2 Patient Follow-up
Scheduler
3 FastAPI Backend
Services
4 Custom Graph
RAG Engine
5 Fine-Tuned
LLM
6 Twilio Voice
Services
7 Patient
Conversation
8 Doctor Summary
Generator
9 React
Dashboard
10 PostgreSQL +
pgvector
11 AWS Cloud
Infrastructure
Architecture Highlights
Cloud-native scalable architecture
Secure patient-specific context retrieval
Real-time Voice AI conversations
Low-latency response generation
Centralized dashboards for hospitals and doctors

Graph RAG Architecture

One of the biggest challenges in healthcare AI is ensuring that sensitive medical information is never exposed to unauthorized users or mixed between patients. Traditional Vector RAG retrieves information based primarily on semantic similarity, which may not be sufficient for highly regulated healthcare environments.

To overcome this challenge, we implemented a custom Graph RAG architecture where every patient has an isolated knowledge graph containing only their own medical information.

Each graph securely connects relationships such as:
Doctor
Diagnosis
Prescriptions
Treatment Plan
Medical Reports
Allergies
Dietary Restrictions
Dietary Restrictions
Previous Follow-ups
Recovery Progress
Appointment History

During every AI conversation, the platform retrieves information exclusively from the corresponding patient's graph, ensuring recommendations are generated only from their medical records.

Graph RAG Workflow

1 Patient ID
2 Personalized & Secure Response

Graph RAG Workflow

3 AI Virtual Nurse
4 Isolated Patient Graph
Recovery Progress Previous Conversations Medical Reports Treatment History Allergies Prescriptions Diagnosis Doctor Instructions
Benefits
Complete patient data isolation
No cross-patient information leakage
Highly personalized conversations
Better contextual understanding
Enterprise-grade privacy architecture

Voice AI Pipeline

The Voice AI Pipeline enables natural, human-like conversations while ensuring low response latency and accurate understanding of patient health updates.

Unlike traditional IVR systems that follow predefined scripts, the AI dynamically adapts every conversation based on patient responses and medical context retrieved from Graph RAG.

Voice AI Workflow
AI Initiates Outbound Call dot image
Twilio Voice Platform dot image
LiveKit Real-Time Streaming dot image
Twilio Voice Platform dot image
LiveKit Real-Time Streaming dot image
Graph RAG Retrieves Patient Context dot image
Fine-Tuned LLM Generates Response dot image
Text-to-Speech Conversion dot image
Graph RAG Retrieves Patient Context dot image
Fine-Tuned LLM Generates Response dot image
Text-to-Speech Conversion dot image
Patient Hears AI Response dot image
Conversation Stored dot image
Doctor Summary Generated dot image
Text-to-Speech Conversion dot image
Patient Hears AI Response dot image
Conversation Stored dot image
Conversation Stored dot image
Doctor Summary Generated dot image
WhatsApp Follow-up Notifications dot image
WhatsApp Follow-up Notifications dot image
Voice AI Capabilities
Human-like conversational experience
Real-time response generation
Low-latency voice interactions
Dynamic follow-up questions
Patient-specific contextual responses
Automatic conversation documentation
Structured summaries for doctors
Continuous patient engagement through Voice AI and WhatsApp

Technology Stack

python
Python/FastAPI Backend
react
React Frontend
live kit
LiveKit Voice Runtime
Twilio
Twilio Telephony
Meta WhatsApp
Meta WhatsApp API Messaging
Postgre SQL
PostgreSQL + pgvector Database
Custom Graph RAG
Custom Graph RAG AI Retrieval
AWS
AWS Cloud

Engineering Challenges

Developing the Post-Health AI Assistant required solving several critical healthcare and AI engineering challenges while maintaining a seamless patient experience.

Patient Data Privacy

The biggest challenge was eliminating the need for operational staff to access complete patient medical histories during follow-up calls. The AI needed to securely retrieve only the required patient-specific information while protecting confidential medical records.

Patient-Specific Knowledge Retrieval

Ensuring the AI generated recommendations using only the individual patient's diagnosis, prescriptions, allergies, treatment history, and doctor instructions was essential. A custom Graph RAG architecture was developed to prevent cross-patient information retrieval.

Natural Human-Like Voice Conversations

Creating conversations that felt natural rather than scripted required low-latency Voice AI capable of understanding patient responses, asking intelligent follow-up questions, and adapting dynamically throughout the interaction.

Enterprise Scalability

The solution was designed to support thousands of simultaneous patient interactions while maintaining consistent performance, personalized experiences, and secure data processing.

Healthcare System Integration

Integrating Voice AI, telephony services, hospital workflows, appointment scheduling, and WhatsApp notifications into one seamless platform required a scalable and modular architecture.

Reliable Clinical Summaries

The platform needed to accurately summarize patient conversations into structured reports that doctors could quickly review, reducing manual documentation while preserving important clinical information.

Security & Compliance

Protecting sensitive healthcare information was a core design principle throughout the platform.

Instead of allowing multiple hospital staff members to access confidential medical histories during follow-up calls, the AI securely retrieves only the required patient-specific information through an isolated Graph RAG architecture. Every patient's medical context remains completely separated, preventing unauthorized access and eliminating the risk of cross-patient data exposure.

Security Highlights
  • Privacy-first patient data architecture
  • Isolated patient knowledge graphs
  • Role-based user access and permissions
  • Secure API communication with encrypted data transmission
  • Comprehensive audit logs for AI interactions
  • Secure cloud infrastructure deployment
  • Patient-specific context retrieval
  • Architecture designed to support HIPAA-ready healthcare implementations
security compliance

Business Outcomes

The Post-Health AI Assistant transformed the hospital's post-treatment follow-up process by improving operational efficiency while strengthening patient data privacy.

Key Business Benefits
Reduced dependency on manual follow-up calls by hospital staff.
Significantly minimized unnecessary exposure of confidential patient medical records
Faster generation of structured doctor summaries
Standardized patient follow-up conversations using AI-driven workflows
Improved patient engagement through proactive Voice AI conversations
Streamlined appointment scheduling and automated reminders
Increased operational efficiency for nursing and administrative teams
Built a scalable platform capable of supporting growing patient volumes
Established a secure foundation for future AI-powered healthcare services

Future Roadmap

The platform has been designed with a scalable architecture that enables continuous innovation and future healthcare integrations.

Upcoming Enhancements
Electronic Health Record (EHR) integration dot image
Hospital Information System (HIS) connectivity dot image
Multilingual AI Voice Assistant dot image
Hospital Information System (HIS) connectivity dot image
Multilingual AI Voice Assistant dot image
dot image AI-powered patient risk prediction
dot image Wearable device integration
dot image Remote Patient Monitoring (RPM)
dot image Wearable device integration
dot image Remote Patient Monitoring (RPM)
Predictive recovery analytics dot image
Emotion and sentiment analysis during patient conversations dot image
Emotion and sentiment analysis during patient conversations dot image
dot image AI-driven medication adherence monitoring
dot image Smart clinician dashboards and reporting
dot image Smart clinician dashboards and reporting
Personalized wellness recommendations dot image
Multi-hospital and multi-location deployment support dot image
Multi-hospital and multi-location deployment support dot image

Why This Solution Stands Out

solution stands image

Unlike traditional healthcare chatbots or IVR systems, the Post-Health AI Assistant was built with a privacy-first approach that protects sensitive patient information while automating the complete post-treatment follow-up journey.

By replacing manual follow-up calls with an intelligent AI Virtual Nurse, hospitals can deliver personalized patient care without requiring operational staff to review confidential medical histories.

Platform Differentiators
  • Privacy-first Virtual Nurse for post-treatment patient engagement
  • Custom Graph RAG architecture with isolated patient knowledge graphs
  • Secure retrieval of patient-specific medical context
  • Human-like real-time Voice AI conversations
  • Human-like real-time Voice AI conversations
  • Automated doctor summaries and clinical documentation
  • Intelligent appointment scheduling and WhatsApp engagement
  • Low-latency AI communication powered by LiveKit and Twilio
  • Enterprise-ready cloud architecture built for healthcare organizations
  • Scalable solution for hospitals, clinics, and healthcare networks