Skip to content

Medical device software: MDR and IEC 62304 for IT teams

B2Bnetwork team · · 6 min

Regulations

In brief

Software is a medical device under the MDR, Regulation (EU) 2017/745, when the manufacturer intends it for a medical purpose for an individual patient, for example diagnosis, monitoring or supporting treatment decisions. Rule 11 in Annex VIII determines its class, and the requirements for the development process are usually met through IEC 62304, which divides software into safety classes A, B and C. For the IT team this means a documented life cycle, risk management, traceability from requirements to tests and configuration control.

When software is a medical device

The definition of a medical device in Article 2(1) of the MDR explicitly includes software. The MDR has applied since May 26, 2021: the original date was postponed by one year by Regulation (EU) 2020/561. What decides is the intended purpose set by the manufacturer, not the technology.

The MDCG 2019-11 guidance (rev.1 of June 2025) walks through qualification in steps. Simplified, software may be a medical device when it:

  1. performs an action on data beyond storage, archival, communication, simple search and lossless compression;
  2. acts for the benefit of an individual patient, not just aggregating population data;
  3. has a medical purpose under the MDR definition.
ExampleUsually a medical device?Why
an appointment booking system for a clinicnoorganizational purpose, no action on a patient's medical data
a system transferring ECG recordings from an ambulance to a doctor, without treatment support modulesno (an example from MDCG 2019-11)storing and transferring data
an app that calculates an insulin dose from glucose readingsyesaction on data for the patient's benefit, supporting a therapeutic decision
software that detects lesions on X-ray imagesyessupports diagnosis
an app that monitors vital signs with alarmsyesmonitoring of physiological processes

Integrations between a hospital system and national e-health platforms are usually not a medical device, but a module of that system which, for example, warns about drug interactions for a specific patient may be one. The line runs through the function, not through the whole system.

Rule 11: how to determine the class

Rule 11 in Annex VIII of the MDR classifies software:

SituationClass
information used to take diagnostic or therapeutic decisionsIIa
as above, where the decision may cause a serious deterioration of health or a surgical interventionIIb
as above, where the decision may cause death or an irreversible deterioration of healthIII
monitoring physiological processesIIa
monitoring vital physiological parameters, where variations could result in immediate danger to the patientIIb
all other softwareI

In practice most decision support software lands in at least class IIa, which means a conformity assessment involving a notified body. For devices still certified under the old directive, Regulation (EU) 2023/607 extended the transition periods, subject to conditions, to the end of 2027 or 2028 depending on the class.

What the MDR requires of software

Annex I of the MDR, Section 17, contains requirements specifically for software:

  • 17.2: software is developed in accordance with the state of the art, taking into account the principles of development life cycle, risk management (including information security), verification and validation;
  • 17.3: software for mobile platforms takes into account their features (screen size and contrast) and conditions of use (light, noise);
  • 17.4: the manufacturer sets minimum requirements for hardware, networks and IT security measures, including protection against unauthorized access.

In practice, “state of the art” means standards: IEC 62304 for the software life cycle, ISO 14971 for risk management, usability standards and the MDCG cybersecurity guidance. Keep in mind that the Cyber Resilience Act does not apply to products covered by the MDR (Article 2(2) of the CRA), so the device's security requirements come from the MDR itself. The difference from the perspective of ordinary software is covered in Cyber Resilience Act.

IEC 62304: safety classes and processes

IEC 62304 “Medical device software: Software life cycle processes” (the 2006 edition with Amendment 1:2015) describes the life cycle processes for medical device software. The scope of requirements depends on the software safety class:

ClassWorst possible outcome of a software failure
Ano injury or damage to health is possible
Binjury is possible, but not serious
Cdeath or serious injury is possible

The IEC 62304 safety class is not the same as the MDR device class. A class IIa app can contain class B and C modules, and an architecture that separates the critical module from the rest lets you limit the strictest requirements to a smaller part of the code.

The standard describes five groups of processes: development (planning, requirements, architecture, detailed design, unit implementation and verification, integration, system testing, release), maintenance, risk management with reference to ISO 14971, configuration management and problem resolution. Separate requirements apply to SOUP, software of unknown provenance: open source libraries, the operating system, frameworks. Each such component must be identified, its requirements specified and its known anomalies tracked.

What it looks like in the team's work

IEC 62304 requirements can be met by an agile team with CI/CD and short iterations. The condition is that the trail from the tools produces the documentation the notified body expects.

  • Requirements traceability. Every software requirement links to a risk, an architecture element and a test. The requirements and test management tool exports the traceability matrix, instead of someone building it by hand before the audit.
  • Verification at every level. For classes B and C the standard requires software unit verification against acceptance criteria; unit tests in the pipeline with recorded results are ready-made evidence. The difference between checking conformance to the specification and confirming clinical fitness for purpose is covered in Software verification versus validation.
  • Configuration and releases. Every version released for clinical use can be rebuilt from the repository, with the SOUP list in specific versions. A component inventory in SBOM format, described in The software supply chain, helps maintain the SOUP list.
  • Post-release problems. A production issue goes into the problem resolution process with a safety impact assessment, not just into the backlog.

What independent testing of such a product looks like is shown in the project on testing medical device software in line with IEC 62304.

Questions and answers

Is a health app on a phone a medical device?

It depends on the intended purpose set by the manufacturer. An app that logs steps and sleep has a general wellness purpose and is usually not a medical device. An app that suggests a drug dose or detects arrhythmia based on a specific patient's measurements has a medical purpose and falls under the MDR. The app store description and marketing materials also count as evidence of the intended purpose.

How does the MDR device class differ from the IEC 62304 safety class?

The MDR class (I, IIa, IIb, III) follows from the classification rules and determines the conformity assessment route, including whether a notified body is involved. The IEC 62304 safety class (A, B, C) follows from the worst possible outcome of a software failure and determines which life cycle activities must be performed and documented. One device can have modules in different safety classes.

Is IEC 62304 mandatory?

The MDR does not name it, but it requires software to be developed in accordance with the state of the art, taking into account the life cycle, risk management, verification and validation. IEC 62304 is the widely accepted way of demonstrating that requirement, so notified bodies expect it to be applied or an equivalent approach to be justified.

Is AI-based medical device software also subject to the AI Act?

It can be. The AI Act treats an AI system that is a medical device, or a safety component of one, and requires a conformity assessment involving a notified body as high risk. The relationship between the two acts is discussed in the MDCG 2025-6 guidance. Risk categories are covered in AI Act: risk categories, and the deadlines are worth checking in the consolidated version because they were changed in 2026.

What it looks like in a project

Preparing your systems for an audit? Talk to an engineer.

Let's talk

Read more: Regulations