Skip to main content

Software & SaMD classification

Regulatory basis

Software classification under UK MDR 2002 follows the general classification rules in Schedule 2 (particularly Rule 12 for software), and MHRA's published guidance on software as a medical device. The EU MDR/MDCG guidance on software (MDCG 2019-16, MDCG 2021-24) is a useful reference for the UK context, though UK MDR 2002 requirements apply in Great Britain.

Disclaimer

This site provides general information only and does not constitute legal or regulatory advice. Software classification can be highly fact-specific. Always consult MHRA guidance and a qualified regulatory professional before finalising software classification decisions.


The two-step test: qualify first, then classifyโ€‹

Before applying the classification rules to software, manufacturers must first determine whether their software qualifies as a medical device at all. This is a two-step process:

Step 1 โ€” Does the software qualify as a medical device?โ€‹

Software qualifies as a medical device (SaMD) if it meets all of the following:

  1. It has an intended purpose stated by the manufacturer that falls within the medical device definition (diagnosis, prevention, monitoring, prediction, prognosis, treatment, or alleviation of disease, injury, or disability)
  2. It acts on the data it receives โ€” i.e., it does more than merely store, archive, losslessly compress, or transmit data
  3. The output it produces informs or drives a clinical decision

Software that only stores, retrieves, or transfers data โ€” without producing clinically meaningful output โ€” is not a medical device, regardless of the healthcare setting it is used in.

Step 2 โ€” What class does it fall into?โ€‹

Once software qualifies as a medical device, the classification rules in Schedule 2 of UK MDR 2002 apply. Software is primarily covered by Rule 12, with Rules 9, 10, and 11 also potentially relevant.


Rule 12 โ€” the primary software classification ruleโ€‹

Rule 12 of Schedule 2 UK MDR 2002 states:

All other active devices are in Class IIa unless they are intended to be used in direct contact with the human heart or central circulatory system or central nervous system, in which case they are in Class III; or they are intended to supply energy in the form of ionising radiation, in which case they are in Class IIb.

For software specifically, Rule 12 is interpreted in conjunction with MHRA's guidance to produce the following practical classification outcomes:

Software output and clinical contextClass
Software that provides information used to make decisions with no or minor impact on patient management (e.g., educational tools, general wellness apps)Not a medical device
Software that provides information used to make decisions with significant impact on patient management, but in non-critical conditions (e.g., chronic disease monitoring, alerting for non-life-threatening conditions)Class IIa
Software that provides information used to make decisions with serious impact on patient management (e.g., diagnosis of malignancy, dosage calculation for high-risk drugs, triage of critical conditions)Class IIb
Software that provides information used to make decisions that are directly life-sustaining, or that drives therapy in the central circulatory or central nervous systemClass III

This risk-based classification of software based on its clinical impact mirrors the approach in MDCG 2021-24 (the EU framework guidance), which MHRA regards as a useful reference even for the UK context.


Additional classification rules relevant to softwareโ€‹

Beyond Rule 12, other rules may apply to software:

RuleWhen applicable
Rule 9Software that is an active therapeutic device with potential for very dangerous situations (e.g., radiotherapy planning software) โ€” Class IIb or III depending on risk
Rule 10Software used for diagnosis and/or monitoring of vital physiological parameters where the nature of variations could result in immediate danger to the patient (e.g., cardiac rhythm monitoring with auto-alert) โ€” Class IIb
Rule 11Software intended to administer or exchange energy with the patient โ€” Class IIa unless delivering energy in a potentially hazardous manner (IIb)
Rule 12All other active software โ€” Class IIa as default, with escalation to IIb or III for critical applications

When multiple rules apply, the highest resulting class prevails.


MHRA's framework for software and AIโ€‹

MHRA has published specific guidance on software and AI/ML as medical devices, reflecting the rapid growth of these technologies:

MHRA AI and Machine Learning guidance (2021)โ€‹

MHRA published guidance on software and AI as a medical device setting out its regulatory approach to:

  • Predetermined change control plans โ€” how manufacturers can pre-specify future software changes and the circumstances under which those changes do not require a new conformity assessment
  • Transparency requirements โ€” what information should be disclosed to users about AI/ML-based decision support
  • Continuous learning algorithms โ€” how adaptive algorithms that change their behaviour based on real-world data are treated

The "Software and AI as a Medical Device Change Programme"โ€‹

MHRA launched a multi-year programme to develop UK-specific guidance on AI/ML in medical devices, covering:

  1. Intended purpose and indications โ€” precision in claiming what the software does and for whom
  2. Data management โ€” training data, validation data, bias considerations
  3. Algorithm transparency โ€” explainability and the "black box" problem
  4. Lifecycle management โ€” version control, post-market performance monitoring
  5. Predetermined change control โ€” managing post-market algorithm updates

