Klaro is an AI-assisted Filipino health companion application that helps users understand medical documents, ask follow-up questions in local dialects, find nearby care facilities, and book free consultations with licensed healthcare providers.
Klaro addresses healthcare accessibility challenges by providing:
- Intelligent document analysis for medical records
- Multilingual conversational support in Filipino dialects
- Proximity-based care facility discovery
- Integrated provider network with free consultation booking
- Direct connection with healthcare professionals at no cost
- Multiple upload methods: photo, document scanner, or PDF
- Comprehensive analysis of lab results, prescriptions, and discharge summaries
- Simplified patient-friendly explanations of medical data
- Automatic severity assessment for flagged laboratory values
- Generated talking points for doctor consultations
- Context-aware conversations about scanned medical documents
- Extended dialogue with natural follow-up questions
- General health information beyond document scope
- Support for Filipino dialects: Filipino (Tagalog), Bisaya, Ilocano
- On-demand complexity adjustment for explanations
- Responsive language matching to user input
- Geolocation-based clinic and hospital search
- Multi-criteria filtering: PhilHealth accreditation status, operating hours, specialty type
- Integrated data from DOH public facility database and Google Maps API
- Real-time availability information
- Directory of licensed Filipino medical professionals
- Free consultation booking with healthcare providers
- Multiple session formats: chat consultations, video consultations, asynchronous document reviews
- Automatic document sharing with assigned healthcare provider
- Post-consultation services: digital prescriptions and referrals
- PRC license verification during provider onboarding
| Account Type | Features |
|---|---|
| Guest | Document analysis and scanning, shareable private link (30-day expiry), no persistent history |
| Registered | Full guest features plus document history, saved analyses, personalized AI context, free consultation booking |
Future considerations include:
- Health trend tracking across multiple analyses
- Family and caregiver management with sub-profiles
- Simplified output modes for elderly users
- Technical versus simplified information toggle
- Medication tracking and reminder system
- PhilHealth coverage verification
- Push notification system
- Second opinion consultation mode
- Provider ratings and review system
Klaro is built as a full-stack monorepo using pnpm and Turborepo:
apps/
expo/ Mobile application for iOS and Android
nextjs/ Web application and API gateway
tanstack-start/ Alternative web application framework
packages/
api/ tRPC router definitions
auth/ Authentication system (Better Auth)
db/ Database schema and ORM (Drizzle)
ui/ Shared component library
validators/ Shared validation schemas
- Node.js 18.0 or later
- pnpm package manager
- Database instance (configured via environment variables)
Install all dependencies:
pnpm installConfigure environment variables:
cp .env.example .envEdit .env with your configuration values for database, authentication, and third-party services.
Generate authentication schema:
pnpm auth:generatePush database schema to your database instance:
pnpm db:pushStart all development servers:
pnpm devThis will start:
- Web application at http://localhost:3000
- Mobile app development server
- API server with live reloading
- Additional services as configured
Build all applications and packages:
pnpm buildKlaro is designed as a comprehensive 5-day development sprint. Each feature includes clear demonstration moments and avoids speculative implementation.
Comprehensive documentation is available in the docs/ directory:
API_REFERENCE.md- API endpoint documentationBACKEND_DEV_GUIDE.md- Backend development guidelinesMOBILE_DEV_GUIDE.md- Mobile application developmentWEB_DEV_GUIDE.md- Web application developmentDATABASE_GUIDE.md- Database schema and ORM usageSECURITY_GUIDE.md- Security best practicesDEPLOYMENT_GUIDE.md- Production deployment steps
Development workflow:
- Create a feature branch from main
- Make changes following the project conventions
- Ensure all tests pass:
pnpm test - Submit pull request with clear description
- Frontend: Next.js, React, Expo, TailwindCSS, NativeWind
- Backend: Node.js, tRPC, Better Auth
- Database: PostgreSQL with Drizzle ORM
- Mobile: Expo and React Native
- Validation: Zod schemas
- Build Tools: Turborepo, Vite
For questions or issues:
- Review the documentation in the
docs/directory - Check existing issues on GitHub
- Consult the
TROUBLESHOOTING.mdguide
This project is licensed under the terms specified in the LICENSE file.