Tools and templates
The Physician Builder's HIPAA Risk Analysis Template (Free Download)
Last reviewed: . Vendor facts checked against each vendor's own pages on the dates shown.
Short answer: The Physician Builder's HIPAA Risk Analysis Template is a free Word, Markdown and spreadsheet kit for documenting the risk analysis of one vibe-coded practice app. HIPAA's Security Rule lists an accurate and thorough risk analysis as Required. (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) Fill in one copy per app, fix the High risks first, then have your security official sign and date it.
You built a practice app in an AI app builder or coding agent. A risk analysis is the document that shows you looked, app by app, at where patient data goes, what could go wrong, and what you are doing about it. This page explains the requirement in plain terms, shows the full template inline, and gives you three files to download.
Free downloads (no sign-up):
- Risk analysis template, Word (.docx): fill in and print or sign.
- Risk analysis template, Markdown (.md): same content, easy to keep in your app's repository.
- Risk register, spreadsheet (.csv): opens in Excel, Numbers or Google Sheets, with 12 example rows covering common vibe-coded app risks.
- Shorter, unscored version: the Vibe-Coded App Risk Analysis Starter (PDF), with an accessible copy on its own page. Use it to collect the inventory, then move to this template for scoring, remediation and sign-off.
Never type real patient information into these files. Describe kinds of data, not people.
What HHS requires, in its own words (checked November 15, 2026)
The risk analysis itself
The requirement sits in the Security Rule's administrative safeguards, at 45 CFR 164.308(a)(1)(ii)(A). It applies to covered entities (your practice) and to business associates (vendors that handle patient data for you). The text is short:
“(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.”
Three phrases matter for an app. Accurate and thorough means the document has to match what the app actually does today. Confidentiality, integrity, and availability means you look at who can see the data, whether it can be changed or corrupted, and whether you could lose it. Electronic protected health information (ePHI, patient data in electronic form) means every copy, including the ones in logs, backups and vendor systems.
What has to follow it
- Risk management (Required): “Risk management (Required). Implement security measures sufficient to reduce risks and vulnerabilities to a reasonable and appropriate level to comply with § 164.306(a).” (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) A list of risks with no fixes leaves this step undone.
- A named security official responsible for your security policies and procedures. (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026)
- Regular review of activity records such as audit logs and access reports (Required). (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026)
- Periodic evaluation, repeated in response to environmental or operational changes affecting the security of ePHI. (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) Documentation must also be reviewed periodically and updated after such changes. (HHS (eCFR), 45 CFR 164.316 -- Policies and procedures and documentation requirements., verified November 15, 2026)
- In writing, kept 6 years. Required assessments must have a written (which may be electronic) record, (HHS (eCFR), 45 CFR 164.316 -- Policies and procedures and documentation requirements., verified November 15, 2026) retained for 6 years from creation or the date it was last in effect, whichever is later. (HHS (eCFR), 45 CFR 164.316 -- Policies and procedures and documentation requirements., verified November 15, 2026)
The HHS SRA Tool
HHS offers a free tool for this work. ONC, the health IT office at HHS, built it with the Office for Civil Rights:
“The Office of the National Coordinator for Health IT (ONC), in collaboration with the HHS Office for Civil Rights (OCR), developed a downloadable Security Risk Assessment (SRA) Tool to help guide you through the process.”
Its target audience is medium and small providers. (HHS ONC (HealthIT.gov), Security Risk Assessment Tool - ONC - Office of the National Coordinator for Health Information Technology, verified November 15, 2026) What you enter stays on your own computer; HHS says it does not collect it. (HHS ONC (HealthIT.gov), Security Risk Assessment Tool - ONC - Office of the National Coordinator for Health Information Technology, verified November 15, 2026) HHS is also clear about its limits: “Use of this tool is neither required by nor guarantees compliance with federal, state or local laws.” (HHS ONC (HealthIT.gov), Security Risk Assessment Tool - ONC - Office of the National Coordinator for Health Information Technology, verified November 15, 2026)
Use the SRA Tool, or your existing practice-wide analysis, for the practice as a whole. This template is narrower on purpose: one app, and the places patient data hides in it, such as builder chat history, database access rules, preview links and AI model calls. Keep one completed copy per app alongside the practice-wide analysis.
What this means for your vibe-coded app
A practice-wide risk analysis that predates your app usually does not mention it. Once the app holds patient data, the app is part of what the analysis must cover. In a vibe-coded app, patient data rarely sits in one place. Before you score anything, walk through each of these and write down whether PHI is there:
- Builder chat and screenshots: real patient examples pasted into prompts while building.
- Seed and demo data copied from a real schedule or spreadsheet.
- The database and the auth (user) table: names, emails and phone numbers of patients who sign in. HIPAA counts demographic details a provider collects in the course of care as identifiable health information. (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026)
- File storage: insurance cards, ID photos, consent PDFs.
- Server logs and error trackers that save the contents of form submissions.
- Analytics and session replay running on signed-in screens.
- AI model calls that summarize, draft or classify patient text.
- Email and SMS content, including reminder templates.
- Preview deployments, backups and CSV exports.
Each place has a vendor behind it, and each vendor needs its own row. You may let a vendor create, receive, maintain or transmit PHI for you only with satisfactory assurance that it will safeguard it. (HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026) Your vendor's own subcontractors that handle PHI are business associates too, (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026) and HHS has said a storage company holding PHI is a business associate even if it does not view 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) To see where each builder, database, host and AI service stands today, use BAA Matrix or run your stack through Stack Checker. To ask a vendor in writing, use the BAA request email templates.
The template, section by section
This is the full structure of the download. Fill in one copy per app. Example entries below are hypothetical.
1. Scope and ownership
App name and version, what it does, who uses it (patients, clinicians, front desk), where it runs, how it was built and by whom, the date it went live with real patient data, the security official, who completed the analysis, the date, and the next review date. State what is in scope (app, database, storage, sign-in, hosting, integrations, the builder workspace, backups, staff devices) and what is covered elsewhere (for example, the EHR in your practice-wide analysis).
2. Asset and data-flow inventory
One row per place patient data is created, stored, sent or shown.
| # | Component or flow | Patient data | Stored or sent to | Who can access |
|---|---|---|---|---|
| A1 | Intake form to database | Name, date of birth, medications, history | App database | Front desk, clinicians |
| A2 | Insurance card upload | Card image | File storage | Front desk |
| A3 | AI summary button | Full intake answers | AI model API | Vendor systems |
| A4 | Error logging | Form fields in request bodies | Error tracker | Developer accounts |
3. Vendors and BAAs
For each vendor in Section 2: the service you use, whether it touches PHI (yes, no, unsure), whether a BAA (business associate agreement) is signed and when, the plan the BAA requires, which services the BAA covers and which ones you use that it does not, what happens to your data at the end of the contract, and where the signed copy is filed. A BAA must require the vendor to return or destroy PHI at termination if feasible, (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026) so check that clause. Any yes or unsure without a signed BAA becomes a risk in Section 7.
4. Threats and vulnerabilities
A threat is what could go wrong; a vulnerability is the weakness that lets it happen. Common ones in vibe-coded apps: database rules that let any signed-in user read every patient's rows; API keys in browser code; PHI sent to a service without a BAA; real data in builder chat; public preview links showing production data; shared staff logins or no multi-factor sign-in; no record of who viewed which chart; no tested backup; public file buckets; an AI feature that could give unsafe clinical output.
5. Likelihood and impact
Score each on a 1 to 3 scale. Likelihood: 1 needs several unusual failures, 2 is plausible within a year, 3 is easy, already exposed, or already happened. Impact: 1 is few records and quickly contained, 2 is many records or sensitive data, 3 is large or highly sensitive exposure, lost records, or harm to care.
6. Current controls
For each component: who can reach it and by what role, whether every user has a unique sign-in and multi-factor sign-in, what the audit log records and who reviews it, encryption in transit and at rest, whether a restore from backup has been tested, and the evidence (a screenshot, a setting, a signed document). Systems with ePHI need audit controls that record and examine activity, (HHS (eCFR), 45 CFR 164.312 -- Technical safeguards., verified November 15, 2026) and access must be limited to people or programs granted rights. (HHS (eCFR), 45 CFR 164.312 -- Technical safeguards., verified November 15, 2026) Items marked Addressable are not optional: implement them if reasonable and appropriate, or document why not and use an equivalent alternative if reasonable. (HHS (eCFR), 45 CFR 164.306 -- Security standards: General rules., verified November 15, 2026)
7. Risk level
Risk score is likelihood times impact. 1 to 2 is Low, 3 to 4 is Medium, 6 to 9 is High.
| ID | Risk | Likelihood | Impact | Level |
|---|---|---|---|---|
| R1 | Intake answers sent to an AI API with no BAA | 3 | 3 | High (9) |
| R2 | Any signed-in patient can read other patients' rows | 2 | 3 | High (6) |
| R3 | Error tracker stores form payloads | 2 | 2 | Medium (4) |
8. Remediation plan
For every High, and then every Medium: the action (fix it, replace the component, stop the data flow, or accept the risk with a written reason), an owner, a target date, status, the expected risk level after the fix, and evidence it was done. Example: R1, turn off the AI summary until a BAA-covered model endpoint is in place; R2, rewrite the database rules by role and test with two test accounts.
9. Sign-off and review
Signatures and dates from the security official, the physician lead, the person who maintains the app, and any outside reviewer. List the triggers that send you back to Section 2: a new feature touching patient data, a new vendor or AI model, a hosting or plan change, a security incident, a staff role change, and at least once a year. Keep each signed version for 6 years.
How to fill it in: a first pass in one sitting
- Open the app as each role. Sign in as a patient, a front-desk user and an admin (test accounts, synthetic data). Note every screen that shows patient data.
- Open your builder's settings and integrations page. List every connected service. Each one goes into Section 2 and Section 3.
- Search your code or builder project for outbound calls (AI, email, SMS, analytics, logging). If you are not sure how, ask the coding agent to list every external service the app calls, then check its answer yourself.
- Pull your signed BAAs. If you cannot find one, mark it unsure, not yes.
- Score honestly, then fix the Highs first. A Medium you fix this month is worth more than a perfect score sheet.
- Sign, date, file, and set a calendar reminder for the next review.
If an investor, buyer or hospital asks to see this document, here is what they look for. If you want an outside review of the same ground, this is what a HIPAA app review checks.
How this goes wrong: the risk analysis that was right in March
Imagine a two-physician internal medicine practice. In March, one physician completes a risk analysis for the intake app she built. It is careful: database rules tested, BAAs on file for the database and hosting, no AI features, every row scored. She signs it.
In June, her partner asks for a one-paragraph summary of each new patient's intake. She types one prompt. The builder adds a Summarize button. It sends the full intake answers to an AI model API, using a default key on a plan with no BAA. It also switches on an error tracker that saves the submitted form when the summary call fails. Neither service is in the March document. That document still says patient data never leaves the database.
In October, a health system that refers patients asks for her risk analysis before it will share records. The document she sends describes an app that no longer exists. The rule asks for an accurate and thorough analysis, (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) and for documentation that is updated after operational changes. (HHS (eCFR), 45 CFR 164.316 -- Policies and procedures and documentation requirements., verified November 15, 2026) What that gap means for her practice is a question for her counsel, not this page.
The fix is ordinary. Add rows for the AI call and the error tracker, score them, switch the feature off or move it to a BAA-covered service, and sign again. The lesson: any prompt that adds an outside service is a review trigger. Write that sentence into Section 9 of your copy.
Keep, refactor, or rebuild?
A template does not decide the outcome; your completed Sections 7 and 8 do. If the High risks are settings you can change and logs you can add, on services that already have a BAA, that points to Keep. If patient data sits in services with no BAA path, the data layer or integrations need replacing, which points to Refactor. Either way, the signed analysis is the record your practice keeps, and it has to be redone when the app changes.
The risk analysis is what answers this question for your app. Read your Section 8 when you are done. If the High risks are mostly missing safeguards around services that already have a BAA, that points to Keep. If they cluster in the data layer, sign-in, hosting or integrations that cannot be covered, that points to Refactor. If the platform holding the data cannot export it or give you the controls you need, the app becomes the specification for a rebuild. This guide walks through the decision.
Frequently asked questions
Is a HIPAA risk analysis required for a small practice app?
Yes, if the app holds your practice's patient data. The Security Rule lists the risk analysis as Required for covered entities and business associates. (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) Your size, capabilities, technical setup, costs, and the probability and seriousness of risks shape which security measures you choose. (HHS (eCFR), 45 CFR 164.306 -- Security standards: General rules., verified November 15, 2026) Your counsel or privacy officer decides how your practice meets the requirement.
Do I have to use the HHS SRA Tool?
No. HHS says use of the SRA Tool is not required by federal, state or local law, and that using it does not by itself establish compliance. (HHS ONC (HealthIT.gov), Security Risk Assessment Tool - ONC - Office of the National Coordinator for Health Information Technology, verified November 15, 2026) Its target audience is small and medium providers, and its page encourages seeking expert advice when evaluating the tool. (HHS ONC (HealthIT.gov), Security Risk Assessment Tool - ONC - Office of the National Coordinator for Health Information Technology, verified November 15, 2026) This template is narrower: it covers one app and the places patient data hides in it. You can use both.
How often do I need to update the risk analysis for my app?
The rule calls for periodic evaluation, and for updates after environmental or operational changes that affect the security of patient data. (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) (HHS (eCFR), 45 CFR 164.316 -- Policies and procedures and documentation requirements., verified November 15, 2026) For a vibe-coded app, treat any new feature that touches patient data, any new outside service, and any hosting change as a trigger. We also suggest a full review at least once a year.
Who should sign the risk analysis?
The security official your practice has named, (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) plus the physician lead and whoever maintains the app. If an outside reviewer or counsel looked at it, add their name and date.
How long do I keep it?
Keep each version for 6 years from the date it was created or last in effect, whichever is later. (HHS (eCFR), 45 CFR 164.316 -- Policies and procedures and documentation requirements., verified November 15, 2026) Keep superseded versions too; they show your review history.
Can I put real patient examples in the template to make it concrete?
No. Describe kinds of data (for example, medication list or insurance card photo), never real patients. The document will be shared with reviewers, partners and possibly buyers.
Palo Alto Health Labs Fabrica
Keep building. We make it safe.
Filled in the template and found High risks you cannot fix inside your current builder? That is the conversation to have first.
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.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).
- 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-12.
- 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 160.103 -- Definitions.. 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 (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.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.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.306 -- Security standards: 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).