Skip to main content
Techdome
All Insights/Healthcare AI

Engineering HIPAA-ready telehealth platforms: the decisions we make first

How tenant isolation, access control, audit logging, identity and vendor agreements shape a HIPAA-ready telehealth system, with what each looked like on three clinical platforms we built.

Rahul Joshi
Rahul JoshiChief Executive Officer
August 20268 min read
Verified Architecture
Isometric illustration of one platform split into separate clinic compartments, with a shield, an access gate and an audit log

Telehealth is where HIPAA stops being a checklist. Patient data crosses clinics, prescribers, pharmacies, payment providers and, more and more, AI tools. The costly mistakes are rarely in the code. They are decisions made before launch: how tenants are separated, who can see what, what gets logged, and which vendors touch patient data.

This post covers the decisions we make first, and what they looked like on three clinical platforms we have built. It is engineering practice, not legal advice.

Start by mapping where patient data goes

Protected health information (PHI) is any health data tied to a person. Before choosing a database or a vendor, draw every place it travels:

  1. 01Patiententers data
  2. 02Apptenant-scoped access
  3. 03Servicesprescribing, pharmacy, payments
  4. 04Storageencrypted and backed up
  5. 05Auditevery access recorded

Every box on that line needs an owner, an access rule, and, for any outside vendor, a business associate agreement. The five decisions below follow that line.

Decision 1: separate tenants in the data layer

A telehealth product usually serves many clinics from one platform. The question is how hard the wall between them is. Two common approaches are a separate schema per clinic, and shared tables with row-level rules.

ApproachStrengthCost
Schema or database per tenantStrong, easy-to-explain isolationMore to migrate, back up and monitor as tenants grow
Shared tables with row-level rulesOne schema to run and changeA single missing rule can expose another clinic's records

On our US and UK telehealth platform we built a multi-tenant PostgreSQL schema with complete tenant data isolation and role-based access control. The platform now has 38 clinic tenants, with 10 operating at scale. Read the full case study.

Decision 2: role-based access and an audit trail from the first sprint

Not everyone who works in a clinic should see every chart. Role-based access control decides who can do what, and an audit trail records who actually did it. Adding either late is hard, because every screen and every API needs to be revisited.

The same platform includes an asynchronous provider review portal with digital signature and audit logging, so a physician's decision on a chart is both signed and recorded.

Decision 3: one identity layer

Each extra login is another place for credentials to leak and another system to deprovision when someone leaves. For a multi-vendor care ecosystem we built a central identity and orchestration layer supporting OIDC, SAML and JWT token exchange. It replaced five separate vendor logins with one. See the case study.

Decision 4: offline use and payments must not weaken the boundary

Clinics do not always have a perfect connection, and patients pay for care. Both create risk if they are bolted on.

For an executive-health clinic group we moved the whole workflow to an offline-first Next.js progressive web app, so nurses can chart without a continuous connection. It runs on a hardened Node.js service architecture with HIPAA and PCI-DSS requirements built in, including a PCI-DSS compliant split-payment gateway. Read the case study.

Decision 5: infrastructure and agreements

Compliance sits on top of infrastructure that supports it. The telehealth platform runs on HIPAA infrastructure on AWS, and we execute business associate agreements as part of the day-zero architecture. A BAA is needed with any vendor that creates, receives, maintains or transmits PHI on your behalf.

Encryption is listed as an "addressable" specification in the Security Rule. That does not make it optional: you either implement it or document why an equivalent measure is reasonable. In practice, encrypt everything.

Where AI features fit

AI tools, such as transcription or note drafting, are one more vendor in the data flow, and the same rules apply:

  • A vendor whose service receives PHI needs a business associate agreement first.
  • Send the minimum necessary, and strip identifiers where the feature does not need them.
  • Keep a record of what was sent and what came back.
  • Keep a clinician in the loop before anything AI-generated reaches a chart or a patient.

We have built AI-assisted clinical documentation and EMR tooling too. See the case study.

How this looks at Techdome

In the Blueprint, compliance is a Week 1 decision: we lock compliance requirements such as HIPAA in the same week the data model is designed, and Week 7 is reserved for security review, an accessibility audit and load testing. Our healthcare and HIPAA topic page links the rest of our clinical work.

Takeaways

  • Map where patient data travels first. Every stop needs an owner, an access rule and, for vendors, a BAA.
  • Decide tenant isolation, role-based access and audit logging in the first sprint, not later.
  • Use one identity layer and treat offline devices as part of your security boundary.
  • Treat AI tools as vendors: BAA first, minimum necessary, and a human in the loop.
  • Compliance is the result of your whole programme, not a property of one framework or one cloud.

Have a project like this? Talk to our engineers.

FAQ

Questions readers ask

Does using AWS make an app HIPAA compliant?

No. AWS offers HIPAA-eligible services and signs a business associate agreement, but compliance depends on how you configure and operate your own system, and on your organisation's policies, training and risk analysis.

Is there an official HIPAA certification?

No. There is no official HIPAA certification for software or companies. We build to HIPAA requirements from day zero and execute business associate agreements, but each organisation remains responsible for its own compliance programme.

Do I need a BAA with every vendor?

You need one with any vendor that creates, receives, maintains or transmits protected health information on your behalf. That includes hosting, messaging, payments that touch PHI, and AI services.

Is encryption required under HIPAA?

The Security Rule lists encryption as addressable. You must implement it or document why an equivalent measure is reasonable. Most teams simply encrypt data in transit and at rest.

