Theralytics is a multi-tenant healthcare SaaS platform built on .NET 10, serving behavioral health and therapy organizations (ABA therapy, speech therapy, and related disciplines).
Core domains include patient management (demographics, guardians, insurance, authorizations), appointment scheduling (staff assignments, recurrence, appointment types), clinical documentation (session notes, SOAP notes, encounters, data collection, VB-MAPP assessments), billing and claims (claim generation, service lines, payer service codes, fee schedules, account ledgers), payroll (staff compensation, mileage, state-specific payroll reports), staff management (credentials, degrees, rendering providers), SSRS reporting (dozens of clinical, financial, and operational reports), and an admin portal for organization provisioning, licensing, master data, and cross-org reporting.
Architecture highlights: The system follows a multi-tenant model where each organization gets its own SQL Server database; a master database maps organizations to their tenant databases, and all queries use dynamic SQL with three-part naming. PII is encrypted at rest — patient names, dates of birth, SSNs, and addresses are encrypted using custom UDFs. The codebase is migrating from legacy V1 controllers to a V2 CQRS architecture using MediatR, with handlers, validators, and pipeline behaviors. Two APIs power the platform: HC.Patient.Web (the main tenant API) and HC.Admin.Api (the cross-org admin API). The production SQL Server hosts roughly 400–500 tenant databases. Deployments run through GitHub Actions to AWS ECS, with environment branches for QA1–4, Staging, Release, and Production. Observability is handled through Datadog APM for tracing, error tracking, and database monitoring.
In short, Theralytics is a full-stack practice management and clinical documentation platform for behavioral health providers, with billing, scheduling, reporting, and HIPAA compliance built in.