28
AAMI TIR45 Agile Meets Software Standards, and We all Win Brian Shoemaker, Ph.D. ShoeBar Associates 4 th SDMD Europe, 27.-30. January 2014

Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

AAMI TIR45

Agile Meets Software Standards, and We all WinBrian Shoemaker, Ph.D.

ShoeBar Associates

4th SDMD Europe, 27.-30. January 2014

Page 2: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Who I Am

• Originally an analytical chemist

• 15 y in clinical diagnostics (immunoassay): analytical support → assay development → instrument software validation

• 6 y as SW quality manager (5 in clinical trial related

SW)

• 9 y as independent validation consultant to FDA-

regulated companies – mostly medical device

• Active in: software validation, Part 11 evaluation,

software quality systems, auditing, training

4th SDMD Europe 27-30. Jan 2014

2

Page 3: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Agile Meets SW Standards, and we all Win

• TIR 45 comes at a much needed time• TIR 45 stitches together the important high-level

concepts

• TIR 45 outlines key practices needed for flexibility and quality

• Implementation issues are not ignored

• This TIR is actually just a starting point

34th SDMD Europe 27-30. Jan 2014

Page 4: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

SW Quality: All cost, no benefit?

4th SDMD Europe 27-30. Jan 2014

4

Common view: • Software quality processes / validation is purely a cost• The steps are required but add no value

My question was always – isn’t there a better way?

Page 5: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

The old way is broken!

4th SDMD Europe 27-30. Jan 2014

5

Source: 2011 Annual Report, U.S. FDA Center for Devices & Radiological Health

Page 6: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

RA/QA Reaction: Mixed

4th SDMD Europe 27-30. Jan 2014

6

(This is me)

?

Page 7: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

AAMI Agile Doc – game changer?

4th SDMD Europe 27-30. Jan 2014

7

• I was excited to learn this was being developed

• Even more so when I had the opportunity to review it!

• Document issued in August 2012

• My view: not a moment too soon

Page 8: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Agile Meets SW Standards, and we all Win

• TIR 45 comes at a much needed time

• TIR 45 stitches together the important high-level concepts

• TIR 45 outlines key practices needed for flexibility and quality

• Implementation issues are not ignored

• This TIR is actually just a starting point

84th SDMD Europe 27-30. Jan 2014

Page 9: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Intro statements say it all

• Agile can bring value to medical device software.

• Agile can be adapted to the unique needs of medical device software.

• Apply the values of Agile in a way that enhances a robust quality management system.

• Apply the practices of Agile within the context of an established quality management system.

• Set the correct expectations by defining the software development lifecycle model. Demonstrate how an incremental/evolutionary lifecycle satisfies regulatory requirements.

• Establish robust change management systems to manage changes and mitigate risks associated with rapid change.

4th SDMD Europe 27-30. Jan 2014

9

From the introduction to TIR 45:

. . . But it pays to take a closer look! NOTE: quotes from TIR 45 are boxed in purple, as above

Page 10: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

• Processes and tools

• Comprehensive documentation

• Contract negotiation

• Following a plan

Agile Manifesto Values

• Individuals and interactions

•Working software

• Customer collaboration

•Responding to change

4th SDMD Europe 27-30. Jan 2014

10

More Value here … But these still have value!

This does not conflict with device quality standards (ISO 13485, 21 CFR 820)

Page 11: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Standards DON’T Dictate Waterfall

4th SDMD Europe 27-30. Jan 2014

11

Quality Management System (ISO 13485)

Risk Mgmt Process (ISO 14971)S/W Dev Lifecycle (IEC 62304)

Safety plan, and Development Plan

A. No injury

B. Slight injury

C. Life-critical

Risk Level

Usability (IEC 62366)

• As a driver of design• As a guide to evaluate your design

IEC 62304 5.1.1:

“processes can be

performed iteratively

or recursively”

ISO 14971 §3.1: Mfr "shall

establish, document and

maintain throughout the life-

cycle an ongoing process“

for analyzing, evaluating,

and controlling risks.

Critical HF process steps

include prototyping and

iterative design

Page 12: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Design Inputs / Outputs: Pieces

4th SDMD Europe 27-30. Jan 2014

12

Not monolithic:

But rather much smaller, incremental pieces:

Page 13: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Design Reviews: Part of the Lifecycle

4th SDMD Europe 27-30. Jan 2014

13

DR Deploy

No surprises here!

• In software development plans, define the reviews that take place, showing that they satisfy regulatory requirements.

• Plan formal design reviews to be performed at increment and release boundaries.

= demo, a kind of review

Page 14: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Documentation: A Deliverable

4th SDMD Europe 27-30. Jan 2014

14

• Produce documentation that communicates information to the intended audience.

• Produce documentation at the point in time when it fits the flow of creating it and using it.

• Define how documentation is written, controlled, and approved as a sum-of-its-parts.

Page 15: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Agile Meets SW Standards, and we all Win

• TIR 45 comes at a much needed time

• TIR 45 stitches together the important high-level concepts

• TIR 45 outlines key practices needed for flexibility and quality

