Blog

    FDA Compliant Custom Software: Building Inside Design Controls

    By GauravNovember 26, 20269 mins read
    On this page

    A regulated software product is not judged only on whether it works. It is judged on whether you can show, from your own records, how each requirement became code, how that code was checked, and who approved each change.

    Most teams that struggle with FDA work do not lack engineering skill. They built first and tried to write the evidence afterwards. This post explains how to run design controls, traceability, validation and electronic records inside a normal sprint process, so the evidence is produced by the build rather than reconstructed for an audit.

    What is FDA compliant custom software?

    Building software that FDA may review?

    Our compliance engineering page explains how we set up the controls, records and reviews before the first sprint.

    FDA compliant custom software is a product built under a documented process that FDA rules expect for device software: controlled requirements, traced design, recorded verification and validation, and approved changes. Agnotic Technologies treats that process as part of the engineering system, so tickets, reviews and test runs become the design history file.

    The code itself is ordinary code. What changes is that every decision leaves a record a reviewer can follow.

    Does your software need FDA controls at all?

    Start with intended use, not technology. The same algorithm can be a device in one product and a general wellness feature in another, depending on what the label and marketing claim it does.

    FDA's guidance on device software functions focuses oversight on software that meets the definition of a medical device and could put patient safety at risk if it does not work as intended.

    Write the intended use statement before the backlog. If a feature drifts toward diagnosis or treatment decisions later, the regulatory lead should see that change as a ticket, not discover it in the release notes.

    How do design controls fit inside sprints?

    Design controls fit inside sprints when each control maps to an artifact the team already makes. A refined ticket is a design input, a merged pull request is a design output, and a sprint review with the right attendees can be a recorded design review.

    FDA's Quality Management System Regulation in 21 CFR Part 820 incorporates ISO 13485:2016 by reference for medical device manufacturers.

    • Design input: a ticket with an acceptance rule a tester can check, linked to the user need it serves.
    • Design output: the merged code, configuration and labeling text, each tied to the ticket.
    • Design review: a dated record of who reviewed what, including someone without direct responsibility for the work.
    • Design transfer: the release build, its checksums and the install steps, stored with the version.

    A traceability chain should link each user need to its requirements, each requirement to the code and risk controls that meet it, and each of those to the tests that prove it. Gaps in either direction are findings.

    • Forward check: every requirement has at least one passing test on the release build.
    • Backward check: every test and every risk control points back to a requirement.
    • Orphan code: modules with no requirement behind them need a ticket or removal.
    • Generated view: build the trace matrix from links in your tools, not by hand in a spreadsheet.

    Verification or validation: what is the difference?

    Verification asks whether you built the software right, against the written requirements. Validation asks whether you built the right software, for the intended user in the intended setting.

    Unit, integration and system tests are verification. Validation needs real or representative users running realistic tasks on the release build, with results recorded against the user needs. Teams that run only automated tests have strong verification and no validation.

    Where does 21 CFR Part 11 show up in the build?

    Part 11 shows up wherever your tools hold records you must keep or signatures that approve them. That includes the ticket system, the test management tool and the document store, not only the product.

    21 CFR Part 11 sets FDA's requirements for electronic records and electronic signatures, including secure, computer-generated audit trails.

    • Signatures: an approval names the signer, the date and time, and what the signature means, such as review or release.
    • Audit trail: edits to approved records are logged with the old value, the new value and who changed it.
    • Access: each person signs in as themselves, and shared accounts are not used for approvals.
    • Tool validation: the team records why each tool is fit for its purpose before relying on it.

    How should change control work after release?

    Change control should treat every post-release change as a small design cycle. The ticket states the reason, the impact on requirements and risks, and which tests must run again.

    A one-line bug fix to a dose calculation and a color change on a settings page should not get the same review. Write a short rule that sorts changes by risk, so low-risk work moves fast and high-risk work gets a full review.

    Third-party code and cloud services

    Open-source libraries, operating systems and cloud services are part of the product even though you did not write them. List each one with its version, what it does in the product and what happens if it fails.

    Pin versions in the build, watch for security notices, and treat an upgrade as a change under control. A managed cloud service that updates itself needs a monitoring plan, because you cannot freeze it.

    What mistakes make an FDA audit painful?

    The painful audits share a pattern: the team can show working software but cannot show how it got there. These are the failure points we see most often.

    • Records written at the end: requirements and test reports produced in the month before submission, with dates that do not match the commits.
    • Hand-built trace matrix: a spreadsheet that drifted from the code and nobody owns.
    • No validation: plenty of automated tests, no evidence that users can complete tasks safely.
    • Shared accounts: approvals made under one login, so nobody can say who signed.
    • Silent changes: hotfixes merged straight to the release branch without a ticket or risk review.

    A worked example: one requirement from idea to release

    Take a remote monitoring product that must warn a nurse when a reading is out of range. The user need says the nurse sees the warning on the worklist; the requirement names the threshold source, the display rule and what happens if the reading arrives late.

    The risk file records the hazard of a missed warning and the control: a test that the warning appears, plus an alert when readings stop. The code change links to the ticket, two engineers review it, and the system test runs on the release build.

    Before release, a nurse works through a scripted shift on a test environment and the observer records whether each warning was noticed. The trace matrix, generated from the links, shows the chain from need to validation with no gaps.

    Who owns what in a regulated build?

    Ownership has to be named, because a process with shared responsibility tends to have none. A small team can combine roles, but each one needs a person.

    • Product owner: user needs, intended use and acceptance of design inputs.
    • Engineering lead: design outputs, code review rules and the build pipeline.
    • Quality lead: the process, the trace matrix checks and the release record.
    • Regulatory lead: classification, submissions and whether a change needs a new filing.

    How do you check the process is working?

    Check it the way an auditor would, on a schedule, before anyone asks. Pick a requirement at random and follow its chain to the release evidence.

    • Sample trace: three requirements per sprint, followed end to end by someone outside the team.
    • Record dates: approvals dated before the release they cover, never after.
    • Open items: no release shipped with unresolved anomalies that lack a written rationale.
    • Tool checks: audit trails switched on and reviewed in every tool that holds approvals.

    What are FDA compliant custom software best practices?

    The best practices are mostly about timing: decide intended use first, write evidence as you build, and let tools generate the trace. Keep the process small enough that engineers follow it on a busy day.

    Run a mock audit before the first submission, fix what it finds in the process rather than the paperwork, and keep a single release record per version that links everything else.

    How Agnotic can help

    Agnotic builds custom software for device makers and digital health teams that need FDA-ready evidence. We set up the ticket links, review rules, trace generation and release record with your quality lead, then build inside them, so the documentation grows with the code.

    Plan your FDA-regulated build with Agnotic

    We map design controls onto your sprints and tools before development starts.

    Sources

    Frequently Asked Questions

    A documented process that produces controlled requirements, traced design, recorded verification and validation, and approved changes. The software also needs a clear intended use that decides whether FDA device rules apply.

    Talk to an engineer about your project

    Send us your backlog and release process. We will show where design control evidence is missing.