🏥 MedConnect AI

Production Medical Note Generation System

v2.1 - Local Development
🔒 Authentication (Local Testing)
🎤

Audio Transcription API 1

Upload audio files for automatic transcription and translation to English using OpenAI Whisper.

  • OpenAI Whisper (large-v3)
  • Auto language detection
  • Auto-translate to English
  • Supports M4A, AMR, MP3, WAV
  • Fast transcription
Open Transcription →
🌐

Note Generation (Web) API 2

Real-time streaming note generation with Server-Sent Events (SSE). Optimized for desktop/web browsers.

  • Server-Sent Events (SSE) streaming
  • 1-10 parallel note generation
  • Real-time validation feedback
  • Full transcript editing
  • All 6 validators
Open Web UI →
📱

Note Generation (Mobile) API 3

Job-based async note generation. Resilient to interruptions (phone calls, app backgrounding, network switches).

  • Job-based async pattern
  • Interruption-resistant (reconnect)
  • Status polling (2s intervals)
  • 60s timeout handling
  • Pre-loaded test transcripts
Open Mobile Tester →
📝

Prompt Management API 4

Manage medical note prompts in DynamoDB. Create, update, and delete prompts for different note types and specialties.

  • CRUD operations for prompts
  • Filter by note type & specialty
  • Historical aggregation flags
  • Required sections management
  • Version control
Open Prompt Management →
📊

Cost Statistics Dashboard

Track AI usage, validation scores, and performance metrics. Monthly aggregations by user and note type.

  • All users monthly aggregate
  • Per-user breakdown
  • Validation by note type
  • Performance metrics
  • Cost tracking (S3 backed)
Open Dashboard →
📈

Usage Analytics & Invoicing NEW

Tenant, user, and patient-level analytics for invoicing. Track model usage, duration, and costs with date/month filtering.

  • Tenant-level analytics
  • User & patient breakdowns
  • Model usage & duration tracking
  • Cost aggregation by note type
  • Export for invoicing (JSON/CSV)
Open Analytics →
📚

Documentation Portal

4 comprehensive guides covering architecture, deployment, user journeys, and cost tracking. Server-side rendered HTML for fast loading.

  • Architecture & Flow (System design & security)
  • Terraform Deployment (AWS infrastructure)
  • User Journeys & Stories (Business workflows)
  • Cost Tracking (Analytics & invoicing)
View Documentation →

System Status

Backend http://localhost:8000
Database SQLite (Local Testing)
Debug Logging Loading...
APIs Available 4 APIs: Transcription + Web (SSE) + Mobile (Job) + Prompt Management

🎯 Key Features

🔒 PHI Protection AWS Comprehend Medical + Regex backup
✨ Semantic Correction Groq LLaMA 3.1 (8B Instant)
📝 Spelling Correction Groq LLaMA 3.1 (8B Instant)
🎨 Note Formatting Groq LLaMA 3.1 (LLM-based)
🤖 Note Generation GPT-4o-mini (OpenAI)
🔍 6 Validators Terminology, Completeness, Format, Coherence, Accuracy, Semantic
📚 Historical Context Discharge/Referral aggregation
👤 User Examples Personalized note styles
💰 Cost Tracking S3 storage, monthly reports
⚡ Performance 10 notes in 3-4 minutes
📱 Mobile Ready Job-based async API
🚀 Production Ready AWS ECS deployment