What problem does it solve? Psychology clinics and independent practitioners in Argentina need to coordinate appointment scheduling, patient communication, tax-compliant invoicing, and telehealth sessions across disconnected tools, which creates manual overhead and missed reminders. ## Core Features & Use Cases - Agenda Management: NestJS appointment service with Prisma/PostgreSQL that detects practitioner and room conflicts, assigns session durations by type, and emits events for downstream workflows. - WhatsApp Automation: Baileys-based messaging that sends appointment reminders in Spanish, parses confirmation replies, delivers PDF invoices, and flags crisis keywords to alert practitioners. - AFIP Electronic Invoicing: Generates CAE-authorized invoices via the AFIP SDK with correct invoice types, IVA 21% calculations, and monthly fiscal summaries. - Video Consultations: LiveKit integration issuing JWT access tokens with practitioner admin grants, plus a Svelte video component with mute, camera, and end-call controls. - Use Case: A clinic books a virtual session, the patient receives a WhatsApp reminder 24 hours before, joins a LiveKit video room, and automatically receives an AFIP-compliant invoice after the session ends. ## Quick Start Set up the Sesión clinic platform by cloning the repository, configuring the environment variables for PostgreSQL, Redis, LiveKit, WhatsApp, and AFIP, then running the Prisma migrations and starting the NestJS backend and SvelteKit frontend.