From Vibe-Coded Prototype to HIPAA-Ready Product: A Physician's Guide (2026)

Last reviewed:

Public documentation checked November 7, 2026 (PT). Vendor statements are not confirmation of your executed/accepted agreement or acceptance evidence. This is educational material, not legal advice.

The short answer

You may be able to keep much of the app you built with Lovable, Replit, Bolt, v0, Cursor or ChatGPT. Separate the useful prototype from the system that will handle real patient information. Map its data flows, establish who operates it, examine the contracts and test the code before a clinical rollout.

A business associate agreement (BAA), encryption or one hosting vendor does not, by itself, make your product HIPAA-compliant. HHS describes contractual, risk-analysis and safeguard responsibilities that remain with regulated organizations. HHS cloud guidance

Here, “HIPAA-ready” is a working project description, not an official certification or a finding of compliance. OCR does not endorse, certify or recommend specific technologies or products. HHS cloud guidance, question 4

Palo Alto Health Labs (PAHL) offers a practical way to organize the transition: preserve what works, make hidden dependencies visible, and evaluate privacy and clinical safety separately. A useful prototype is an accomplishment. The next step is collecting evidence that it can operate responsibly beyond a demonstration.

1. Does HIPAA apply to your app?

Your medical license is not the whole applicability test. HIPAA applies to covered entities and business associates. For providers, covered-entity status includes conducting specified electronic standard transactions. An organization outside both definitions does not have to comply with the HIPAA Rules. HHS covered entities

Begin with three questions:

Distinguish an educational calculator using invented cases, an intake tool operated by your practice and a consumer symptom diary sold independently. Do not assign all three the same legal conclusion because a physician wrote them. Take a one-page description of the operator, users, information and customer relationships to qualified counsel.

“Outside HIPAA” does not mean “outside privacy law.” The FTC's Health Breach Notification Rule covers qualifying personal-health-record vendors and related entities outside HIPAA, including many health apps. Its breach definition includes unauthorized disclosures, not just hacking. Applicability depends on its definitions, including the record's technical capacity to draw information from multiple sources. FTC final rule

The FTC Act and state laws may apply separately. HHS identifies multiple federal regimes for developers and notes that federal and state privacy/security requirements may apply. Ask counsel to assess your users and jurisdictions rather than treating this article as a state-law survey. HHS developer resources FTC final rule, state-law discussion

2. Separate the builder from the deployed product

Think in two diagrams, not one vendor logo.

Development: laptop → coding assistant → prompt history → repository → preview environment → build logs → developer integrations.

Production: patient or clinician → browser → application server → database/storage → model API → observability → backups → support/export workflow.

A tool may participate in both diagrams. A screenshot pasted into an assistant belongs in development; a patient-facing summarizer's API request belongs in production. A database connector can quietly join them.

For regulated workflows, a cloud provider maintaining ePHI on your behalf can be a business associate even if it stores encrypted data without the key. Encryption does not replace the required relationship and safeguards. HHS cloud guidance, questions 1–2

Trace one invented patient's appointment through the entire app. Record each recipient, purpose, account, region, retention setting and deletion path. Include messaging, document conversion, embeddings, crash reporting, session replay and support attachments. Compare your diagram with actual network requests rather than relying only on the builder's description.

3. BAA matrix: service, configuration and contract

This is a procurement starting point, not an approved stack. For cloud providers acting as business associates, HHS calls for appropriate BAAs as well as compliance with the Rules. Willingness to sign is not an executed agreement for your organization. HHS cloud guidance

