When someone asks about your app
A Health System Asked You for a BAA and a Security Review. What That Means for Your Vibe-Coded App
Last reviewed: . Vendor facts checked against each vendor's own pages on the dates shown.
Short answer: It usually means the health system expects to treat you as a business associate, and business associates must follow the HIPAA Security Rule for its patients' data. (HHS (eCFR), 45 CFR 164.302 -- Applicability., verified November 15, 2026) Before you sign or answer, assemble an app summary, a data-flow map, your vendors' BAAs, a dated risk analysis, access and audit log evidence, an incident plan and written policies.
You built something useful, maybe a referral tracker, a follow-up app or a scheduling tool, and a hospital or health system wants to use it with its patients. Then the email arrives: their vendor-risk or information security team sends a BAA (business associate agreement, the contract in which a company that handles patient data for a covered entity promises to protect it) and a security questionnaire, and asks for a call.
This is good news and a real test. The health system is not asking whether your app works. It is asking whether it can trust you with its patients' data, in writing. This guide covers what to prepare, what the reviewer is really trying to learn, which answers stop a review, and a reply you can adapt. It is not legal advice: your counsel reviews the BAA, and you decide what to sign.
What the HIPAA rules say, in their own words (checked November 15, 2026)
Start with why you are being asked at all. HIPAA defines a business associate as a person or company, other than a workforce member, that creates, receives, maintains, or transmits PHI on behalf of a covered entity. (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026) Whether that describes you is a question for your counsel. How the app is used matters: HIPAA also lets a covered entity share PHI with another provider for that provider's treatment of a patient (HHS (eCFR), 45 CFR 164.506 -- Uses and disclosures to carry out treatment, payment, or health care operations., verified November 15, 2026), which is a different relationship. But if your app will store or move the health system's patient data for the health system, expect to be treated as a business associate.
The health system has its own obligation. It may let a business associate handle PHI (protected health information) only if it obtains satisfactory assurance that the business associate will appropriately safeguard it (HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026), and that assurance must be documented in a written contract that meets the BAA rules. (HHS, 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026) The security review is how it checks that the assurance is real.
Once you are a business associate, the Security Rule is yours too:
“A covered entity or business associate must comply with the applicable standards, implementation specifications, and requirements of this subpart with respect to electronic protected health information of a covered entity.”
The BAA itself must require you to use appropriate safeguards and comply with the Security Rule (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026), report unauthorized uses or disclosures including breaches (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026), make sure your own subcontractors that handle the PHI agree to the same restrictions (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026), and return or destroy the PHI at termination if feasible. (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026) Your hosting, database and other vendors that handle that PHI for you are themselves business associates in the chain (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026), and you may let them handle electronic PHI only with satisfactory assurances from them. (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026)
Most of what a security review asks lines up with the Security Rule's own list. The first item is the risk analysis:
“(A) Risk analysis (Required). Conduct an accurate and thorough assessment of the potential risks and vulnerabilities to the confidentiality, integrity, and availability of electronic protected health information held by the covered entity or business associate.”
The rule labels some items Required, meaning not optional. Risk management, meaning security measures that bring those risks down to a reasonable and appropriate level, is one. (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) So is regular review of audit logs and access reports. (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) The rule also calls for a named security official (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026), procedures to identify, respond to and document security incidents (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026), and a contingency plan for events such as system failure. (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) On the technical side it calls for access control, so only people granted access can reach the data (HHS (eCFR), 45 CFR 164.312 -- Technical safeguards., verified November 15, 2026), a unique login for each user (HHS (eCFR), 45 CFR 164.312 -- Technical safeguards., verified November 15, 2026), and audit controls that record activity. (HHS (eCFR), 45 CFR 164.312 -- Technical safeguards., verified November 15, 2026) Policies must exist in written form, which may be electronic (HHS (eCFR), 45 CFR 164.316 -- Policies and procedures and documentation requirements., verified November 15, 2026), and be kept for 6 years. (HHS (eCFR), 45 CFR 164.316 -- Policies and procedures and documentation requirements., verified November 15, 2026)
The packet to prepare before you reply
Reviewers ask for these in different formats, but the content is the same. Prepare each one once and reuse it.
- A one-page app description. What the app does, who uses it (staff, patients, the health system's clinicians), which patient data fields it touches, where it runs, who built it, who maintains it, and how users sign in. One page. No marketing.
- A data-flow map. A simple diagram of every place patient data goes: browser, hosting, database, file storage, login provider, email and text messages, AI model calls, server logs and error trackers, analytics, backups and exports. In a vibe-coded app, also check the builder's chat history, screenshots you pasted, seed or demo data, and preview deployments.
- A vendor list with BAA status and dates. One row per service that touches PHI (table below). Our BAA Matrix and Stack Checker help you fill it in.
- Your risk analysis and risk management plan. Dated, specific to this app, listing each risk, its likelihood and impact, and what you did about it. HHS offers a free Security Risk Assessment Tool aimed at small and medium providers (HHS ONC (HealthIT.gov), Security Risk Assessment Tool - ONC - Office of the National Coordinator for Health Information Technology, verified November 15, 2026), and our risk analysis template for physician builders is written for apps like yours.
- Access control and audit log evidence. A role list (who can see what), proof that every user has their own login, whether multi-factor sign-in (a code on a phone in addition to a password) is on, and a sample audit log export showing who opened which record and when. Add a note on who reviews the logs and how often.
- An incident response plan. Who detects a problem, who decides, who calls the health system, and how fast. A business associate must notify the covered entity of a breach without unreasonable delay and no later than 60 calendar days after discovery (HHS (eCFR), 45 CFR 164.410 -- Notification by a business associate., verified November 15, 2026); read what window their draft BAA sets and confirm you can meet it. Include backup and restore steps.
- Policies. A short index of your written security policies (access, passwords and MFA, device use, vendor management, incident response, backups, termination of access) and the name of your security official.
| Service role | What PHI it touches | BAA status | Date signed and plan |
|---|---|---|---|
| Hosting | Every request, including form contents | Signed / not offered / not needed | Fill in |
| Database and file storage | Patient records, uploads, backups | Signed / not offered / not needed | Fill in |
| Login provider | Names, emails, phone numbers | Signed / not offered / not needed | Fill in |
| Email or text messaging | Message content, phone numbers | Signed / not offered / not needed | Fill in |
| AI model API | Prompts and notes sent for summarizing | Signed / not offered / not needed | Fill in |
| Logging, error tracking, analytics | Whatever lands in requests and errors | Signed / not offered / not needed | Fill in |
| App builder or coding agent | Anything pasted into chat or seed data | Signed / not offered / not needed | Fill in |
Write not needed only when you have checked that no PHI reaches the service. A data storage company holding PHI is a business associate even if it never looks at the data (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), and the exception for services that only pass data along (HHS calls them conduits, like an internet provider) is narrow. (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)
What the health system is really trying to learn
Behind a long questionnaire sit a handful of plain questions:
- Where will our patients' data go? They want the full path and a BAA at every stop, because the vendors that handle the data for you become part of the chain they rely on.
- Is there a security program, or just an app? A dated risk analysis, written policies and a named security official show a program. A working app does not.
- Will each of our users see only what they should, and can you prove who saw what? That is access control, unique logins and audit logs.
- Will you notice a problem and tell us in time? That is monitoring, log review and an incident plan with a phone number.
- What happens to our data when this ends? They need to know you can return or destroy it.
- Who is accountable? A practice, a company, or one physician with a builder account. They want a legal entity and a person.
Answers that raise red flags
- The platform handles HIPAA for us. Reviewers will ask for the platform's BAA and your plan tier.
- We do not store any patient data, when the app has a database, file uploads or logs.
- Encryption offered as the answer to every question. Encryption does not answer who can log in, who reviews logs, or which vendors hold data.
- A risk analysis described as in progress, with no date.
- One shared admin login. A unique login for each user is a Required item in the Security Rule. (HHS (eCFR), 45 CFR 164.312 -- Technical safeguards., verified November 15, 2026)
- N/A for audit logging, or logs nobody reads.
- We have never had an incident, with no way to detect one.
- Vendor names with no BAA dates, or an AI model or email service missing from the list entirely.
For a vibe-coded app, the risk usually sits in the parts you did not write by hand: the builder's default database and login tables, AI calls added in one prompt, error trackers that capture request bodies, and preview links that run on real data. The screens are rarely the problem.
How this goes wrong: the questionnaire answered between patients
Imagine a family physician who built a post-discharge follow-up app for her own practice in an AI app builder. A regional health system sees it and wants its case managers to use it for patients leaving its hospital. Its vendor-risk team sends a BAA and a questionnaire. Between patients, she answers by email: data encrypted, hosted on the builder's cloud, no third parties, HIPAA compliant. She signs the BAA that week, and a pilot starts.
Two things were not on her mind. Months earlier she asked the builder, in one prompt, to add an AI summary of each discharge note. That feature sends note text to an AI model service under an account with no BAA. And the error tracker she connected while debugging saves the full contents of each failed request, so patient names and diagnoses now sit in its event history.
Six weeks into the pilot, the health system's reviewer asks for a subprocessor list (every outside company that receives the data). Her written answer of no third parties now sits in their vendor file and does not match the app. The BAA she signed requires her to make sure subcontractors that handle the data agree to the same restrictions (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026), and to report uses or disclosures the contract does not allow. (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026) She has no agreement with either service. HIPAA presumes an impermissible disclosure is a breach unless a risk assessment shows a low probability the data was compromised (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026), and the burden of showing that falls on the side that made the disclosure. (HHS (eCFR), 45 CFR 164.414 -- Administrative requirements and burden of proof., verified November 15, 2026) Her counsel and the health system's privacy office now have to work through it, the pilot goes on hold, and the relationship starts with a correction.
Two weeks spent building the packet, starting with the data-flow map, would have surfaced both services before she signed anything.
A reply you can adapt
Send something like this before you fill in the questionnaire. It buys time honestly and shows you take the review seriously.
Thank you for the BAA and the security questionnaire. We want our answers to be accurate, so before we sign we are preparing a review packet. By [date] we will send:
- A one-page description of the app, its users, and the patient data fields it uses
- A data-flow diagram showing every service that receives patient data
- A list of those services with BAA status and signature dates
- Our dated risk analysis and risk management plan
- Our access control model, a sample audit log, and our log review process
- Our incident response plan with a named contact
- An index of our security policies and the name of our security official
Where something is not yet in place, we will say so and give a date. Two questions for your team: which patient data do you expect the app to receive, and is your questionnaire in a fixed format? Our counsel will review the BAA in parallel.
Then do the work in that order. If the vendor list turns up a service with no BAA, fix the stack before you sign. The BAA request email templates help with vendors, and the compliance officer guide covers a lighter-weight version of this conversation.
Keep, refactor, or rebuild?
Keep the app's screens and workflow; the health system wants your tool, not a different one. Refactor any part of the patient data path that lacks a BAA, per-user logins or access logging before you sign their BAA, because signing commits you to safeguards and a subcontractor chain you must actually have. If the stack is already covered, the remaining work is the packet: risk analysis, policies and incident plan.
A health system review does not judge your screens. It judges the data layer, sign-in, logging, vendors and paperwork. If every service in the patient data path already runs under a BAA, with per-user logins and access logs, this is mostly a documentation job. If the vendor list shows a builder-hosted database, an AI call or a messaging service with no BAA, plan to move those pieces first. Keep, refactor, or rebuild walks through that decision, and what a HIPAA app review checks shows what an outside review looks at.
Fabrica can supply much of the technical side. In most cases an existing app can be kept: PAHL moves the live app and its patient data into a cloud account your practice owns. PAHL signs a BAA with your practice and confirms one is in place with each vendor that handles PHI. The environment has role-based access, multi-factor sign-in, a log of every access to a patient record, documentation for your Security Risk Analysis updated yearly, and a defined incident response. Several of those match items on a reviewer's list. Your practice remains responsible for its policies, training and risk analysis, and your counsel still reviews the health system's BAA before you sign.
Frequently asked questions
Do I have to sign the health system's BAA, or can I send my own?
Either can be the starting draft. What matters is that the final agreement contains the terms HIPAA requires, such as safeguards, breach reporting, and making sure your own vendors agree to the same limits (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026), and that you can actually do what it says. Have your counsel review it before signing.
Am I a business associate if I am also a physician at that health system?
Possibly not for that work. A workforce member is excluded from the business associate definition (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026), but an app you own and run outside your employment may be different. This is a question for your counsel and the health system's privacy office.
Can I use the free HHS risk assessment tool for this review?
You can use it as a starting point. HHS built the SRA Tool to guide smaller providers through a risk assessment (HHS ONC (HealthIT.gov), Security Risk Assessment Tool - ONC - Office of the National Coordinator for Health Information Technology, verified November 15, 2026), and what you enter stays on your computer. (HHS ONC (HealthIT.gov), Security Risk Assessment Tool - ONC - Office of the National Coordinator for Health Information Technology, verified November 15, 2026) Make sure the result covers this app's specific data flows and vendors, and date it.
What if my app builder does not sign a BAA?
Then the health system's patient data should not flow through it. As a business associate, you may let a vendor handle electronic PHI for you only if you get satisfactory assurances from it, in practice a BAA. (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) Check your builder in the BAA Matrix and plan the move before you sign.
How long should I take to respond?
Long enough to be accurate. Acknowledge the request quickly, give a date for the packet, and do not fill in yes or no answers you have not checked. A correction later costs more trust than a short delay now.
Does passing a health system security review mean my app is HIPAA compliant?
No. No authority certifies software as HIPAA compliant, and a review reflects one organization's judgment at one point in time. Your obligations, including risk analysis and log review, continue after the review.
Palo Alto Health Labs Fabrica
Keep building. We make it safe.
A health system is waiting on your BAA and security review? Get the stack and the paperwork right 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.
- HHS (eCFR), 45 CFR 164.302 -- Applicability.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11 (versioner API).
- 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).
- HHS (eCFR), 45 CFR 164.506 -- Uses and disclosures to carry out treatment, payment, or health care operations.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-01.
- 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).
- 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).
- HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11 (versioner API).
- HHS (eCFR), 45 CFR 164.312 -- Technical 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).
- 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).
- HHS ONC (HealthIT.gov), Security Risk Assessment Tool - ONC - Office of the National Coordinator for Health Information Technology. Checked November 15, 2026. Page dated Last Updated: September 18, 2026.
- HHS (eCFR), 45 CFR 164.410 -- Notification by a business associate.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
- 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.
- HHS (eCFR), 45 CFR 164.402 -- 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).
- HHS (eCFR), 45 CFR 164.414 -- Administrative requirements and burden of proof.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11 (versioner API).