Software & SaMD classification
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.
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:
- 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)
- It acts on the data it receives โ i.e., it does more than merely store, archive, losslessly compress, or transmit data
- 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 context | Class |
|---|---|
| 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 system | Class 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:
| Rule | When applicable |
|---|---|
| Rule 9 | Software 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 10 | Software 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 11 | Software intended to administer or exchange energy with the patient โ Class IIa unless delivering energy in a potentially hazardous manner (IIb) |
| Rule 12 | All 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:
- Intended purpose and indications โ precision in claiming what the software does and for whom
- Data management โ training data, validation data, bias considerations
- Algorithm transparency โ explainability and the "black box" problem
- Lifecycle management โ version control, post-market performance monitoring
- 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:
- Is there a specific medical intended purpose? (Not "general wellness" โ a precise diagnostic or therapeutic claim)
- Does the software process patient-specific data to produce output? (Or does it merely store/transfer?)
- What clinical decisions does the output inform? (Minor adjustment vs life-sustaining therapy)
- What is the severity of the condition being diagnosed/managed? (Chronic, non-life-threatening vs acute, life-threatening)
- What happens if the software output is wrong? (Consequence of error drives the risk tier)
- Is the output in vitro specimen-based? (โ IVD provisions)
- Is the software part of a device system or standalone? (Standalone SaMD vs embedded software in a device)
Comparison with EU MDR / MDCG approachโ
| Aspect | UK MDR 2002 (GB) | EU MDR 2017/745 + MDCG guidance (EU/NI) |
|---|---|---|
| Software definition | Included in general medical device definition | Explicitly defined in MDR Art. 2 |
| Primary classification rule | Rule 12 (Schedule 2) | Rule 11 (Annex VIII, Rules 1โ22) |
| Qualification guidance | MHRA SaMD guidance | MDCG 2019-16 |
| Classification guidance | MHRA / Rule 12 interpretation | MDCG 2021-24 |
| AI/ML guidance | MHRA AI Change Programme | MDCG 2021-24 (AI considerations) |
| Predetermined change control | MHRA guidance in development | MDCG 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.
Related pagesโ
- What is a medical device? โ including SaMD in the definition
- How classification works โ applying Schedule 2 rules
- Class I ยท IIa ยท IIb ยท III โ class-by-class requirements
- IVD classification โ for software processing in vitro data
- What is not a medical device? โ wellness apps that don't qualify
Official referencesโ
| Reference | Description |
|---|---|
| UK MDR 2002, Schedule 2, Rule 12 | Primary software classification rule |
| MHRA: Software and AI as a medical device | MHRA's software/AI guidance and change programme |
| MHRA: AI Change Programme Roadmap | Multi-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 62304 | Medical device software โ software lifecycle processes (designated UK standard) |
| IEC 82304-1 | Health software โ general requirements for product safety |