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 PostgreSQL schema for users, patients, visits, notes, share links, appointments, and care plan items.
Amazon Nova (via Amazon Bedrock) powers conversation summaries, SOAP draft generation, and grounded chat responses.
AWS-hosted deployment uses ECS Fargate, RDS PostgreSQL, Bedrock, S3, and CloudWatch for a clean full-stack runtime.
Browser audio capture starts in Transcribe. Session state is tracked in real time with start, pause, and stop controls.
Transcript text (or browser live transcript) is normalized 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.