Compare and decide

Fabrica vs. Hiring a Developer to Rebuild Your App: Cost, Time, and Who Owns Compliance

Last reviewed: . Vendor facts checked against each vendor's own pages on the dates shown.

Short answer: Your practice owns compliance on either route: an outside developer who rebuilds your app with patient data is generally a business associate needing a BAA first, (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026) and the risk analysis stays yours. Fabrica usually keeps your existing app, with a first app live in about 30 days. Compare what you keep and who reviews later changes.

You built a practice app in Lovable, Replit, Base44, Cursor or a similar tool. It works, people use it, and now you know it needs to be HIPAA-ready before it holds more patient data. The obvious move is to hire a developer or agency to rebuild it properly. The other move is Fabrica, PAHL's HIPAA-ready environment, where the app usually stays, patient data moves into a cloud account your practice owns, and an expert reviews every release that touches it.

We make Fabrica, so weigh this page with that in mind. Every regulatory and vendor statement below is sourced, dated and linked, and we say plainly when hiring a developer is the better call. This is not legal advice. Your counsel or privacy officer decides what fits your practice.

What HIPAA says about bringing in a developer, in its own words (checked November 15, 2026)

HIPAA has no special rule for software developers. The general rules about outside help apply, starting with the definition of a business associate: a person or company that works for your practice and, in the words of 45 CFR 160.103,

“but other than in the capacity of a member of the workforce of such covered entity or arrangement, creates, receives, maintains, or transmits protected health information for a function or activity regulated by this subchapter”

HHS (eCFR), 45 CFR 160.103 -- Definitions. · § 160.103, definition of "Business associate" (1)(i), page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12) · verified November 15, 2026

Six consequences follow for a developer rebuild:

None of this moves your own duties to the developer. Your practice must do an accurate and thorough risk analysis of the electronic patient data (ePHI) it holds, (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) adopt its own written security policies and procedures, (HHS (eCFR), 45 CFR 164.316 -- Policies and procedures and documentation requirements., verified November 15, 2026) name a security official, (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) regularly review audit logs and access reports, (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) and review and update its security measures as needed. (HHS (eCFR), 45 CFR 164.306 -- Security standards: General rules., verified November 15, 2026) Those duties continue long after a developer's project ends.

What this means for your app: three questions decide it

1. What happens to the app you already built?

