Frontend
Next.js 16 App Router, React 19, TypeScript, Tailwind CSS v4, and shadcn/ui for fast clinical UI iteration.
This page outlines the stack, flow, and privacy controls used to convert visit audio into structured clinical outputs and patient-safe interactions.
Next.js 16 App Router, React 19, TypeScript, Tailwind CSS v4, and shadcn/ui for fast clinical UI iteration.
Prisma ORM with SQLite schema for users, patients, visits, notes, share links, appointments, and care plan items.
Gemini 2.0 Flash powers audio-to-transcript conversion, conversation summaries, and SOAP draft generation.
Elastic integrations support indexed chunks, entity extraction, analytics, and optional audit trail capabilities.
Browser audio capture starts in Transcribe. Session state is tracked in real time with start, pause, and stop controls.
Audio is posted to /api/transcribe, then converted into speaker-labeled segments for clinician and patient dialogue.
Saving runs /api/transcribe/save to generate summary + SOAP notes and persist visit-linked documentation.
Clinician and patient surfaces consume the same visit context so guidance stays grounded in stored visit evidence.
Deployment note: production healthcare environments should pair this application with compliance controls (BAA-ready vendors, key management, logging retention, and access governance) before handling regulated PHI.