MedConsult
Serverless platform for medical consultation management with native mobile app, AI clinical consistency validation, automatic PDF generation, audio transcription with AI, and async processing with SQS. Supports 500+ concurrent doctors at ~$117/month.

Overview
How the system works
MedConsult is a serverless clinical consultation management platform that enables doctors to create, manage, and access patient records from any device. The native mobile app handles the complete flow: patient registration, structured consultation (history, reason, physical exam, diagnosis, plan), re-evaluations, and clinical states (discharge, hospitalization, transfer). An async pipeline validates medical consistency with AI across clinical sections, generates professional PDFs, and sends via email with AWS SES. Serverless API on Lambda with Firebase Auth, intelligent authorization caching (99.67% hit rate), and 3 DynamoDB tables for efficient queries. Async processing via SQS with advance creation to prevent data loss.
The Challenge
Doctors managed records on paper, local files, or unstructured Excel. Finding records took 10-15 minutes, files got lost, there was no consistency validation between clinical sections, and generating PDFs was manual. Scaling to multiple doctors without local infrastructure was impossible.
The Solution
Serverless API on Lambda with 5 specialized functions: main API, intelligent authorization cache, AI clinical validation, async processing (storage + PDF + email), and signup. DynamoDB with 3 normalized tables. Cross-platform native mobile app. AI audio transcription. Advance creation to prevent data loss.
Results
Authorization caching reduces costs by 99.67%. API latency reduced 300ms per request. Thread-safe atomic consultations without duplicates. Async PDF generation with secure download links. AI validation detects clinical inconsistencies before storage. Scalable to 500 doctors with DynamoDB auto-scaling. WAF protects against attacks in production.
Screenshots
Discover the project
Technical Architecture
Technology Stack
Key Benefits
Improvements after implementation
Ultra-Low Cost
~$117/month for 500 concurrent doctors. ARM64 Lambda saves 20-34%, S3 Intelligent-Tiering optimizes storage, authorization cache reduces 99.67% of invocations.
AI Clinical Validation
AI validates consistency across clinical sections (history, diagnosis, plan) before storage, ensuring deterministic and reproducible results.
Data Resilience
Advance creation with infoPendiente flag prevents data loss. Atomic DynamoDB counters guarantee thread-safe numbering. S3 lifecycle with Glacier retention for compliance.
“MedConsult allowed us to fully digitize our consultation process. The automatic AI clinical consistency validation detects errors that previously went unnoticed, and PDF generation saves us hours every week.”
Discover more case studies
Vitas Clinic
From consultation audio to SOAP report + ICD-10 in 25 seconds
AI Medical Documentation and WhatsApp Appointment Booking
Multi-tenant platform for clinics and independent doctors that automates clinical documentation (audio → SOAP + ICD-10), offers real-time AI transcription, and appointment booking via WhatsApp with an intelligent chatbot. Doctor portal, patient payment portal, and admin panel.
90%
SOAP automated
25s
Audio to report
9 tables
Multi-tenant DynamoDB
DexaVision
AI-powered dental diagnosis in under 30 seconds
Dental Caries Detection with AI
AI dental caries detection platform that analyzes images using ICDAS II classification, connects patients with verified dentists via real-time chat, and processes subscription payments. All from a mobile device.
< 30s
Full AI analysis
4 models
Multi-model pipeline
45+
Lambda functions