A rebuild treats your current app as the specification and produces new production code. Sometimes that is unavoidable. Bubble, for example, says its apps run only on Bubble, so leaving means rebuilding the application logic. (Application and data ownership | Bubble Docs, verified November 15, 2026) Base44 says its code export still relies on Base44 to run. (Base44 developer tools - Base44 Support Documentation, verified November 15, 2026) Even where code can leave, moving it is work: Lovable says it does not transfer a project to another backend in one step. (Back up, restore, and export your project's database - Lovable Documentation, verified November 15, 2026) Fabrica's stated aim is different. In most cases the live app and its patient data move into Fabrica, and you keep improving the same app.

2. Where does patient data travel while the work happens?

This part is easy to leave out of a proposal. During a rebuild, PHI can end up in a copy of your live database on the developer's laptop, a staging site (a test copy of the app), the developer's AI coding tool sessions, their own code repository (where code is stored, such as GitHub), a migration spreadsheet, an error tracker, or screenshots in a support email. HIPAA expects reasonable efforts to limit PHI to the minimum necessary for the task. (HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026) Building and testing screens does not usually require real patient records. In Fabrica, builders work on synthetic patient data (realistic but made-up records), and PHI stays in infrastructure covered by BAAs.

3. Who owns compliance after handover?

Your practice, on either route. The difference is who helps. With a developer, help lasts as long as the contract. After handover, every change you or your staff make, including with an AI coding tool, goes live unless you arrange someone to review it. With Fabrica, automated security checks run on every change, an expert reviews anything that touches PHI, and PAHL provides documentation for your Security Risk Analysis, updated yearly. Your practice remains the covered entity and still owns its policies, training and risk analysis.

Side by side

Hiring a developer to rebuildFabrica
Your existing appBecomes the specification; new code is writtenIn most cases kept; the live app and its data are moved
BAA with your practiceNeeded if the developer is a business associate; you negotiate it (HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026)PAHL signs one, and confirms a BAA is in place with each vendor that handles PHI
BAAs with hosting, database, email, AIYou or the developer arrange each one; the contract says whoConfirmed by PAHL before PHI reaches the vendor
Where PHI livesWherever the developer sets it up; insist on accounts in your practice's nameA cloud account your practice owns, encrypted in transit and at rest
Who makes the next changeThe developer (a new engagement) or your own teamYou and your staff, with AI coding tools, on synthetic data
Review before releaseWhatever you contract forAutomated checks on every change; expert review of anything touching PHI
Access control and loggingBuilt to your specification; you verify itRole-based access, multi-factor sign-in, every record access logged
Risk analysis evidenceAsk the developer to document data flows and safeguardsDocumentation for your Security Risk Analysis, updated yearly
If something goes wrongThe BAA must require reporting; (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026) who investigates is up to the contractPAHL leads the technical investigation; your practice decides on notification with counsel
When the work endsPHI returned or destroyed if feasible; (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026) code and accounts handed overApps and data remain your practice's if you stop working with PAHL
TimeSet by scope (see below)First app live in about 30 days, per PAHL's stated process
How cost is setScope, billing model, and changes after handoverA fixed quote after the assessment, before build work starts

Cost: what drives it on each route

We will not quote numbers here. A useful number on either route depends on seeing your app. What you can compare now is what drives the cost.

Hiring a developer

  • How many screens, roles and workflows the app has
  • Integrations to rebuild: EHR, texting, email, payments, forms
  • Moving existing records, files and user accounts
  • The security work you specify: access roles, audit logs, encryption, testing
  • Legal review of the developer's BAA and contract
  • Hosting and service plans that include BAAs, which you keep paying for
  • Changes requested mid-project
  • Every fix or feature after handover, as a new engagement or a retainer
  • Your own time writing the specification and testing the result

Fabrica

  • What the Week 0 assessment finds: what you built, what you want next, and where patient data goes today
  • A fixed quote after that assessment, before build work starts
  • Automated security checks on every change and expert review of anything touching PHI, which continue after launch
  • The EHR connection, where your EHR vendor decides what is possible
  • Your own time building and testing new features

The shapes differ. A developer rebuild tends to put cost into a project, then into each change after it. With Fabrica, review of future releases that touch PHI is part of the ongoing service. HIPAA itself tells a practice to weigh the costs of security measures alongside its size, capabilities and risks when choosing them, (HHS (eCFR), 45 CFR 164.306 -- Security standards: General rules., verified November 15, 2026) so cost is a fair factor in this decision. Just compare like with like, including who reviews the changes you make next year.

Time: what sets the clock

Fabrica's stated process: a Week 0 assessment (short interviews on what you built, what you want next and where patient data goes today); the environment created in a cloud account your practice owns, with agreements in place, in Weeks 1 to 2; migration of your app or a first build, connected to your EHR, in Weeks 2 to 3; and release in Week 4, with a staff walkthrough, a handover record and continued access for your builders. PAHL describes this as a first app live in about 30 days.

A developer rebuild has no standard duration, and we will not invent one. What sets it:

  • Finding and vetting a developer with healthcare experience
  • Agreeing on scope, then on the BAA and contract
  • The size of the app and how much of it must be recreated
  • Data migration, and re-inviting every staff member and patient
  • The EHR connection, where your EHR vendor decides what is possible
  • Your availability to answer questions and test
  • Any security review before launch

Meanwhile, your current app is still running. Decide now what happens to the patient data in it during the rebuild, and set a shutdown date. How Long Does It Take to Make a Vibe-Coded App HIPAA-Ready? A Realistic Timeline covers timelines in more depth.

How this goes wrong: the rebuild ships, the laptop copy stays

Imagine a hypothetical two-physician sleep medicine practice. It built a Lovable app to schedule home sleep tests and track device returns. The physicians hire a freelance developer to rebuild it on a cloud host that signs a BAA with the practice. The developer's own contract is a standard software agreement. Nobody asks for a BAA with the developer, because the new host already has one.

To test the data migration, the developer exports the Lovable database. Lovable says that export includes the full database plus user accounts and password hashes (scrambled passwords). (Back up, restore, and export your project's database - Lovable Documentation, verified November 15, 2026) The file sits on the developer's laptop, and the developer works through the migration with Claude Code in local mode. A test file with a few real patient rows gets pushed to the developer's personal code repository.

The new app launches and works well. A year later, the practice prepares its risk analysis and has to list every place patient data has been. Three are outside its control: the export file, the repository, and the AI tool's session history on the laptop. Anthropic says securing and deleting the session data Claude Code stores on a developer's computer is the customer organization's job, and that removing a seat or logging out deletes nothing on that computer. (Anthropic, Set up Claude Code (local mode) for a HIPAA-ready organization - Claude Code Docs, verified November 15, 2026) (Anthropic, Set up Claude Code (local mode) for a HIPAA-ready organization - Claude Code Docs, verified November 15, 2026) With no BAA, there is no contract term requiring the developer to return or destroy the data. The developer has since taken a full-time job and answers slowly.

Nothing here required bad intent. The fixes are simple if done first: a BAA before any access; synthetic or masked data for testing; every account opened in the practice's name; and written confirmation at handover that all copies are destroyed, AI tool session data included. If something like this has already happened, treat it as a question for counsel about a possible breach. I Already Put Patient Data in Lovable. What Do I Do Now? covers what to do first with data that came out of Lovable.

When hiring a developer is the better choice

A developer can be the right answer. It probably is if:

  • You are building a product to sell or license to other practices or health systems. Fabrica is an environment where physicians and practice staff build their own apps for their practice. A commercial product usually calls for an engineering team you direct.
  • Nobody at the practice wants to keep building. Fabrica's value is that you keep making changes yourself. If you would rather hand the app off entirely, a developer under a maintenance agreement may be simpler.
  • You already have a trusted developer or IT firm that will sign a BAA, can show its healthcare security work, and will hand over code, accounts and documentation.
  • You have technical leadership in-house, such as an IT director in a larger group, who can oversee the developer's security work and feed the risk analysis.
  • The current app was only a sketch, with no users and no patient data. Rebuilding from a description loses little.

If you go this way, our questions to ask before hiring a developer will help you compare proposals.

When Fabrica is the better fit

  • The app is live and staff or patients rely on its exact workflow.
  • You want to keep improving it yourself with AI coding tools, on synthetic patients, without PHI in your prompts.
  • No one in-house can check a developer's security work. Fabrica checks, before each release, that no credentials are exposed, each user reaches only the records their role permits, record access is logged, and no new outside service receives PHI without an agreement.
  • The app faces patients. Patient-facing apps also get a clinical safety review and an assessment of whether the app is a medical device.
  • You want the data in your own cloud account, connected to your EHR and reading only what each app needs.

Not sure which applies? Keep, Refactor, or Rebuild? How to Decide What Your Vibe-Coded App Actually Needs walks through the Keep, Refactor or Rebuild decision on its own terms, and Fabrica vs. Doing HIPAA Yourself: What the DIY Route Actually Involves covers the third option: doing it all yourself.

If you hire a developer, get these in writing

  1. A signed BAA before any access to PHI, with the required terms on safeguards, reporting, subcontractors, and return or destruction of data.
  2. A list of every service that will touch PHI, each with its own BAA.
  3. Development and testing on synthetic or masked data, with no copies of the live database on personal devices.
  4. Every account (cloud, database, domain, code repository, email and texting services) opened in your practice's name, with developer access you can remove.
  5. Role-based access and audit logging as acceptance criteria, demonstrated before launch.
  6. A handover package: code, configuration, deployment steps, and a data-flow diagram you can use in your risk analysis. Our risk analysis template has a place for it.
  7. Written confirmation at the end that PHI was returned or destroyed, including AI tool session data on the developer's computers.
  8. Who fixes security problems after handover, and how quickly.
  9. A named person at your practice who checks in on how the developer handles patient data during the project, plus a contract right to end the engagement and recover every account and copy of the data if a known problem is not fixed. That is the step HIPAA expects from you if the developer breaks the BAA and does not cure it.

To see the BAA gaps in your current stack before you talk to anyone, run the Stack Checker.

Keep, refactor, or rebuild?

Verdict: Depends

If you are building a product to sell, want to hand the app off entirely, or have technical leadership to oversee a developer, a developer rebuild under a signed BAA is a sound Rebuild. If the app is live, your staff rely on it, and you want to keep improving it with AI coding tools under expert review, Fabrica's route is usually a Keep. On either route your practice still owns the risk analysis.

Hiring a developer to rebuild is a Rebuild by name: your app becomes the specification and production is recreated. That is the right call when the platform cannot release usable code or data, or when the prototype was a sketch. Before you sign a rebuild, ask the developer whether a Refactor would do. Keeping the screens and replacing only the data layer (the database and the code that reads and writes it), sign-in and hosting can be less work than a full rebuild.

Moving into Fabrica is, in most cases, a Keep: the app stays, and PHI moves to BAA-covered infrastructure in your own cloud account, with expert review of every release after that.

Frequently asked questions

Does a developer I hire need to sign a BAA?

If the developer is not part of your workforce and creates, receives, maintains or transmits PHI for your practice, the developer is a business associate, (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026) and you need satisfactory assurance, in practice a signed BAA, before giving access. (HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026) Your counsel can confirm how your arrangement is classified.

The developer says they will never look at patient data. Do I still need a BAA?

Possibly. HHS has said a storage company with access to PHI is a business associate even if it does not view the information. (HHS (Federal Register via govinfo.gov), Modifications to the HIPAA Privacy, Security, Enforcement, and Breach Notification Rules Under the HITECH Act and GINA; Other Modifications to the HIPAA Rules (Final Rule), 78 FR 5566, verified November 15, 2026) Access to your live database, backups or logs is the question to put to counsel, not whether anyone intends to look.

Once the developer hands over the app, who is responsible for HIPAA?

Your practice. The risk analysis is a required duty for every covered entity, (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) and you must keep reviewing and updating security measures as the app changes. (HHS (eCFR), 45 CFR 164.306 -- Security standards: General rules., verified November 15, 2026) Plan who will review changes after the contract ends.

How long does a developer rebuild take compared with Fabrica?

There is no standard figure for a rebuild; it depends on scope, data migration, the EHR connection and your availability for testing. Fabrica's stated process is a Week 0 assessment and a first app live in about 30 days.

Who owns the app and the data with Fabrica?

Your practice. Both live in a cloud account your practice owns, and they remain yours if you stop working with PAHL. With a developer, make the same point in the contract: accounts in your name, code and configuration handed over.

Can a developer fix my app without rebuilding it?

Often worth asking. A Refactor keeps your screens and workflow and replaces the data layer, sign-in, hosting or integrations that touch PHI. Whether that is possible depends on whether your builder lets code and data leave in a usable form.

Palo Alto Health Labs Fabrica

Keep building. We make it safe.

Collecting quotes from developers to rebuild your app? Bring the app and the quotes to a 30-minute call before you sign.

Fabrica moves the patient data in your vibe-coded app into an environment your practice owns, built for HIPAA compliance, with a BAA. You keep building in the tool you already use. Start with a 30-minute call about what you have built and where patient data goes today.

See how Fabrica works and book a 30-minute call

Please do not send patient information when you get in touch. The call is a conversation, not an audit or legal advice.

Sources

Every vendor statement on this page comes from the vendor's own terms, documentation or trust pages, or from the regulator, opened and read on the date shown. Vendor terms change; confirm the current version and your own signed agreement before relying on it. This page is general information, not legal advice.

  1. HHS (eCFR), 45 CFR 160.103 -- Definitions.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
  2. HHS (Federal Register via govinfo.gov), Modifications to the HIPAA Privacy, Security, Enforcement, and Breach Notification Rules Under the HITECH Act and GINA; Other Modifications to the HIPAA Rules (Final Rule), 78 FR 5566. Checked November 15, 2026. Page dated 2013-01-25.
  3. HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
  4. HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
  5. HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
  6. HHS (eCFR), 45 CFR 164.316 -- Policies and procedures and documentation requirements.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11 (versioner API).
  7. HHS (eCFR), 45 CFR 164.306 -- Security standards: General rules.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11 (versioner API).
  8. Application and data ownership | Bubble Docs. Checked November 15, 2026. Page dated Last updated 3 years ago (as displayed 2026-11-15).
  9. Base44 developer tools - Base44 Support Documentation. Checked November 15, 2026.
  10. Back up, restore, and export your project's database - Lovable Documentation. Checked November 15, 2026.
  11. Anthropic, Set up Claude Code (local mode) for a HIPAA-ready organization - Claude Code Docs. Checked November 15, 2026.