CliniQ+: System architecture

Patient and clinician workflows over a private, review-first record system

CliniQ+: System architecture Patient and clinician workflows over a private, review-first record system Care team + patient · Patient · clinician · reception · Architecture component Care team + patient Patient · clinician · reception Next.js workspaces · App Router · React · TypeScript · Architecture component Next.js workspaces App Router · React · TypeScript Supabase Auth · Session · verified user · Architecture component Supabase Auth Session · verified user Server routes + domain services · Auth context · role checks · bounded commands · Architecture component Server routes + domain services Auth context · role checks · bounded commands Supabase PostgreSQL · RLS · versioned clinical records · jobs · Architecture component Supabase PostgreSQL RLS · versioned clinical records · jobs Private Storage · Immutable source bytes · scoped access · Architecture component Private Storage Immutable source bytes · scoped access Bounded job runner · Parse · reconcile · recover durable work · Architecture component Bounded job runner Parse · reconcile · recover durable work Optional providers · Speech · text · OCR; allowance-gated · Architecture component · Gated Optional providers Speech · text · OCR; allowance-gated Gated HTTPS Session API request Verify user RLS / RPC Authorized bytes Lease + fence Save result Read source Gated provider call Legend Frontend Backend Database Security External