08 — Agile under a standard

Sprints with a paper trail.

+ The questionDoes IEC 62304 force a team into phases, or can it work in two-week sprints?

A standard without a sequence

IEC 62304 lists activities: planning, requirements analysis, architectural design, detailed design, implementation and unit verification, integration, system testing and release, with maintenance, risk management, configuration management and problem resolution running alongside. Read in that order, the list looks like a waterfall, a process in which each phase is finished and signed off before the next begins. For years many device teams worked that way and assumed the standard required it. The standard requires that the activities be done and recorded, and that the maker's development plan say how; it does not say in what order, or how many times.

Most software outside regulated industries is now built iteratively, by methods usually grouped under the name agile. A team works in short cycles of one to four weeks, each ending with working, tested software; requirements are refined as users see results, and the design grows with the product. The question for a device maker is whether that way of working can produce the evidence of Chapters 4 to 7: requirements traced to hazards and tests, a documented architecture, verification at each level, and a controlled release.

AAMI, the US standards association for medical technology, answers that question in a technical report, TIR45, which describes how agile practices map onto IEC 62304. AAMI first published TIR45 in 2012 and revised it in 2023. The FDA has recognized both editions in full, the second in May 2025.

Four layers of time

TIR45 describes the work in four nested layers. The project or product layer runs for months to a year or more and holds the high-level requirements and the overall architecture. A release runs for one to several months and ends with software that could be delivered. An increment runs for one to four weeks and ends with integrated, tested software; many teams call it a sprint. A story is one small piece of function that a user can see, and takes one to a few days.

TIR45 places each IEC 62304 activity in one or more layers. Planning happens at every layer, at its own scale. High-level requirements and the coarse architecture belong to the project layer. Detailed requirements, detailed design, and implementation with its unit tests belong to each story. Integration and system testing happen at the story, increment and release levels, and the formal release activity sits at the project layer: it is carried out each time the maker ships a release. A user story with its acceptance criteria becomes a design input, one of the documented requirements the design must meet. The end of an increment or a release becomes a point for design review, a documented examination of whether the design meets those requirements. The development plan states which of those reviews are formal and recorded.

15 — Four layers of time in an agile project
AAMI TIR45 LAYER IEC 62304 ACTIVITIES PLACED IN IT PROJECT OR PRODUCT months to a year or more 5.1 planning 5.2 high-level requirements 5.3 architecture 5.8 release RELEASE one to several months 5.1 planning 5.6 integration 5.7 system testing INCREMENT (SPRINT) one to four weeks 5.1 planning 5.6 integration 5.7 system testing STORY one to a few days 5.1 planning 5.2 detailed requirements 5.3 architecture 5.4 detailed design 5.5 implementation and unit tests 5.6 integration 5.7 system testing each release that ships after AAMI TIR45 (2012; 2023 edition, FDA-recognized 2025); clause numbers from IEC 62304
SpecificationCodeFocal detail
Plate 15 — AAMI TIR45 places each IEC 62304 activity in one or more of four nested layers of an agile project. Detailed design and unit testing happen story by story, integration and system testing in every increment, and the formal release activity at the project layer, each time a release ships.
Solved example: what a year of sprints leaves behind

Suppose a team plans a 12-month project in two-week increments, with a release to users every three months. That is 26 increments and 4 releases. If the team completes about ten stories per increment, it finishes about 260 stories in the year. Each story then leaves updated requirements, design notes, unit tests, trace links and, where it touches a hazard, an updated risk analysis, provided the team's definition of done, described in the next section, requires those records. The formal system test, the anomaly review and the release approval happen at the end of each of the four releases. Instead of one large documentation effort at the end, the team produces the evidence in about 260 small pieces and reviews each while the work is fresh, so each release is assembled from records that already exist.

A sprint review is a meeting; a release is a regulated event

Software can move from a developer's machine to a test environment many times a day, and an increment can be demonstrated every two weeks. A release to patients is different: IEC 62304 requires that verification be complete, that known residual anomalies be documented and evaluated, that the released version and how it was built be recorded, and that the software be archived and reliably delivered. Agile methods speed up the work that leads to a release, but they do not reduce what the release itself requires.

Done means verified and recorded

The practice that makes agile work under a standard is a strict definition of done: the list of conditions a story must meet before it counts as finished. A story is not finished when its code runs. It is finished when its requirement is written and reviewed, its design and code are reviewed, its unit and integration tests pass, its trace links are in place, the risk analysis reflects any new hazard or control, and any change to SOUP is recorded. If any of these is missing, the story goes back into the work, exactly as it would if a test failed.

Two further habits make sure the records describe the software as it is. The first concerns requirements: the backlog, the team's list of stories waiting to be built, is not the requirements specification, but it supplies requirements to the specification. As stories are accepted, their requirements enter a controlled baseline, a fixed version of the specification that is approved at each release, so that the release is checked against a stable specification rather than a moving list. The second habit is live traceability: the team links stories, requirements, code changes and tests in the tools it already uses, as the work happens. The trace matrix, a table of the links that Chapter 4 describes, is then a report generated from them rather than a document written afterwards.

16 — Done means verified and recorded
DEFINITION OF DONE requirement written and reviewed design and code reviewed unit and integration tests pass trace links in place risk analysis updated SOUP changes recorded STORY show dose unit with value missing item: back to the work DONE the trace matrix becomes a report RECORDS PRODUCED PER INCREMENT each increment: about 10 stories waterfall: documents written at the end increments 1–26 over one year illustrative: 26 increments, about 260 stories
SpecificationCodeFaultReadoutFocal detail
Plate 16 — Under a strict definition of done, each story leaves its requirement, reviews, tests, trace links and risk updates before it counts as finished. The evidence then accumulates increment by increment instead of being written after the work.

What changed in 2023

The 2023 edition of TIR45 kept the core of the first edition and updated its context. According to AAMI, the new edition adapts documentation to digital practice, with streamlined approval processes and signature requirements, and it brings cybersecurity, risk management, design validation and usability engineering into agile work rather than treating them as separate phases. Its references now point to ISO 13485:2016, the amended IEC 62304 and ISO 14971:2019. The FDA accepts declarations of conformity to the 2012 edition only until 2 July 2028.

The same shift appears elsewhere. ISPE, a professional society for pharmaceutical engineering, publishes GAMP 5, the guide that regulated companies use to validate the computerized systems they buy and build. In its second edition, published in 2022, GAMP 5 states that its life cycle is not inherently linear and that it supports iterative and incremental methods; Chapter 19 returns to GAMP 5. In July 2026 VDE, the German electrical standards association, reported that the draft second edition of IEC 62304 itself places agile development in an informative annex, which gives guidance but adds no requirements.

Put the agile model in the development plan

Write the layers, their lengths and the activities placed in each into the software development plan, and state which reviews are formal. Make the definition of done include requirements, design, tests, trace links and risk updates for every story, and approve a requirements baseline at each release. An auditor who opens the plan should find the team's real way of working described there, not a waterfall it does not follow.

+ What this chapter established
  • IEC 62304 requires activities and records, not an order of phases, so iterative development can meet it if the plan says how.
  • AAMI TIR45, recognized by the FDA, maps the standard's activities onto project, release, increment and story layers.
  • A strict definition of done, a requirements baseline at each release and live traceability let evidence accumulate as the work is done.
  • Increments can be frequent, but a release to users stays a controlled event with verification, anomaly review, archiving and approval.
Created with Claude (Anthropic).
Educational reference material, not engineering, regulatory or clinical advice. Product and company names referenced are the property of their respective owners.