Component Official documentation checked Boundary still needing review
Lovable builder/platform Enterprise FAQ explicitly says it does not currently sign BAAs and instructs users not to upload PHI. Lovable Separately assess exported code, hosting, database and runtime models; export does not establish their coverage. HHS
Replit Agent, workspace and deployment Shared-responsibility documentation distinguishes these layers and assigns application regulatory compliance to customers. It does not establish BAA availability or scope. Replit Unverified, not “no BAA.” Obtain written eligibility, agreement and configuration scope before approving a regulated PHI workflow. HHS
Bolt builder/deployment Security page advertises deployment inside a customer's AWS/Azure tenant and makes a HIPAA-related claim about that option. It does not establish a hosted-builder BAA or contract scope. Bolt BAA status unverified here. Self-hosting/BYOK language does not answer which prompts, models and support paths are covered. HHS
v0 generation/API API Terms §5.4 prohibit using the v0 API or AI Solution to process PHI. Vercel API Terms Do not treat a hosting agreement as permission for generation. Review your governing agreement. Vercel API Terms
Vercel hosting Guide offers BAAs to eligible Enterprise and Pro customers; Pro uses a HIPAA add-on. A BAA does not guarantee compliance. Vercel guide Confirm executed terms, covered services and configuration; assess external databases and model providers separately. Vercel guide
Cursor development tools Enterprise BAA support requires signed agreements, organization-wide locked Privacy Mode and eligible workflows. Integrations are not automatically covered. Cursor Gated HIPAA Guide governs eligible models and implementation details; its contents were not verified here. Obtain it before PHI use. Cursor
OpenAI API versus ChatGPT API BAAs do not require an enterprise agreement; eligible organizations can use self-serve enrollment with established API usage. API HIPAA eligibility requires an executed/accepted applicable OpenAI BAA, provisioned Modified Retention unless OpenAI specifies otherwise, and eligible functionality. OpenAI enrollment OpenAI eligibility ChatGPT requires a HIPAA-eligible workspace and covered features enabled for the member’s role; the eligibility page names Enterprise with Regulated Workspace, not every Enterprise workspace. The sales-managed Enterprise/Edu sales-contact route alone is not blanket PHI eligibility; Business has no BAA and eligible Clinicians have a separate flow. Confirm the actual product, organization, agreement, eligible endpoints/features and configuration in the applicable HIPAA Guide; no universal workspace/model support is established here. OpenAI enrollment OpenAI eligibility
Supabase backend October 23, 2026 legal BAA §14 requires no signature: acceptance of the Agreement (electronically, by signed Order or otherwise) plus subscription to the HIPAA Add-On constitutes acceptance of the BAA; Supabase accepts by making the BAA available and providing the add-on. The BAA is effective on first add-on subscription and binding only with that subscription unless otherwise agreed in writing; it applies only where the customer is a covered entity or business associate and Supabase acts as its business associate. It remains effective while the add-on and Agreement remain active. Supabase legal BAA Shared-responsibility guidance says “at least on the Team Plan to sign a BAA”; the newer legal BAA specifies no-signature acceptance but does not specify plan eligibility. Confirm account/plan add-on activation, exact Services/projects and governing terms rather than treating acceptance mechanics as proof of eligibility. Supabase shared responsibility Supabase legal BAA Customer controls include RLS, keys and authentication; High Compliance project guidance lists recovery, SSL enforcement, network restrictions and connection logging. Dashboard AI, MCP and external-model coverage is not established here. Supabase legal BAA §§3, 10–11 Supabase project guidance

Retain each legal entity name, executed/accepted agreement and acceptance evidence, covered-service list, exclusions, approved settings, model/endpoint list, owner and review date. A model brand alone is not a sufficiently precise inventory entry.

4. Seven failure modes to test

These are review scenarios, not claims about PAHL client projects. The engineering recommendations below are not a complete statement of legal obligations.

For a bounded planning example, see the hypothetical patient-intake app walkthrough; its evidence items are prospective, not client results.

1. Patient information enters a debugging prompt

Screenshots and copied errors can reveal more than the function you meant to debug. Reproduce bugs with invented cases and inspect attachments. Treat assistants as data recipients. Vendor restrictions matter: Lovable forbids PHI uploads; Cursor requires signed agreements and approved configuration first. Lovable Cursor

2. The inventory stops at the database

Include storage, messaging, backups and support. For cloud services acting as business associates, the agreement and safeguards analysis extends to those handling ePHI on your behalf, not merely the main database. HHS cloud guidance

The hypothetical patient-messaging workflow applies this inventory to recipients, preferences and queues without approving any channel or vendor.

3. A secret ships in the browser

Search generated code, frontend bundles and history for keys. Rotate exposed credentials; deleting a line from the latest file is not a complete remediation strategy. Keep privileged credentials server-side and separate development and production secrets.

4. Login is mistaken for authorization

Test two patients, two clinics and a support role. Change identifiers, call APIs directly and try exported-file URLs. Enforce permissions at the server and data layer, not only by hiding buttons. Document which roles can read, modify and export each resource.

5. Nobody can reconstruct an action

Design events around record access, export, privilege changes and administrative overrides. Check whether someone can identify the actor and resource without dumping record contents into every log. Assign responsibility for reviewing events, not merely collecting them.

6. A model call bypasses the approved path

Inspect fallback models, audio/image endpoints, retrieval, tools and asynchronous jobs. OpenAI API eligibility requires an executed/accepted applicable BAA and Modified Retention unless OpenAI specifies otherwise, plus eligible endpoints/functionality; ChatGPT coverage depends on the eligible workspace and covered features. Cursor’s current eligible-model list remains in its gated HIPAA Guide, not verified here. OpenAI eligibility Cursor

7. Observability becomes another patient record

Force errors with invented data and inspect analytics, replay, alerts and support. Disable unnecessary capture and allowlist event fields. For regulated cloud processing, business-associate status depends on the recipient's role handling ePHI, not the label “analytics.” HHS cloud guidance

5. Keep, refactor or rebuild?

Keep components you can explain, test and maintain: an accessible interface, useful appointment flow or isolated display component. Generated code is not automatically disposable.

Refactor when the workflow is valuable and boundaries are fixable: move privileged calls server-side, add tenant-aware permissions or replace telemetry. Write tests before changing behavior you want to preserve.

Rebuild a subsystem when foundations conflict with intended use: unreliable clinic separation, unexplained data access, dependencies you cannot inspect or irreproducible builds. Preserve workflow specifications and test cases even when replacing implementation.

