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
    Vitas Clinic

    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% — SOAP automated

    Audio to report

    Audio to report

    25s — Audio to report

    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