Add AI-powered voice commands and billing intelligence to RCM dashboard#142
Open
Rumblingb wants to merge 1 commit into
Open
Add AI-powered voice commands and billing intelligence to RCM dashboard#142Rumblingb wants to merge 1 commit into
Rumblingb wants to merge 1 commit into
Conversation
Adds a full voice-first RCM command interface and six new intelligence panels to the billing dashboard: Backend (api-edge/rcm.ts): - POST /voice-intent: Claude Haiku billing AI — Phase 1 narration + Phase 2 action execution (approve_qa, escalate, pause_lane) - GET /daily-briefing: Haiku-generated 15-min cached situational briefing - GET /revenue-pipeline: Claim funnel from submitted → recovered with denial/recovery rates - GET /payer-intelligence: Per-payer denial rate, auto-close %, amount at risk - GET /automation-health: Lane accuracy, false-positive stats, Haiku recommendation - POST /generate-appeal: Claude Sonnet drafts formal appeal letters from denial metadata Dashboard proxies (6 new Next.js API routes): - All authenticate via session cookie, forward to api-edge with Bearer token RcmManagerClient.tsx: - DailyBriefingPanel: Haiku briefing shown below digest strip, 15-min stale time - RevenuePipelinePanel: Bar chart funnel with $ at each stage + summary stats - PayerIntelligencePanel: Color-coded table showing denial rate and auto-close % per payer - AutomationHealthCard: Dismissible recommendation card with 7-day accuracy stats - AppealModal: One-click Sonnet-generated appeal letters for denial exceptions, copy to clipboard - VoiceFAB upgraded: keyword matching replaced with real AI voice-intent API calls, confirm flow for destructive actions - ExceptionCard: Appeal button on denial exceptions (triggers AppealModal) - TABS extended: Pipeline + Payer intel tabs added alongside existing claims/eligibility/connectors https://claude.ai/code/session_01UtW9JoQ46YBSU4HqPeiYPx
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds AI-powered voice command capabilities and real-time billing intelligence panels to the RCM manager dashboard. Users can now interact with the system via voice, generate appeal letters, and view revenue pipeline and payer performance analytics powered by Claude AI.
Key Changes
Voice Command Interface
VoiceFABcomponent to use Claude Haiku for natural language understanding instead of simple keyword matchingAI-Powered Features
Backend API Routes
GET /api/rcm/revenue-pipeline: Maps work item statuses to billing pipeline stages with summary metricsGET /api/rcm/payer-intelligence: Per-payer performance analytics (denial rate, auto-close %, amount at risk)GET /api/rcm/automation-health: Lane-level accuracy metrics and AI-generated recommendationsGET /api/rcm/daily-briefing: AI-generated morning briefing with context from critical items and exceptionsPOST /api/rcm/generate-appeal: Generates draft appeal letters for denied claimsPOST /api/rcm/voice-intent: Two-phase voice command processor with action confirmationDashboard Routes
UI Enhancements
'pipeline'and'intel'for future dashboard navigationArrowRight,BarChart2,FileText,Sparkles,TrendingUp,XImplementation Details
ANTHROPIC_API_KEYis not configuredhttps://claude.ai/code/session_01UtW9JoQ46YBSU4HqPeiYPx