A mobile/web application that helps medical students and junior doctors develop clinical reasoning skills through AI-generated spaced repetition case studies, real-time coaching, and performance feedback.
- Help users practice clinical reasoning through realistic, AI-generated patient cases
- Provide adaptive difficulty using spaced repetition
- Give actionable performance feedback after each case
- Support both self-directed learning and structured review
- Phone number input
- OTP verification (dummy/fake OTP for MVP)
- On success → redirect to Home Dashboard
Users can:
- Start a new case (Spaced Repetition Case Generator)
- Review due cases (cases scheduled for review)
- View performance & insights
Before starting a session, user selects a mode:
| Mode | Description |
|---|---|
| Clinical Reasoning Coach | Step-by-step guidance through a case with feedback |
| Spaced Repetition Generator | Creates cases/questions for repeated practice over time |
User inputs:
- Topic (optional) — e.g., "heart failure"
- Difficulty — Easy / Medium / Hard
Case is generated via Gemini API (generate case function).
Three-panel layout:
| Panel | Content |
|---|---|
| Left | Case progression: Chief Complaint → History → Exam → Labs |
| Center | Chat interface with AI |
| Right | Notes / Differential diagnosis list |
- AI gives Socratic feedback on user's reasoning
- LLM reviews user input vs. ideal response
- Highlights what the user did well and what they missed
- Phone auth (dummy OTP)
- Case generation via Gemini (topic + difficulty)
- Chat-based case interaction
- Three-panel case UI
- Post-case performance feedback
- Basic spaced repetition scheduling
- Real OTP (Twilio / Firebase)
- User performance history & analytics
- Specialty-specific case libraries
- Peer comparison / leaderboard
| Layer | Technology |
|---|---|
| Frontend | React / Next.js |
| Backend | FastAPI (Python) |
| Auth | uvicorn + FastAPI, dummy OTP for MVP |
| AI / LLM | Gemini API (case generation + feedback) |
| Database | PostgreSQL or Supabase |
| Spaced Repetition | SM-2 algorithm or similar |
- Mobile-responsive design
- Response latency < 3s for case generation
- Support 100+ concurrent users (MVP target)
- All medical content clearly labeled as educational, not clinical guidance
- Real clinical data / EHR integration
- Actual OTP SMS
- Payment / subscription
- Offline mode