V5 Ultimate
Compliance · The complete guide

SaMDSoftware as a Medical Device

TL;DR

Software as a Medical Device — software intended to perform one or more medical purposes without being part of a hardware medical device. Defined by IMDRF, regulated by FDA as a device and by EU MDR through Rule 11. The IMDRF risk framework (categories I–IV) drives the evidence depth; IEC 62304 governs the lifecycle; the AI/ML PCCP overlay lets some models update post-clearance under a pre-agreed change-control plan.

Reviewed · By V5 Ultimate compliance team· 2,200 words · ~10 min read

01What SaMD actually means

Software as a Medical Device (SaMD) is the IMDRF-coined term for software intended to be used for one or more medical purposes, performing those purposes without being part of a hardware medical device. The defining test is functional independence: an algorithm that scores diabetic retinopathy from a fundus image is SaMD; the firmware that runs the camera is not. The distinction matters because IMDRF, FDA, EMA, MHRA, PMDA, NMPA, Health Canada and SaMD-aware Notified Bodies all use this same definition when scoping their requirements.

Three other categories sit alongside SaMD and are routinely confused with it. Software in a Medical Device (SiMD) is firmware embedded in or controlling a hardware device — it is regulated as part of the device, not as SaMD. General-purpose software is software with no medical intended use; it is not a device at all. Software used in the manufacture or maintenance of a device is a quality-system tool under 21 CFR 820.70(i) — validated but not premarket-submitted.

02The IMDRF risk framework — Categories I to IV

IMDRF document N12 defines the risk-categorisation framework FDA's CDRH and most ex-US regulators use to scope SaMD evidence. Two axes: significance of information provided (Inform clinical management → Drive clinical management → Treat or diagnose) and state of the healthcare situation (Non-serious → Serious → Critical). The intersection lands the SaMD in Category I, II, III or IV.

CategorySignificance × SituationTypical example
IInform × Non-seriousWellness coach that suggests hydration reminders.
IIDrive × Non-serious / Inform × SeriousSoftware flagging atypical ECG morphology for clinician review in routine cardiology.
IIITreat or diagnose × Non-serious / Drive × Serious / Inform × CriticalDiabetic-retinopathy autonomous-screening SaMD that returns a refer / no-refer result.
IVTreat or diagnose × Serious or Critical / Drive × CriticalAutonomous stroke-triage SaMD that allocates patients to thrombectomy pathways.

FDA does not formally classify SaMD by IMDRF category — it classifies by Class I / II / III under the FD&C Act — but it uses the IMDRF framework to scope clinical-evaluation depth, software documentation level (Basic vs Enhanced), and post-market monitoring requirements. Build the IMDRF categorisation early and carry it through the design history file; reviewers expect to see it.

03How the FDA regulates SaMD

In the US, SaMD is regulated as a device under the FD&C Act. Most SaMD reaches market via the 510(k) Premarket Notification route as Class II, demonstrating substantial equivalence to a legally marketed predicate. Novel SaMD without a predicate uses the De Novo classification request; the highest-risk SaMD (autonomous diagnosis of life-threatening conditions) requires PMA.

The 21st Century Cures Act (2016) excluded five categories of software from the device definition — including most clinical decision-support (CDS) software that allows the clinician to independently review the basis for recommendations. The CDS exemption is narrower than it appears; SaMD that reaches a conclusion the clinician cannot independently evaluate (e.g. a deep-learning image classifier) is still a device.

Submission content follows the September 2023 final guidance on premarket submissions for device software functions. Every SaMD submission must include a software-documentation level rationale (Basic or Enhanced), the full lifecycle documentation per IEC 62304, software architecture and design documents, unit / integration / system test reports, a software bill of materials (SBOM), and cybersecurity evidence per the September 2023 cybersecurity final guidance — security risk management, architecture views, SBOM in SPDX or CycloneDX, and testing.

04How EU MDR regulates SaMD — Rule 11

Under EU MDR (2017/745) Annex VIII Rule 11, software intended to provide information used to take decisions with diagnosis or therapeutic purposes is Class IIa minimum. If the decisions could cause death or irreversible deterioration of state of health, it is Class III; serious deterioration or surgical intervention pushes it to Class IIb. Only software intended to monitor physiological processes drops to Class IIa (or Class IIb for vital physiological parameters). Software intended for other purposes (e.g. logging, scheduling without clinical impact) is Class I.

Rule 11 has effectively re-classified almost every SaMD upward at the EU MDR transition. A SaMD that was Class I under MDD is now most often Class IIa or IIb, requiring a Notified Body and full technical documentation under MDR Annexes II and III. MDCG 2019-11 is the controlling guidance and should be consulted before scoping any EU SaMD submission.

