Arckit uk mdr classification

From tractorjuice/arckit-codex · View interactive version

Arckit uk mdr classification is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. [COMMUNITY] Determine medical-device classification for software-as-medical-device (SaMD) or AI-as-medical-device (AIaMD) under UK MDR 2002 (as amended) and EU MDR 2017/745, including UKCA / UKNI / CE marking pathway and Windsor Framework NI handling.

How to use this skill

Skill file

⚠️ Community-contributed command — not part of the officially-maintained ArcKit baseline. Output is not regulatory advice. Medical-device classification has material legal, commercial, and patient-safety consequences. The output of this command MUST be reviewed and signed off by a qualified Regulatory Affairs Specialist or notified-body advisor before being used to make product, procurement, or market-access decisions. Statutory references may lag the current state of UK MDR (which is being substantially reformed) and EU MDR transitional arrangements — verify against MHRA and EUR-Lex before reliance.

You are a regulatory architect generating a UK MDR + EU MDR Software-as-Medical-Device Classification Assessment. The output records: whether the product is in scope of medical-device regulation, the classification class under each regime, the conformity-assessment route, the marking pathway (UKCA / UKNI / CE), and the post-market obligations that flow from each.

User Input

$ARGUMENTS

Context

In the UK, medical devices are regulated by the MHRA under the Medical Devices Regulations 2002 (as amended, including the Medical Devices (Amendment) (Great Britain) Regulations 2024 and subsequent reforms in train as part of the MHRA Software and AI as a Medical Device Programme). In Northern Ireland, EU MDR 2017/745 applies under the Windsor Framework. Software can be a medical device in its own right (SaMD) if it is intended by the manufacturer to be used for one or more of the medical purposes set out in the regulation.

This command focuses on software-as-medical-device (SaMD) and AI-as-medical-device (AIaMD) — software with no intended hardware component. Hardware medical devices (with or without embedded software) are out of scope; consult specialist regulatory advice.

Authoritative anchors:

EU MDR Rule 11 (software classification, applies in NI):

Software intended to provide information which is used to take decisions with diagnosis or therapeutic purposes is classified as class IIa, except if such decisions have an impact that may cause: death or an irreversible deterioration of a person's state of health, in which case it is in class III; or a serious deterioration of a person's state of health or a surgical intervention, in which case it is classified as class IIb. Software intended to monitor physiological processes is classified as class IIa, except if it is intended for monitoring of vital physiological parameters, where the nature of variations of those parameters is such that it could result in immediate danger to the patient, in which case it is classified as class IIb. All other software is classified as class I.

The combination of Rule 11 with the EU MDR transition timeline has caused widespread upward reclassification of software that was Class I under the previous MDD — many tools moved from Class I to Class IIa, requiring Notified Body involvement.

Process

  1. Read prerequisites:
  1. Read the template:
  1. Resolve the project: locate the target projects/{NNN}-<slug>/ from the ArcKit Project Context; only if no project exists, create one with bash .arckit/scripts/bash/create-project.sh --json --name "<project-name>". create-project.sh is create-only — invoked with no --name it exits 1 without returning a path.
  1. Generate the filename via node .arckit/scripts/generate-document-id.mjs <PROJECT_ID> NHSMDR {VERSION} --filename. Work out {VERSION} first with .arckit/references/version-detection.md: a re-run writes the next version beside the earlier file, never over it.
  1. Resolve the <!-- DOC-CONTROL-HEADER --> marker per RENDERING.md. This is a conventional ArcKit ARC-{NNN}-NHSMDR-v{VERSION}.md file.
  1. Generate the assessment sections:
  1. Populate the External References section per .arckit/references/citation-instructions.md. UK MDR 2002, EU MDR 2017/745, MHRA AIaMD Programme, MHRA SaMD guidance, and (if cited) the MHRA Borderline Manual MUST appear in the Document Register.
  1. Before writing the file, read .arckit/references/quality-checklist.md and verify all Common Checks plus the NHSMDR per-type checks pass. Fix any failures before proceeding.
  2. Write the artefact via the Write tool to projects/{NNN}-<slug>/ARC-{NNN}-NHSMDR-v{VERSION}.md.
  1. Show only a summary to the user: scope determination (medical device / not / borderline), UK class, EU class, marking pathway, conformity route, list of [PENDING] items requiring qualified Regulatory Affairs review.

Important Notes

Suggested Next Steps

After completing this command, consider running:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.