Software as a Medical Device (SaMD)
Software as a Medical Device (SaMD) is software intended to be used for one or more medical purposes that performs these purposes without being part of a hardware medical device, as defined by the International Medical Device Regulators Forum (IMDRF). Examples include apps that calculate insulin doses, algorithms analysing radiology images to detect lesions, digital therapeutics delivering cognitive behavioural therapy, and clinical decision support that recommends treatment. Software that merely stores, communicates or displays data, or supports lifestyle and wellness without a medical claim, is not a medical device, although the boundary is often contested.
In the EU, software with a medical purpose is a medical device under the MDR or an IVD under the IVDR; MDCG 2019-11 provides qualification guidance and MDR Annex VIII Rule 11 classifies most diagnostic or therapeutic decision-support software in Class IIa or higher, requiring notified body assessment, clinical evaluation and post-market surveillance. Cybersecurity requirements derive from the General Safety and Performance Requirements and MDCG 2019-16. In the United States the FDA regulates SaMD through the 510(k), De Novo and PMA pathways, with specific guidance on clinical decision support, cybersecurity and predetermined change control plans for AI-enabled software.
SaMD almost always processes health data and often runs on patients' own devices or in the cloud, so the manufacturer or the deploying healthcare provider is a controller under the GDPR requiring a DPIA, data protection by design, security measures and, for cloud hosting outside the EEA, transfer mechanisms. Where the software uses machine learning and requires notified body assessment, it is also a high-risk AI system under the AI Act, with integrated conformity assessment from August 2027, and the manufacturer is within scope of the NIS2 Directive. Companion apps for clinical trials (eCOA, eConsent) are usually not SaMD but face the same data protection questions. See iliomad's health apps and medical devices pages.