This programme has produced roadmap documents outlining planned guidance publications. Check What's New for latest releases.


Common software qualification scenariosโ€‹

Clinical decision support (CDS)โ€‹

Clinical decision support software that simply presents guidelines, reference information, or pre-existing clinical literature โ€” without processing patient-specific data to produce a diagnosis or recommendation โ€” is generally not a medical device.

CDS software that processes patient-specific data (e.g., patient history, test results, imaging) to produce a patient-specific recommendation, alert, or diagnosis is a medical device.

Diagnostic imaging softwareโ€‹

Software that:

  • Merely displays or archives DICOM images โ†’ not a medical device (storage/archival only)
  • Applies image processing to enhance images for radiologist review โ†’ borderline; may be Class IIa if the enhancement influences diagnosis
  • Detects pathologies in images autonomously (e.g., flags suspected malignancy in CT scans) โ†’ typically Class IIb or III depending on the condition and clinical context

Electronic health records (EHR/EPR)โ€‹

General EHR/EPR systems that store, retrieve, and display patient records without processing data to produce diagnostic output are not medical devices. Specific modules within an EHR that calculate drug dosages, flag drug interactions, or generate clinical alerts based on patient data may qualify as medical devices.

Mobile health apps (mHealth)โ€‹

The vast majority of consumer wellness apps (step counters, sleep trackers, meditation apps) are not medical devices.

Apps that:

  • Measure or record vital signs and claim diagnostic utility โ†’ may be medical devices
  • Alert the user to a possible medical condition โ†’ likely medical devices
  • Calculate insulin dosages โ†’ medical devices (Class IIb or III)
  • Provide general guidance on managing a chronic condition โ†’ borderline; depends on specificity of claims

Companion diagnostics softwareโ€‹

Software used to identify patients suitable for a specific therapeutic product (companion diagnostics) is typically a medical device. The regulatory treatment of the diagnostic element (as an IVD or general medical device) depends on whether it uses in vitro specimen examination.


IVD softwareโ€‹

Software that processes in vitro test results to produce a diagnostic output is subject to Part III (IVD) provisions of UK MDR 2002, not Part I. Classification as List A, List B, Self-test, or General IVD depends on the clinical context and analyte.

Examples:

  • Software that interprets blood glucose meter readings in a clinical decision support context โ†’ IVD considerations (List B analyte)
  • Software that integrates multiple IVD results to produce a composite diagnostic score โ†’ IVD classification based on the overall diagnostic function

Key classification questions for softwareโ€‹

Before finalising classification, work through these questions:

  1. Is there a specific medical intended purpose? (Not "general wellness" โ€” a precise diagnostic or therapeutic claim)
  2. Does the software process patient-specific data to produce output? (Or does it merely store/transfer?)
  3. What clinical decisions does the output inform? (Minor adjustment vs life-sustaining therapy)
  4. What is the severity of the condition being diagnosed/managed? (Chronic, non-life-threatening vs acute, life-threatening)
  5. What happens if the software output is wrong? (Consequence of error drives the risk tier)
  6. Is the output in vitro specimen-based? (โ†’ IVD provisions)
  7. Is the software part of a device system or standalone? (Standalone SaMD vs embedded software in a device)

Comparison with EU MDR / MDCG approachโ€‹

AspectUK MDR 2002 (GB)EU MDR 2017/745 + MDCG guidance (EU/NI)
Software definitionIncluded in general medical device definitionExplicitly defined in MDR Art. 2
Primary classification ruleRule 12 (Schedule 2)Rule 11 (Annex VIII, Rules 1โ€“22)
Qualification guidanceMHRA SaMD guidanceMDCG 2019-16
Classification guidanceMHRA / Rule 12 interpretationMDCG 2021-24
AI/ML guidanceMHRA AI Change ProgrammeMDCG 2021-24 (AI considerations)
Predetermined change controlMHRA guidance in developmentMDCG position in development

Both frameworks reach similar practical outcomes for most software, but the EU MDCG guidance is more detailed. MHRA explicitly acknowledges EU MDCG guidance as a useful reference for the UK context.



Official referencesโ€‹

ReferenceDescription
UK MDR 2002, Schedule 2, Rule 12Primary software classification rule
MHRA: Software and AI as a medical deviceMHRA's software/AI guidance and change programme
MHRA: AI Change Programme RoadmapMulti-year programme for AI/ML guidance development
MDCG 2019-16 (reference)EU guidance on software qualification โ€” useful comparative reference
MDCG 2021-24 (reference)EU guidance on software classification โ€” useful comparative reference
IEC 62304Medical device software โ€” software lifecycle processes (designated UK standard)
IEC 82304-1Health software โ€” general requirements for product safety