• Implementation issues are not ignored

• This TIR is actually just a starting point

154th SDMD Europe 27-30. Jan 2014

Page 16: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Planning - Incremental

16

Each Project

5.1 SW Development Planning - Project5.2 SW Requirements Analysis – High Level Backlog Management5.3 SW Architectural Design – Infrastructure, Spikes

Each Release (multiple releases)

5.1 SW Development Planning – Release

5.6 SW Integration &

Integration Testing

5.7 SW System Testing & Regression

Testing

5.8 SW Release

Each Increment (multiple increments)

5.1 SW Development Planning – Increment

5.6 SW Integration &

Integration Testing

5.7 SW System Testing & Regression

Testing

Each Story (multiple stories)5.1 SW Development Planning - story5.2 SW Requirements Analysis - story details5.3 SW Architectural Design - Emergent5.4 SW Detailed Design5.5 SW Unit Implementation & Verification5.6 SW Integration & Integration Testing5.7 SW System Testing

4th SDMD Europe 27-30. Jan 2014

Page 17: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Plans can be more formal or less

4th SDMD Europe 27-30. Jan 2014

17

An Agile team will find that they need more than a backlog and release strategy to cover some of these planning topics. They now will have to write formal plans around such subjects as testing (at all levels), risk management, and software configuration management. A good way to remain Agile is to document the high-level strategy / resources / schedules / milestones and use the story creation / backlog / increment / release management to plan and execute detailed tasks. Together, they form the software development plan for a project.

GoalsResourcesMilestonesDeliverables

Formal –high level

Less formal (emergent details)

Page 18: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Continuous Integration – for success

4th SDMD Europe 27-30. Jan 2014

18

Not This: But This:

Use Agile's continuous integration practices as the core of an effective integration strategy.

Note that this strategy also confirms any OTS software (SOUP)!

Page 19: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Pairing – for more than code

4th SDMD Europe 27-30. Jan 2014

19

Pairing can be used effectively for requirements, design, and testing as well as coding. Benefits include:• Better designs• Effective training / mentoring• Reduced risk of knowledge loss• Improved quality via constant review

Pairing can also serve as peer review if the company addresses regulatory concerns:• Established acceptance criteria• Defined reviewer qualifications• Documentation of results

Pairing as a form of peer review (as part of the overall verification process) must satisfy the same requirements as any other method of peer review, addressing the considerations described above.

Page 20: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Quality – everyone’s job

4th SDMD Europe 27-30. Jan 2014

20

“Stop the line” (andon)

Collective code ownership

Page 21: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Agile Meets SW Standards, and we all Win

• TIR 45 comes at a much needed time

• TIR 45 stitches together the important high-level concepts

• TIR 45 outlines key practices needed for flexibility and quality

• Implementation issues are not ignored• This TIR is actually just a starting point

214th SDMD Europe 27-30. Jan 2014

Page 22: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

TDD: Traceability comes naturally

4th SDMD Europe 27-30. Jan 2014

22

(Re)write a test

Write production

code

All tests pass?

Clean up code

Test passes?

Source: http://en.wikipedia.org/wiki/File:Test-driven_development.PNG

Yes

No

Yes

No

Repeat

Just keep track of these!

Page 23: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

“Release” Often?

4th SDMD Europe 27-30. Jan 2014

23

A "release" can be:

• Internal: intended for a group outside the software development team but within the company

• Demo: For limited use outside company - only specific customers, not for therapeutic or diagnostic use

• Final Evaluation: Fully developed and tested, prior to regulatory approval, e.g. for Pivotal Trials and/ or Summative Usability testing

• Approved or Cleared: commercially available for clinical use.

Page 24: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Control is crucial

4th SDMD Europe 27-30. Jan 2014

24

Applies to OTSsoftware as well as to code under development!

Page 25: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Agile Meets SW Standards, and we all Win

• TIR 45 comes at a much needed time

• TIR 45 stitches together the important high-level concepts

• TIR 45 outlines key practices needed for flexibility and quality

• Implementation issues are not ignored

• This TIR is actually just a starting point

254th SDMD Europe 27-30. Jan 2014

Page 26: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Doubt remains, interest grows

• Consider: “I talk about Agile development in my course and generally advise against it for anything but Class I devices. … In my experience, there’s too much hype and not enough hard data supporting results.”

• Meanwhile, try a Google search on “Agile medical device development”

4th SDMD Europe 27-30. Jan 2014

26

Page 27: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

What do we need?

• Success stories

• Hard data – e.g. cost reduction with productivity gain

• Techniques – how to “connect the dots”

4th SDMD Europe 27-30. Jan 2014

27

Page 28: Agile Meets Software Standards, and We all Win · Intro statements say it all • Agile can bring value to medical device software. • Agilecan be adapted to the unique needs of

Thank you!

284th SDMD Europe 27-30. Jan 2014

Brian Shoemaker, Ph.D.

Principal Consultant, ShoeBar Associates

199 Needham St, Dedham MA 02026 USA

+1 781-929-5927

[email protected]

http://www.shoebarassoc.com