What is multi-tenant isolation, and why does it matter?

It is how a platform keeps one clinic's data separate from another's. A weak wall means a bug can expose records across clinics, so it is one of the first architecture decisions to make.

Can I use an LLM or AI API with patient data?

Only with a business associate agreement in place, only with the minimum necessary data, and with a human reviewing anything clinical. Where the feature does not need identifiers, remove them before the request.

Are offline apps allowed for clinical use?

Yes, if the device is protected as part of your security boundary. Decide how long data stays on it, what happens if it is lost, and when sessions expire.

Continue reading

More foundry teardowns

View all
+
+
+
+
Healthcare AIOct 28, 2026·4 min read

Telehealth compliance checklist for the US and UK

An engineering checklist for a telehealth platform serving US and UK patients: contracts, access and audit, clinic isolation, licensing by jurisdiction, prescribing, signatures, payments and incidents.

Techdome Engineering
Techdome EngineeringEngineering Team
+
+
+
+
Healthcare AIOct 28, 2026·3 min read

How to build a GLP-1 telehealth platform

A builder's guide to a GLP-1 telehealth platform: compliance, multi-tenant clinics, eligibility checks, licensing by jurisdiction, chart review, pharmacy routing, cold chain and billing.

Techdome Engineering
Techdome EngineeringEngineering Team
+
+
+
+
Healthcare AIOct 28, 2026·2 min read

Telehealth metrics and KPIs: the numbers that matter

The 15 telehealth metrics an operator should track, from intake completion to time to physician decision and cold-chain excursions, with real figures from a US and UK GLP-1 platform.

Techdome Engineering
Techdome EngineeringEngineering Team
+
+
+
+
Healthcare AIOct 28, 2026·2 min read

Asynchronous vs synchronous telehealth: which to build first

Asynchronous telehealth means a clinician reviews a prepared case; synchronous means a live visit. How they differ, what each changes in the build, and why most platforms end up with both.

Techdome Engineering
Techdome EngineeringEngineering Team
A technical illustration comparing queued task delivery with retained event streaming.
System DesignOct 26, 2026·3 min read

Message queues vs event streams: SQS, RabbitMQ, Kafka

Use SQS or RabbitMQ for work distribution; use Kafka when you need retained event logs, replay, fan-out, and per-key ordering.

Techdome Engineering
Techdome EngineeringEngineering Team
Illustration of webhook retry flow using a stable idempotency key, de-duplication store, and dead-letter queue.
System DesignOct 26, 2026·3 min read

Webhook retries and idempotency keys, together

Webhook retries need stable idempotency keys so repeated deliveries are safe, deduplicated, observable, and recoverable through DLQs.

Techdome Engineering
Techdome EngineeringEngineering Team
Blueprint-style illustration of a server rack behind a layered firewall shield, with a PHP version badge being upgraded
Engineering PracticeOct 22, 2026·6 min read

PHP2Shell: how to check and protect your PHP site

PHP2Shell (CVE-2026-109618 and CVE-2026-109619): how to check your PHP version, patch it or shield it with a WAF, with two real cases.

Techdome Engineering
Techdome EngineeringEngineering Team
Computer screen filled with code
Engineering Practice8 min read

API testing explained: types, what to automate, and tools

API testing checks an interface directly, below the UI. Learn the five main types, how mocking and test data fit in, and which tests to automate first.

Techdome Engineering
Techdome EngineeringEngineering Team
Computer screen with data
n8n Automation7 min read

"Automating mortgage back-office work with n8n"

Mortgage back offices drown in documents. A staged n8n workflow can handle intake, classification, extraction and validation, and route exceptions to people with a full audit trail.

Techdome Engineering
Techdome EngineeringEngineering Team
Interface illustration of a browser window with three gauge dials, a heavy block swapped for a light placeholder, and images compressed
Engineering PracticeSeptember 2026·6 min read

Making a Next.js site fast: the fixes that moved Core Web Vitals on techdome.io

Hero images that wait for JavaScript, an embedded scheduler that blocked the page, oversized images and bloated page data: the real fixes behind our site's performance work, and a checklist for yours.

Rahul Joshi
Rahul JoshiChief Executive Officer
3D illustration of an AI agent connected to calendar, database and phone tools, with a sound wave and a small knowledge graph
Studio ArchitectureSeptember 2026·7 min read

Building AI agents that hold up in production: what we learned from voice, interviews and GraphRAG

Narrow jobs, grounded answers, deterministic scoring, a latency budget, full logs and a human handoff: the patterns behind our voice agents, AI interviewer and GraphRAG platform.

Rahul Joshi
Rahul JoshiChief Executive Officer
Pipeline illustration of an automation workflow with a queue feeding two workers, a retry loop, an alert bell and a review tray
n8n AutomationAugust 2026·7 min read

Production n8n: the patterns that keep automation from failing quietly

Idempotent triggers, retries with limits, failure alerts, human review and workflows kept in Git: the patterns we use to run n8n automation in production, with the builds they come from.

Rahul Joshi
Rahul JoshiChief Executive Officer
Blueprint-style illustration of five phases from a drawing board to a launched product, rising along a path
Studio ArchitectureAugust 2026·7 min read

The Techdome Blueprint: how we take a product from a blank repo to production in eight weeks

The five steps of our Blueprint, what each one delivers, how fixed-scope sprints and engineering pods are priced, and how recent builds ran from kickoff to production.

Rahul Joshi
Rahul JoshiChief Executive Officer