Tenant isolation for PHI
The decision that is hardest to reverse. Shared-schema with row-level scoping is cheaper to run; schema- or database-per-tenant is easier to defend in a security review and easier to unwind when a customer leaves. We pick deliberately, in writing, before the first migration — because changing it later means migrating live patient data.
Per-organisation roles and permissions
Provider groups have hierarchies — practice, location, department, individual clinician — and permissions follow them. Retrofitting that onto a flat role model means rewriting every authorisation check in the product.
Audit trails that are tenant-scoped
Each customer needs to see their own access logs without seeing anyone else's. Designed in, this is a query filter; bolted on, it is a data-modelling exercise across the whole application.
Onboarding without an engineer in the loop
Every new clinic means users, locations, integrations, and templates. If onboarding needs engineering, growth is capped by your team's calendar — and that ceiling arrives sooner than most teams expect.
Billing that matches how healthcare buys
Per-provider, per-location, per-encounter, or a platform fee — healthcare rarely buys per-seat like ordinary SaaS. The pricing model shapes the data model, so it is worth settling early.
A configurable compliance posture
Enterprise customers arrive with their own retention policies, SSO requirements, and data-residency constraints. Making these per-tenant configuration rather than code is what lets you say yes without a fork.