PreCheck.ai
AI-powered health insurance claims assistant — Runner-Up (Google Gemini Track) & Best .tech Domain, nwHacks 2026.
Shipped a healthtech MVP among 100+ competing teams in under 24 hours, leading a 4-person team. A 4-stage ML validation pipeline — Gemini Vision OCR, RAG-based policy retrieval, HistGradientBoosting risk scoring (0–100 denial probability), and a remediation dashboard with citation-level fixes — covering the full claim lifecycle across Prevention, Pre-Submission, and Appeal flows, validated against 10+ required fields.
README
PreCheckAI.tech 🛡️
nwHacks 2026 | Denial management software for healthcare providers.
Stop insurance claim denials before they happen. PreCheckAI.tech transforms hours of paperwork into seconds of automated, intelligent validation.
🎯 The Problem
Healthcare providers in British Columbia lose significant revenue to preventable claim denials. Manual claim review is:
- Time-consuming: 16+ hours weekly spent on paperwork
- Error-prone: Documentation gaps, coding errors, policy misalignments
- Costly: Denied claims require expensive appeals or write-offs
💡 Our Solution
PreCheckAI.tech is a pre-submission validation system that catches claim issues before submission, dramatically reducing denial rates.
Three Powerful Modes
| Mode | Description |
|---|---|
| 🛡️ Prevention | Shadow auditor simulation that flags documentation gaps before submission |
| 📋 Pre-Submission | Final scrub against payer-specific requirements and BC regulations |
| ⚖️ Appeal Generation | AI-crafted evidence-based appeal letters for denied claims |
🔧 Technical Specification
Policy Parsing
- RAG-powered analysis of BC insurer policy documents.
- Supports Various Insurers: MSP, Pacific Blue Cross, Sun Life, Manulife, Canada Life.
- Policy section extraction with page citations
Claim Optimization
- Gemini 3 Pro Flash AI analysis engine
- Smart-text suggestions with policy references
- Risk scoring (0-100) with approval probability
- Documentation gap detection and strengthening
Risk Prediction
- Multi-factor denial risk assessment
- Medical necessity evaluation
- Coding error detection
- Historical pattern analysis (using sytentic data)
- Conservative treatment requirement checks
🛠️ Tech Stack
Frontend
- React 18 + TypeScript - Modern, type-safe UI
- Vite - Lightning-fast builds and HMR
- Tailwind CSS - Utility-first styling
- Framer Motion - Smooth animations and micro-interactions
Backend
- Google Gemini 3 Pro Flash - AI analysis engine
- **Python FAST API
Quality & Testing
- ESLint + TypeScript - Code quality
Deployment
- Frontend: Vercel
- Backend: Railways
🚀 Getting Started
Prerequisites
- Node.js 18+ (recommend using nvm)
- npm or bun
Clone the Repository
git clone https://github.com/sahil-sanghvi/nwhacks2026-precheckai.git
cd nwhacks2026-precheckai
Run the Setup & Start Script
The start.sh script will:
- Install frontend dependencies
- Install backend dependencies
- Start both frontend and backend services
macOS / Linux / WSL
chmod +x start.sh
./start.sh
Windows (Git Bash)
bash start.sh
What Happens Next
- Frontend will start on:
http://localhost:5137 - Backend will start on:
http://localhost:8080
Troubleshooting
-
If you get a permission denied error:
chmod +x start.sh -
If
bashis not recognized on Windows, install Git Bash or WSL -
Ensure no other services are running on the same ports
Environment Variables
Create a .env file in the root directory:
OPENROUTER_API_KEY=asdf-asdf
MODEL_NAME=google/gemini-3-pro-preview
📁 Project Structure
├── src/
│ ├── components/ # React components
│ │ ├── dashboard/ # Dashboard-specific components
│ │ │ └── steps/ # Multi-step form components
│ │ └── ui/ # shadcn/ui components
│ ├── hooks/ # Custom React hooks
│ ├── integrations/ # Third-party integrations
│ ├── lib/ # Utility functions
│ ├── pages/ # Route pages
│ ├── test/ # Test files
│ └── types/ # TypeScript definitions
├── supabase/
│ └── functions/ # Edge functions
│ └── analyze-claim/ # AI claim analysis endpoint
└── public/ # Static assets
👥 Team
nwHacks 2026 - Built in Vancouver, BC 🇨🇦
| Name | Role |
|---|---|
| Adi | Lead Developer |
| Eshu | Developer |
| Sahil | Developer |
| Angad | Product |
📄 License
This project was built for nwHacks 2026. All rights reserved.