Back to ProjectsAI Medical Documentation and WhatsApp Appointment Booking

    Vitas Clinic

    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
    25sAudio to report
    9 tablesMulti-tenant DynamoDB

    Overview

    How the system works

    Vitas Clinic is a medical management platform that combines AI-powered automated documentation, real-time transcription, and intelligent WhatsApp appointment booking. The doctor records the consultation (normal mode or real-time), audio is uploaded to S3, and a Step Functions pipeline executes: AI transcription (with automatic fallback), SOAP report generation with specialized AI models (with fallback), and automatic ICD-10 coding — all in parallel. Patients book appointments via WhatsApp with an intelligent chatbot that queries availability, locks time slots with DynamoDB transactions, and generates MercadoPago payment links. Multi-tenant architecture supports clinics with multiple doctors and independent practitioners. Profession-specific prompts: physician, dentist, nutritionist.

    Web PlatformAWSStep FunctionsAI ChatbotAI TranscriptionAI ReportsDynamoDBMercadoPagoWhatsApp
    The Challenge

    The Challenge

    Post-consultation clinical documentation consumed 45-60 minutes per patient between transcription, SOAP report writing, and ICD-10 coding. Manual phone booking generated no-shows and scheduling conflicts. Independent doctors and clinics needed a scalable solution without infrastructure investment.

    The Solution

    The Solution

    Processing pipeline in Step Functions to parallelize SOAP and ICD-10 generation. Dual transcription: real-time and deferred with automatic fallback. Intelligent chatbot integrated with WhatsApp via Kapso for booking with transactional time-slot locking in DynamoDB. Multi-tenant with secure authentication and service activation guards (digital signature + price + duration required).

    Results

    Results

    90% automation in SOAP report generation. Complete audio-to-storage processing in ~25 seconds (parallel processing). Real-time transcription latency < 500ms. 24h SLA guarantee with automatic retries. Multi-tenant operational with clinics and independent doctors. Payments integrated with MercadoPago and OTP via Kapso.

    Screenshots

    Discover the project

    Technical Architecture

    Technology Stack

    Doctor portal (web)
    Patient/payment portal (web)
    Intelligent WhatsApp chatbot
    AWS infrastructure (4 independent stacks)
    Step Functions for transcription + analysis
    Parallel SOAP + ICD-10 generation
    DynamoDB (9 tables, on-demand, backup in prod)
    S3 (audios, transcriptions, SOAP reports, photos)
    CloudFront CDN for profile images
    Real-time AI transcription (Spanish)
    AI-powered SOAP and ICD-10 generation (with fallback)
    WhatsApp/Kapso (messaging + OTP)
    MercadoPago (consultation payments)
    Agent observability and monitoring
    Rate limiting for security

    Key Benefits

    Improvements after implementation

    SOAP automated

    SOAP automated

    90% automation in SOAP report generation: the doctor simply records the consultation and AI structures the clinical note and suggests the diagnosis, cutting documentation time from 60 to 10-15 minutes per patient.

    Audio to report

    Audio to report

    From consultation audio to a complete SOAP + ICD-10 report in just 25 seconds thanks to parallel processing, with real-time transcription under 500ms and the doctor's digital signature.

    Multi-tenant DynamoDB

    Multi-tenant DynamoDB

    3x more patients attended per day without additional staff. Cost of $0.073 per processed file (80% less than traditional solutions). 24h processing guarantee with SLA and automatic retries.

    Quote Icon
    The implementation of specialized agents is revolutionizing the medical appointment process. The system's ability to transcribe consultations, structure SOAP notes, generate ICD-10 codes, and suggest diagnoses has increased the quality of care doctors provide to their patients, while significantly reducing the administrative burden.
    Felipe VelasquezMedical Practice Manager, Vitas Clinic
    Case Studies

    Discover more case studies

    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

    View full caseexternal

    Sugeter

    Plan, share and discover travel itineraries in minutes

    Social Travel App

    Instagram-style social platform for travelers where users can create itineraries, add activities, locate points on a map, and share experiences in a guided, fluid, and frictionless flow.

    70%

    Time reduction

    100%

    i18n Ready

    0→1

    Scalable architecture

    View landing pageexternal

    Lancémonos Nomás

    276+ videos processed with AI, searchable in milliseconds

    AI-Powered Educational Platform with HLS Streaming

    Video course platform with automatic AI transcription, semantic topic analysis, intelligent search (Algolia), and HLS streaming that solves memory issues with long videos. 276+ videos processed in production.

    276+

    Videos processed

    < 200ms

    Algolia search

    -90%

    Indexing time

    View full caseexternal

    MedConsult

    Digital clinical records with AI validation and PDF generation in seconds

    AI-Powered Medical Consultation Management

    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.

    99.67%

    Auth cache hit rate

    ~$117

    Cost/month for 500 doctors

    500+

    Concurrent doctors

    View full caseexternal

    JohoFIT

    Assessments, routines, nutrition, and memberships in one platform

    Personalized Fitness Coaching Platform

    Comprehensive platform for fitness coaches that automates anthropometric assessments with body density formulas, calculates macronutrients and basal metabolism, generates routines with videos, manages memberships with automatic alerts, and sends PDF reports via WhatsApp. 3 roles: admin, coach, and client.

    99+

    Foods in nutrition DB

    3 roles

    Admin, Coach, Client

    Auto

    Anthropometric calculations

    View full caseexternal

    Ecomúsculo

    From Excel to a digital clinical platform with scheduling, sessions, and payments

    Rehabilitation Clinic Management

    Clinical operations platform for a rehabilitation center that replaces Excel with digital scheduling, therapy session tracking (3/10), conflict detection, payment tracking, no-show penalty system, and occupancy reports. Serverless backend with DynamoDB.

    150+

    API routes

    103

    Automated tests

    Single-table

    DynamoDB + 3 GSIs

    View full caseexternal

    Kirana

    Book your Pilates class in seconds, no calls needed

    Premium Landing with Bookings and Payments

    Modern landing page for Pilates studio with real-time bookings (Mindbody) and payments via Mercado Pago. Premium design focused on conversion from day one.

    <1s

    Initial Load (LCP)

    100%

    Responsive

    SEO

    First Google Result

    View landing pageexternal