PDF limits. Download the PDF. This PDF is tagged and machine-checked. It is not PDF/UA-certified. Manual accessibility review is not fully verified. The HTML on this page is the accessible copy. The PDF is not a full equivalent of that HTML and does not add a scheduling link.
Checkboxes and decision gates are recommended practices, not a complete legal checklist, clinical validation instrument or compliance certification. Do not enter patient identifiers, PHI, credentials or access tokens in these worksheets; use system labels and approved evidence references instead. Not legal advice.
Keep, Refactor or Rebuild — Decision Worksheet
Purpose: choose an investigation path for each component of a physician-built prototype. This is not a validated score or a production-release approval.
Project: ____________________ Version: __________ Review date: __________
Task/user: _____________________________________________________________
Intended output and allowed action: _____________________________________
Excluded uses: _________________________________________________________
Decision owner: ______________ Technical reviewer: ______________________
Clinical reviewer, if relevant: _________________________________________
Step 1 — inventory the evidence
Mark Available / Missing / Not applicable; add an evidence reference, not sensitive content.
| Evidence | Status | Reference | Owner |
|---|---|---|---|
| Reproducible source/configuration/dependencies | |||
| Data-flow and vendor inventory | |||
| User/tenant access model and denied-access tests | |||
| Agreement and service-eligibility review | |||
| Recovery/rollback rehearsal | |||
| Intended-use and clinical workflow acceptance | |||
| Maintenance and incident ownership |
Step 2 — choose at component level
Keep candidate: behavior is understood, reproducible and supported by acceptance evidence. Refactor candidate: useful behavior can be isolated and a weak boundary replaced with testable controls. Rebuild candidate: core identity/data model or deployment cannot support a demonstrable boundary through bounded repairs. Pause: purpose, legal role, clinical acceptance or accountable ownership is unresolved.
These are proposed engineering decision criteria, not claims about the quality of all generated code.
| Component | Useful behavior to preserve | Evidence gap | Keep / Refactor / Rebuild / Pause | Reason / owner |
|---|---|---|---|---|
| Interface/navigation | ||||
| Authentication/authorization | ||||
| Data/storage layer | ||||
| AI/model integration | ||||
| EHR integration | ||||
| Logging/operations |
Step 3 — test the proposed path
- What must remain unchanged for users? _________________________________
- What boundary changes, and how will it be tested? ______________________
- Which synthetic-data scenarios demonstrate denied access? ______________
- What happens if an external service fails? ____________________________
- How will records be reconciled during migration? ______________________
- Who can stop the cutover, and how is rollback rehearsed? _______________
- What historical data-handling questions require separate review? _______
Suggested clinical review prompts: what may users infer; what must be confirmed in source records; how is incomplete information shown; who accepts generated drafts? These are proposed safeguards, not evidence of clinical validation.
Step 4 — make the decision accountable
Recommended path: ______________________________________________________
Blocking issues and evidence needed: ____________________________________
Next action / owner / due: ______________________________________________
Decision reviewer / date: _______________________________________________
Reassessment trigger: __________________________________________________
A new codebase does not by itself resolve past exposure or establish compliance. HHS calls for risk analysis and appropriate safeguards alongside cloud BAAs.
Sources
- HHS cloud guidance, opened/read 2026-11-07 PST.
- HL7 FHIR R4 security, opened/read 2026-11-07 PST, for access control, logging and implementation context.
- The keep, refactor, or rebuild guide supplies the narrative decision criteria, not additional independent evidence.
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.