05Lifecycle obligations — IEC 62304, 14971, 62366

IEC 62304 is the lifecycle standard. It defines software safety classes (A: no injury or damage to health is possible; B: non-serious injury is possible; C: death or serious injury is possible) and scales documentation accordingly. Class A allows abbreviated architecture and unit testing; Class C requires full architecture, detailed design, and unit testing of every software unit. SaMD in IMDRF Category III or IV typically maps to 62304 safety class C.

ISO 14971:2019 governs risk management. The SaMD-specific hazard taxonomy includes algorithmic failure (false positives, false negatives), cybersecurity exploitation, data-input pathway failures (corrupted image, wrong patient), use-related hazards (clinician over-trust, automation bias), and emergent hazards from model drift in deployed AI/ML SaMD. The risk management file must be alive — updated at every change, reviewed at every release.

IEC 62366-1 covers usability engineering. For SaMD with lay users (consumer health apps, at-home triage), FDA's expectations on summative human-factors validation are explicit: a representative user population, simulated-use environment, defined critical tasks, and a use-error rate that supports the residual-risk acceptability argument.

06The AI/ML overlay and the PCCP

Adaptive AI/ML SaMD raises a regulatory paradox: the device that learns continuously is, by classical change-control logic, a new device every time it updates. FDA's Predetermined Change Control Plan (PCCP) final guidance (December 2024) resolves this for marketed devices. The PCCP, submitted with the 510(k), De Novo or PMA, defines in advance the planned modifications, the modification protocol, and the impact assessment. Modifications inside the PCCP envelope do not require a new submission.

A defensible PCCP has three parts: (1) Description of Modifications — what could change (training data, model weights, performance metrics, intended use), (2) Modification Protocol — verification, validation, performance metric thresholds, real-world performance monitoring plan, and (3) Impact Assessment — benefits, risks, and how risks are controlled. Models that retrain on real-world data must include a drift-detection and rollback mechanism.

07Where SaMD programmes fail audit

  • Treating a CDS exemption claim as obvious. The exemption is narrow and the burden is on the manufacturer to demonstrate the clinician can independently evaluate the basis.
  • Skipping IMDRF risk categorisation and arguing 62304 safety class purely from the FDA Class. Reviewers want both arguments documented.
  • Documentation level set to Basic when the device is IMDRF Category III. The 2023 software guidance is explicit: Enhanced is the default for SaMD that drives or treats serious or critical situations.
  • SBOM absent or in a non-machine-readable format. SPDX or CycloneDX is mandatory under the 2023 cybersecurity guidance.
  • PCCP scope drafted too narrowly, forcing a new submission for routine retraining — or too broadly, drawing AI requests for additional information at review.
  • Post-market real-world performance monitoring plan absent. For adaptive AI/ML SaMD, FDA expects a defined plan with thresholds and escalation paths.

Frequently asked questions

Q.Is a wellness app SaMD?+

Only if its labelling claims a medical purpose. A wellness app that 'helps you stay hydrated' is general-purpose software; an app that 'detects atrial fibrillation' is SaMD.

Q.Does the EU MDR Rule 11 apply to mobile apps?+

Yes. Rule 11 applies to all software regardless of delivery medium — native mobile, web, embedded, cloud-hosted. A web app providing diagnostic decision support is Class IIa or higher.

Q.Can a SaMD be 510(k)-exempt?+

Some low-risk SaMD product codes are 510(k)-exempt under the MDUFMA exemption lists, but the manufacturer still owes QMSR compliance, MDR/vigilance, and UDI. Exemption from 510(k) is not exemption from device regulation.

Q.What is the difference between a PCCP and a Special 510(k)?+

A Special 510(k) is a post-clearance change submission — used after the change is made. A PCCP is pre-cleared at original submission and authorises future changes without a new submission, as long as they stay within the agreed envelope.

Q.Does SaMD need an SBOM?+

Yes for any SaMD with cybersecurity considerations — effectively all SaMD. The September 2023 cybersecurity final guidance requires an SBOM in SPDX or CycloneDX format as part of the premarket submission.

Q.Is open-source software allowed in SaMD?+

Yes, with discipline. Open-source components must be inventoried in the SBOM, evaluated under IEC 62304 SOUP (Software of Unknown Provenance) requirements, risk-assessed, and continuously monitored for vulnerabilities.

Primary sources

Further reading

See SaMD working on a real shop floor

V5 Ultimate ships with the SaMD controls already wired in — audit trail, e-signatures, validation evidence. Free trial, no credit card, onboard in days, not months.