SaMD Quality System Requirements: AI/ML Medical Device Compliance Under QMSR and EU MDR

SaMD Quality System Requirements: AI/ML Medical Device Compliance Under QMSR and EU MDR

Software as a Medical Device (SaMD) describes software that performs a medical purpose on its own, without being part of a hardware medical device. A clinical decision support tool that recommends treatment dosing, an AI algorithm that reads diagnostic images, a mobile app that classifies skin lesions: all of these fall within the SaMD definition.

Building a quality system for SaMD is materially different from building one for hardware devices. The software development lifecycle introduces compliance challenges that hardware-focused quality teams may not have encountered before. This guide covers the core regulatory requirements and practical steps for building a quality system that satisfies both FDA and EU MDR expectations.

How regulators define SaMD

The International Medical Device Regulators Forum (IMDRF) definition, which both FDA and EU regulators have adopted, describes SaMD as “software intended to be used for one or more medical purposes that perform these purposes without being part of a hardware medical device.”

The IMDRF also developed a risk framework that classifies SaMD based on two factors: the seriousness of the situation the software is used in, and the significance of the information the software provides to the decision-making process. This 4-category framework (I through IV) maps to how aggressively regulators scrutinize the software.

Under FDA’s framework, higher-risk SaMD requires more rigorous premarket review. Lower-risk SaMD, particularly software that supports clinical decision-making without replacing clinical judgment, may qualify for enforcement discretion or clearance through the 510(k) pathway.

FDA requirements for SaMD under QMSR

Under the QMSR regulation (21 CFR Part 820, effective February 2026), FDA harmonized its quality system requirements with ISO 13485:2016. This means SaMD manufacturers subject to FDA oversight must maintain a quality management system that includes:

  • Design controls, Software design and development must follow a documented lifecycle process with defined inputs, outputs, verification, validation, and transfer requirements
  • Risk management, ISO 14971-aligned risk management throughout the software lifecycle, including post-deployment monitoring
  • Document control, Controlled procedures for software requirements, architecture, code review, testing, and release documentation
  • CAPA, A corrective and preventive action process capable of handling software defects, algorithm performance issues, and post-market adverse event findings
  • Post-market surveillance, Ongoing monitoring of software performance in clinical use, including complaint handling and MDR reporting where applicable

FDA has also issued specific guidance for AI/ML-based SaMD (the 2021 Action Plan and subsequent draft guidance), which introduces the concept of a Predetermined Change Control Plan (PCCP). A PCCP allows manufacturers to predefine the types of algorithm updates they plan to make post-clearance without requiring a new submission for each update. This is particularly relevant for adaptive AI models that continue learning from real-world data.

IEC 62304: The software lifecycle standard

IEC 62304 is the international standard that defines software lifecycle requirements for medical device software. Both FDA and EU MDR reference IEC 62304 as the recognized approach for software development process compliance.

The standard divides software into three safety classes based on the potential severity of harm from a software failure:

  • Class A; No injury or damage to health is possible
  • Class B; Non-serious injury is possible
  • Class C; Death or serious injury is possible

The software safety class determines which IEC 62304 lifecycle processes apply. Class C software requires the most complete documentation, including full unit-level testing traceability and anomaly resolution records.

For AI/ML-based SaMD, the classification question is complicated by the fact that algorithm outputs may be probabilistic rather than deterministic. A model that occasionally produces incorrect outputs must be analyzed for the worst-case harm scenario, which often pushes AI diagnostics into Class C.

EU MDR requirements for SaMD

Under EU MDR (Regulation 2017/745), standalone software is explicitly classified as a medical device. Classification follows MDR classification rules, with Rule 11 being the primary rule for SaMD:

  • Software that provides information used to make decisions with diagnostic or therapeutic purposes is Class IIa or higher
  • Software intended to monitor physiological processes in real time where incorrect output could cause immediate danger is Class IIb or Class III
  • Software providing diagnosis or treatment decisions for serious conditions is typically Class IIb or Class III

Class IIa and above require notified body involvement. This means a technical file that includes IEC 62304 compliance evidence, ISO 14971 risk management documentation, clinical evidence, and post-market surveillance plan.

A key EU MDR requirement for SaMD is the inclusion of algorithm validation evidence in the technical file. For AI/ML software, this includes training and validation dataset descriptions, model performance metrics, and evidence that the software performs as intended across the intended use population.

Quality system requirements specific to AI/ML SaMD

AI/ML-based SaMD introduces quality system challenges that do not exist for conventional deterministic software:

Algorithm transparency and explainability

