Free guidee-book

Software Development for Medical Devices Using Continuous Integration

A free LabLynx e-book on continuous integration for medical device development, from device definitions and design controls to version control, validation and peer review.

Software Development for Medical Devices Using Continuous Integration, a free guide from LabLynx

Get your free copy

  • e-book
  • Instant download

"*" indicates required fields

This field is for validation purposes and should be left unchanged.

We also email you the link.

Continuous integration is a development practice that applies quality control in small pieces, frequently, instead of after all development is done, so every change is built, tested and traced as the work goes. This LabLynx guide shows how medical device software teams can use it, with version control, automated tests and ticketing, to keep a traceable design history file.

What you will learn

  • What counts as medical device software. The definitions from IEC 62304, the FDA and the EU, and why classification is the regulator's call.
  • Why continuous integration is a process, not a build. Small pieces of quality control, applied often, with every build traced to a changeset.
  • How to keep the design history file in version control. One repository for plans, documents, code, test data and results, with every release tagged.
  • How automated tests become audit evidence. Labeled, traced unit tests stored with each build, and the manual tests that still matter.
  • How the ticket workflow drives peer review. An In-Review status that ties every review comment to its changeset.

What is inside the guide

From what counts as medical device software to automated tests an auditor can trace: here is what the guide covers.

  • What are medical software and devices?

    Medical software ranges from standalone diagnostic software to software embedded in a device, driving it or used to test it. The guide traces how regulators came to scrutinize it, from the Therac-25 overdoses caused by software coding errors to IEC 62304, and how the US, EU, Canada and Australia define and classify devices by risk.

  • Further defining medical device software

    The guide sets out how IEC 62304, the FDA and the EU each defined medical device software, whether built into a device or a medical device in its own right. It walks through the design controls it quotes from 21 CFR 820.30 and the 510(k) and premarket approval routes, and warns that classifying a product is the regulator's job, not the design team's.

  • Introduction to continuous integration

    Continuous integration applies quality control in small pieces, frequently, instead of after all development is done. The guide argues it is a whole-team process rather than a build, and a practical answer to rigid SOPs nobody remembers, told through the author's first internal audit on a blood bank project.

  • Why continuous integration?

    Every project should have continuous integration builds, even one developer working alone. Linked to changesets, tickets and requirements, the CI environment can become the design history file, with immediate feedback, one central place for builds, and unit tests that run with every build.

  • CI theory, practices and tools

    Integrating early and often avoids "integration hell", where merging changes takes longer than making them. The guide lists ten recommended practices, from keeping a code repository and a self-testing, automated build to testing in a clone of production, and weighs the advantages against the setup time, test suite and hardware they need.

  • Version control

    The design history file must hold everything that goes into a project, so version control starts in the planning phase. The guide recommends one repository for plans, documents, presentations, code, test data and results, locks on binary documents while they are edited, and a tag on every release, internal ones included.

  • Validation

    Built on a solid framework, unit tests can automate functional, regression and concurrency testing with every code change. The guide shows how to label each test, trace it through the traceability matrix to requirements, design and hazards, and keep its results with each build as design history evidence. It also explains why manual tests are still needed.

    Go deeper: What each regulator asks for in validation

  • Practical application of Agile

    Code peer review can run through the ticket workflow instead of a separate plugin: New, In-Progress, Resolved, In-Review and Closed. The reviewer reads the changeset attached to the ticket, so review comments are traced, reviews stay small and focused, and the team learns what everyone else is building.

Get the free guide

Key takeaways

  • Continuous integration is a process, not a build. It applies quality control in small pieces, frequently, and it involves every role on the team, from management to development.
  • The CI environment can hold the design history file. When every build is linked to a changeset, and changesets to tickets and requirements, the trace matrix follows from the work itself.
  • Keep the whole project in one repository. Plans, documents, presentations, code, test data and results are versioned together, and every release, internal ones included, is tagged.
  • Make automated tests auditable. Label each test, trace it to requirements, design and hazards, and store its results alongside the build that produced them.
  • Manual testing still matters. Automated tests catch the errors a team anticipates; manual tests find the unexpected and the usability problems, and each defect they find should become an automated test.