Pause launch if nobody owns maintenance, incident response or clinical escalation. Another builder will not solve an ownership problem.

Ask for a component-level decision memo: what survives, what changes, supporting evidence and remaining uncertainty. Avoid a blanket rewrite verdict without inspecting the app.

6. A phased production checklist

Phase A — Bound the product

Exit evidence: product boundary and named decision owners.

Phase B — Make the build reproducible

Exit evidence: another engineer can reproduce it without your personal session.

Phase C — Resolve data and vendor questions

Exit evidence: approved inventory, contract record and configuration baseline.

Phase D — Test controls and assess risk

MFA, least privilege, encryption, dependency scanning and restore tests are recommended practices here, not claims of one universal statutory implementation. HHS's Security Rule page still lists the 2025 cybersecurity changes as proposed; the NPRM fact sheet says the current rule remains in effect during rulemaking. HHS Security Rule HHS NPRM

Exit evidence: test results, risk decisions, remediation owners and residual-risk acceptance.

Phase E — Validate and release narrowly

Exit evidence: separate engineering, privacy/legal and clinical release decisions.

Use the app evidence self-assessment to organize questions for reviewers, not to authorize release or replace their decisions.

7. Clinical safety is separate from privacy

A private system can still produce a dangerous answer. Test what the app does, not only where information travels.

For dosage tools, examine units, rounding, missing weight, renal function, age boundaries and contradictory inputs. For summarization, test omitted allergies, outdated medication lists and unsupported statements. For triage, test whether reassuring output could delay urgent evaluation.

See the hypothetical AI-scribe workflow walkthrough for a prospective recording-to-draft review exercise, not completed clinical validation.

Define intended use, foreseeable misuse, severity-ranked failure cases, reference answers and acceptable performance before the pilot. Include cases reflecting the intended population. Make uncertainty visible and specify what happens when the tool cannot answer.

“A physician reviews it” needs a workflow: who reviews, before which action, with which source information, and with enough time to detect errors? Also test downtime: what does a clinician do when the application is unavailable mid-task?

Keep clinical evaluation separate from privacy review and medical-device assessment. HHS identifies FDA law among regimes that may apply depending on functionality; this guide makes no device-status determination. HHS developer resources

8. A focused conversation with PAHL

Bring Palo Alto Health Labs a synthetic-data demonstration, workflow description and architecture sketch. Discuss a bounded review of what can stay, what needs engineering assessment and which clinical behaviors need evaluation. Do not send patient records with an initial inquiry.

It is a conversation, not a completed security or compliance audit and not a certification. Please don't share patient data, screenshots of real records or credentials when booking.

After the free call, PAHL offers a fixed-fee readiness audit and migration, plus an optional clinical safety review. Scope, deliverables and responsibilities are set in writing for each project. This is not a certification or a guarantee of outcome.

Related guides on this site: - Lovable, Replit, Bolt and v0, and Cursor and ChatGPT - BAA matrix, whether HIPAA applies, and the checklist guide - Keep, refactor, or rebuild, build around the EHR, and clinical safety - Readiness audit and migration

FAQ

Can moving my Lovable database solve this?

Not every data flow changes with the database. Lovable says not to upload PHI and that it does not sign BAAs. Assess exported code and production recipients separately; migration does not authorize PHI in the builder. Lovable HHS cloud guidance

Does a BAA make my whole app compliant?

No. HHS describes obligations beyond the agreement, including risk analysis and safeguards. Vercel and OpenAI explicitly reject automatic compliance from their agreements. HHS Vercel OpenAI

Is my consumer app exempt because it has no EHR connection?

EHR connectivity alone is not the test. Assess covered-entity/business-associate status and relationships; qualifying non-HIPAA apps can fall under FTC and other laws. HHS entities HHS scenarios FTC HHS resources

Should I rebuild everything before review?

No. Preserve a reproducible version and evaluate boundaries first. Make component-level decisions rather than discarding a useful clinical workflow.

Can encryption replace a BAA?

Not for a cloud provider acting as a business associate merely because it cannot decrypt data. HHS addresses encrypted “no-view” storage and continuing agreement and safeguard obligations. HHS cloud guidance, question 2


The full library: answers by tool, workflow and specialty

Start with the Stack Checker or the dated BAA Matrix. Ready to make your app safe without starting over? See Fabrica.

Tools and templates

Is it HIPAA compliant?

Already put patient data in

Make your app HIPAA compliant

HIPAA-ready alternatives

Move your app

Coding agents and AI tools

Stack components

Practice software: is it HIPAA compliant?

Specialties

Workflows

Specialty × workflow

When someone asks about your app

Compare and decide

Datasets to practice app

See Fabrica and book a 30-minute call

A free 30-minute call about your app or your practice's technology. You leave with a recommended next step. It is not an audit, a certification or legal advice.

See Fabrica and book a 30-minute call

How the call works · Send a short note