Regulators increasingly expect documentation of how an AI model reaches its outputs, particularly for high-risk applications. This does not require full mathematical interpretability, but it does require clear documentation of the model architecture, the training data characteristics, and the known limitations of the model’s performance in specific populations or use conditions.

Dataset governance

Training and validation datasets are a regulated component of the AI/ML SaMD quality system. Your quality documentation should describe how datasets were sourced, how bias was assessed, how data quality was verified, and how dataset splits were performed to prevent data leakage.

Performance monitoring post-deployment

Unlike hardware devices, AI/ML models can degrade in performance as clinical practice patterns or patient populations shift over time. FDA’s AI/ML action plan and EU MDR both expect manufacturers to define performance metrics they will monitor in post-market use and establish thresholds that would trigger a corrective action or regulatory notification.

Change control for algorithm updates

Every material update to an AI/ML model, whether a retrained version or a change to the inference pipeline, must go through your change control process. If the change falls within a pre-cleared PCCP (for FDA-cleared devices), it may not require a new submission. If it does not, a new 510(k) or De Novo submission may be required. Document your change control rationale for each update.

Building the SaMD quality system: practical steps

1. Classify your software before designing your QMS

Your FDA device classification, EU MDR risk class, and IEC 62304 software safety class determine the documentation requirements you need to satisfy. Get these classifications documented and justified before spending resources building processes that may be more or less stringent than required.

2. Align your SDLC with IEC 62304

Map your software development lifecycle to the IEC 62304 processes required for your safety class. For Class C software, this includes: software development planning, requirements analysis, architectural design, detailed design, unit implementation and testing, integration and integration testing, system testing, and software release.

Each phase requires documented inputs, outputs, and verification evidence. If your current development process does not produce these artifacts, add them now before you need them for a submission or audit.

3. Integrate risk management from the start

ISO 14971 risk management for SaMD must address software-specific hazards including algorithm failure modes, cybersecurity vulnerabilities, use errors arising from interface design, and failure of third-party components or cloud services the software depends on. The risk”>https://www.cloudtheapp.com/glossary-risk-register/”>risk register for a SaMD product should be updated at each development phase as new design decisions introduce new hazard scenarios.

4. Build post-market surveillance for software-specific signals

Your post-market surveillance plan for SaMD should capture user complaints related to software behavior, algorithm performance issues, unexpected outputs, and cybersecurity incidents. Define the collection mechanism, the review frequency, and the threshold that triggers a formal CAPA or regulatory action.

How an eQMS supports SaMD compliance

SaMD quality systems require tight integration between design controls, risk management, software change control, validation records, and post-market complaint management. Managing these in separate systems makes traceability difficult to demonstrate and audit trails difficult to maintain.

An electronic QMS that integrates design controls, risk”>https://www.cloudtheapp.com/glossary-risk-register/”>risk register management, CAPA, document control, and complaint handling in a single platform makes compliance more tractable for SaMD teams.

Cloudtheapp provides a fully validated, AI-powered eQMS with 60+ applications purpose-built for regulated industries including medical device, pharmaceutical, and biotech. With design controls, risk management, validation, and CAPA built to QMSR and ISO 13485 standards, Cloudtheapp helps SaMD teams maintain the traceability and documentation integrity that both FDA and EU MDR require.

Schedule”>https://www.cloudtheapp.com/demo/”>Schedule a demo to see how Cloudtheapp supports SaMD quality system requirements in practice.

Related reading

About Cloudtheapp

Cloudtheapp is an AI-Powered Configurable Validated Cloud Platform built to provide the most configurable, easy-to-use Quality Management and Regulatory Compliance SaaS software on the market.

We believe that having a single platform to manage compliance and transformation needs is essential for businesses in the modern world. We've created an innovative configurable cloud platform built for the compliance world so you can easily implement ready-made applications with no additional installs or infrastructure required – and without writing a single line of code!

Our experienced professionals have over three decades of software development experience between them, giving us unparalleled insight into how to build powerful solutions to address real challenges.

We have created an interconnected ecosystem where everyone involved in this process can collaborate successfully while minimizing disruption of any sort as well as ensuring entire organization's data remains visible always for better use making sure businesses always stay compliant.

We excelled in creating the most configurable, easy-to-use Quality Management and Regulatory Compliance SaaS software that requires light administration, so your staff has time to focus on streamlining their compliance process, innovate faster and minimize risk associated with non-compliance.

We will continue to strive towards engineering smarter tools for administrative staff so they can focus on building safe and quality products.

With years of experience in the industry, we are committed to providing our customers with reliable and secure solutions enabling them to be agile and move ahead confidently.

Request a Demo Now