The issue-tracking steps

  1. Enter every requirement as a ticket. All requirements and software design items start as high-level tickets with no child tickets.

  2. Break each one into child tickets. A lead developer organizes the breakdown, and the parent ticket cannot close until every child ticket is complete, ideally each with its own unit test.

  3. Capture hazards the same way. Hazards are mitigated by documentation, requirements and tests, so they get tickets and tracing too; the traceability matrix is still needed, and easier to maintain.

  4. Track documentation and quality requirements in the same place. Label each ticket's type, so that even documentation requirements are traceable.

  5. Let tickets evolve through iterations. Tickets are created, closed and modified throughout design and development, with the project plan setting which high-level tickets come when, in sprints.

Software Development for Medical Devices Using Continuous Integration, a free guide from LabLynx

This page is the summary. The full guide has the detail.

e-book. Free.

Who it is for

Software developers and testers

who build medical device software and want every commit built, tested and traced without a separate round of paperwork.

Quality assurance and quality system owners

who need requirements, changes and test results tied together in the design history file, ready for an audit.

Project managers and team leads

who write the work instructions, route tickets and decide how peer review is done on a regulated project.

Written for Medical device manufacturers and teams building FDA-regulated medical software, from standalone software to software embedded in a device.

About the author

Marketing & Operations Digital Solutions Architect

Brandon Holland is the Marketing & Operations Digital Solutions Architect at LabLynx, where he writes guides and articles for lab professionals. This guide is published by LabLynx Press under a CC BY-SA 4.0 license, from LIMSwiki articles edited by Shawn Douglas, including material from Wikipedia and Wikibooks.

LabLynx has built laboratory information management software for more than 25 years.

Put it into practiceGet started with LabLynxThe guide closes on a simple rule: traceability depends on well-organized tickets and changesets committed in a meaningful way, so when your lab wants that kind of traceability in its own records, talk to LabLynx about how your lab works today. Ask for personalized information, a demo or pricing.Talk to a LabLynx specialist

About the guide

Answers from the guide, in brief.

Get the free guide
Why does the guide call continuous integration a process rather than a build?
Because the definition it uses is about quality control, not compiling: small pieces of effort, applied frequently, in place of quality control after all development is done. Continuous integration covers building, testing, releasing and quality control across the whole project, and no one on the team, from management to development, works in a vacuum. The procedures become part of daily work, and they make sense, unlike rigid SOPs that are read once and forgotten.
How does the guide say continuous integration helps with the design history file?
Keeping references, traceability, document versions and design outputs straight in the design history file by hand is tedious and error prone. In a CI environment, every build is linked to a specific changeset, and through the ticketing system to issues, requirements and ultimately the trace matrix. Builds, test results and artifacts stay labeled on the CI server, so the guide argues that the CI environment, used properly, can be the design history file.
What does the guide recommend keeping under version control?
Everything that goes into the project, from the planning phase on: project management plans, documents, presentations, code, test data and results, in one repository with its own trunk, tags and branches for each project. Splitting documents and code across repositories loses traceability. Each changeset is a snapshot of the whole repository, binary documents should be locked while someone edits them, and every release, including internal releases, should be tagged.
How does the guide make automated tests stand up in an audit?
Document the approach in the SOPs and work instructions, as for any manual test. Give every test a unique identifier, grouped by functional area and numbered in sequence, and record the scheme in a validation plan or master test plan. Trace each test to requirements, design, hazards and risks in the traceability matrix. The design history file can point to the CI server, where results sit with each build.
Does the guide say automated tests can replace manual testing?
No. Installation qualification and environmental tests, for example, still need manual testing, and neither kind replaces the other. Automated tests cover the errors a team anticipates; manual testers throw the "creative punches" that find the unexpected, and they give feedback on usability and user interaction. The guide adds that a defect found in manual testing should then get its own automated test.
How does the guide suggest running code peer reviews?
Through the ticket workflow. A ticket moves from New to In-Progress to Resolved, then to In-Review, and it closes only when the review is done. The project manager or team lead decides what review it needs and routes it; the reviewer reads the changeset attached to the ticket and comments in the ticket notes. That leaves an audit log of review comments, keeps each review small and focused, saves time, and tells reviewers what their colleagues are building.
Software Development for Medical Devices Using Continuous Integration, a free guide from LabLynx

Free guide

Software Development for Medical Devices Using Continuous Integration

e-book

  • What counts as medical device software
  • Why continuous integration is a process, not a build
  • How to keep the design history file in version control