November 10th, 2022 by inflectra
Good Automated Manufacturing Practice (GAMP) is, inter alia, a set of guidelines for manufacturers and users of automated systems in the pharmaceutical industry. GAMP is part of the medical industry’s risk management approach in software development and supports software testing and validation. We thought it would be useful to highlight where GAMP is going as part of the latest guidelines from the Food and Drug Administration (FDA), and how SpiraPlan can help you get there.
Traditionally, software validation has often been accomplished via software testing and other verification activities conducted at each stage of the software development lifecycle. However, as explained in FDA’s Software Validation guidance, software testing alone is often insufficient to establish confidence that the software is fit for its intended use. Instead, the Software Validation guidance recommends that “software quality assurance” focus on preventing the introduction of defects into the software development process, and it encourages use of a risk-based approach for establishing confidence that software is fit for its intended use.
The FDA believes that applying a risk-based approach to computer software used as part of production or the quality system would better focus manufacturers’ assurance activities to help ensure product quality while helping to fulfill the validation requirements of 21 CFR 820.70(i). For these reasons, the FDA is now providing recommendations on computer software assurance for computers and automated data processing systems used as part of medical device production or the quality system. The FDA believes that these recommendations will help foster the adoption and use of innovative technologies that promote patient access to high-quality medical devices and help manufacturers to keep pace with the dynamic, rapidly changing technology landscape, whilst promoting compliance with laws and regulations implemented by the FDA. Consequently the medical device industry is looking to move from a Computer Software Validation approach to one of Computer Software Assurance.
Computer Software Validation (CSV) is a requirement of the Quality System regulation, which was published in the Federal Register on October 7, 1996 and took effect on June 1, 1997. (21 CFR 820 and 61 FR 52602). Validation requirements apply to software used as components in medical devices, to software that is itself a medical device, and to software used in production of the device or in implementation of the device manufacturer's quality system. Software validation is a part of the design validation for a finished device, but is not separately defined in the Quality System regulation. The FDA considers software validation to be “confirmation by examination and provision of objective evidence that software specifications conform to user needs and intended uses, and that the particular requirements implemented through software can be consistently fulfilled.”
In practice, software validation activities may occur both during, as well as at the end of the software development life cycle to ensure that all requirements have been fulfilled. Since software is usually part of a larger hardware system, the validation of software typically includes evidence that all software requirements have been implemented correctly and completely and are traceable to system requirements. A conclusion that software is validated is highly dependent upon comprehensive software testing, inspections, analyses, and other verification tasks performed at each stage of the software development life cycle. Testing of device software functionality in a simulated use environment, and user site testing are typically included as components of an overall design validation program for a software automated device.
Computer Software Assurance (CSA) is a risk-based approach for establishing and maintaining confidence that software is fit for its intended use. This approach considers the risk of compromised safety and/or quality of the device (should the software fail to perform as intended) to determine the level of assurance effort and activities appropriate to establish confidence in the software. Because the computer software assurance effort is risk-based, it follows a least-burdensome approach, where the burden of validation is no more than necessary to address the risk. Such an approach supports the efficient use of resources, in turn promoting product quality.
In addition, computer software assurance establishes and maintains that the software used in production or the quality system is in a state of control throughout its lifecycle (“validated state”). This is important because manufacturers increasingly rely on computers and automated processing systems to monitor and operate production, alert responsible personnel, and transfer and analyze production data, among other uses. By allowing manufacturers to leverage principles such as risk-based testing, unscripted testing, continuous performance monitoring, and data monitoring, as well as validation activities performed by other entities (e.g., developers, suppliers), the computer software assurance approach provides flexibility and agility in helping to assure that the software maintains a validated state consistent with 21 CFR 820.70(i).
Although the guidance from the FDA is still in draft form, when you look at the original specifications for CSV and how they are evolving to meet the needs of CSA, the following core activities are paramount:
The types of assurance activities commonly performed by manufacturers include, but are not limited to, the following:
When establishing the recorded results of assurance activities, the manufacturer should capture sufficient objective evidence to demonstrate that the software feature, function, or operation was assessed and performs as intended. In general, the record should include the following:
SpiraPlan has been designed from day one to offer a unique platform for managing the quality of software, systems and devices. With its built in support for key quality management features such as requirements management, test case management and traceability, risk management, risk analysis and risk-based testing, as well as defect/problem management and verification and validation, SpiraPlan has been designed to support current-state CSV activities as well as be ready to assist organizations as they transition to CSA. To better illustrate this, we shall consider the example scenario from the FDA CSA guidance:
A medical device manufacturer has decided to implement a commercial business intelligence solution for data mining, trending, and reporting. The software is intended to better understand product and process performance over time, in order to provide identification of improvement opportunities. The following features, functions, or operations were considered by the manufacturer in developing a risk-based assurance strategy.
The following features and functions were identified in the system being considered (just a subset of the total):
Inside each requirement, we have clearly identified the intended use of the feature. This could be done either as a section of the main text (as shown above) or as a separate text field if preferred:
Now that we've identified the Features, Functions, or Operations and the associated Intended Use of the Features, Functions or Operations, we can now do a risk-based analysis to determine if this functions pose a high process risk.
Once a manufacturer has determined that a software feature, function, or operation is intended for use as part of production or the quality system, the FDA recommends using a risk-based analysis to determine appropriate assurance activities. Broadly, this risk-based approach entails systematically identifying reasonably foreseeable software failures, determining whether such a failure poses a high process risk, and systematically selecting and performing assurance activities commensurate with the medical device or process risk, as applicable.
In this case, using SpiraPlan's risk management module, we identified the following risks associated with this feature:
We have analyzed the risk and due to the data impacts to safety, the impact was rated 5 - Catastrophic and the Probability was rated 3 - Possible, giving an overall Exposure of 12.
As a first step in documenting the necessary assurance activities, we captured the risk mitigations that will be useful in reducing the probability of such a failure:
The final step in this part of the process is to associate this risk to the originally identified requirements. In this example, we only had a single risk, but in most cases there will be more than one:
With this done, we can now run a requirements - risk exposure report to get the aggregate risk for each of the features in the system:
This has identified both requirements as having a relatively high process risk. Therefore we need to determine and apply the appropriate assurance activities...
Once the manufacturer has determined whether a software feature, function, or operation poses a high process risk (a quality problem that may foreseeably compromise safety), the manufacturer should identify the assurance activities commensurate with the medical device risk or the process risk. In cases where the quality problem may foreseeably compromise safety (high process risk), the level of assurance should be commensurate with the medical device risk.
The manufacturer determined assurance activities commensurate with the medical device risk and has performed an assessment of the system capability, supplier evaluation, and installation activities. Additionally, the manufacturer establishes a detailed scripted test protocol that exercises the possible interactions and potential ways the functions could fail.
Using SpiraPlan, in this example, we would define the various test cases (both unscripted and scripted, both automated and manual) that adequately mitigate the identified risk:
Furthermore, using the risk-based testing approach, we can even see the total risk mitigated by each test case being executed:
This is useful for verifying the coverage of risks by test cases.
Note: Manufacturers are responsible for determining the appropriate assurance activities for ensuring the software features, functions, or operations maintain a validated state. The assurance activities and considerations noted above are some possible ways of providing assurance and are not intended to be prescriptive or exhaustive. Manufacturers may leverage any of the activities or a combination of activities that are most appropriate for risk associated with the intended use.
Finally, once this has all been put in place, SpiraPlan lets you execute the defined test cases and log results along with associated defects. As per the FDA, documentation of assurance activities need not include more evidence than necessary to show that the software feature, function, or operation performs as intended for the risk identified. The FDA recommends the record retain sufficient details of the assurance activity to serve as a baseline for improvements or as a reference point if issues occur.
Typically you would include the following:
SpiraPlan provides all of these necessary features and data records as part of its test execution and defect tracking modules:
when executing you can record the necessary results:
and log defects / non-conformities at the same time:
Furthermore, for specific types of testing, other Inflectra products can assist:
Ask an Inflectra expert:
And if you have any questions, please email or call us at +1 (202) 558-6885
SpiraTest combines test management, requirements traceability & bug-tracking
SpiraTeam brings your teams together, managing the entire application lifecycle
SpiraPlan lets you manage your programs and portfolio of projects like never before
Orchestrates your automated regression testing, functional, load and performance
The ultimate test automation platform for web, mobile, and desktop applications
The help desk system, designed specifically for software support teams
Cloud hosted, secure source code management - Git and Subversion
Exploratory testing capture tool that automatically records your testing activity
Let us deal with the IT pain so you don't have to. Or use on-premise if you prefer.
Our customers work in every industry imaginable. From financial services to healthcare and biotech to government and defense and more, we work with our customers to address their specific needs.
Our products do not enforce a methodology on you, instead they let you work your way. Whether you work in agile development, Scrum, XP, Kanban and Lean, Waterfall, hybrid, or Scaled Agile Inflectra can help.
If you want to learn more about application delivery, testing, and more take a look at our whitepapers, videos, background papers, blog, and presentations.
Our suite of Accelerators speed up your deployment and adoption of our products, increasing your return on investment and reducing the cost of ownership.
We collaborate with a wide range of teams to bring our customers a range of services (including load testing, training, and consultation), complimentary technologies, and specialized tools for specific industries.
Learn how different organizations have benefited from using Inflectra products to manage their software testing and application develooment.
Outstanding support is the foundation of our company. We make support a priority over all other work. Take a look at our support policy.
Discover great tips, discussions, and technical solutions from fellow customers and Inflectra's technical experts.
If you can't find the answer you're looking for, please get in touch with us: over email, phone, or online.
We are constantly creating new videos to help customers learn about our products, including through in depth webinars, all freely available along with a wide selection of presentations.
We provide a number of resources to help customers learn how to get the most out of our products, with free online resources, virtual classrooms, and face to face.
Read about Inflectra, our manifesto, and values. Meet our incredible customers who are building awesome things, and our leadership team that are committed to building a great company.
The Inflectra Blog contains articles on all aspects of the software lifecycle.
In addition we have whitepapers,
background articles, videos and
presentations to help get you started.
Events are a big part of our awesome customer service. They are a chance to learn more about us, our products, and how to level up your skills with our tools.
We partner with educational institutions and individuals all over the world. We are also a great place to work and encourage you to explore joining our team.
Please contact us with your questions, feedback, comments, or suggestions. We'll get back to you as soon as possible.
When you need additional assistance (be it training, consulting, or integration services) our global certified solution provider partner network is ready to help.
At Inflectra, we are fully committed to provide our customers with the very best products and customer service. Check out some of our recent awards.
We want to help developers extend and customize our tools to fit in with their needs. We provide robust APIs, sample code, and open source projects.