Compliance Kits
IEC 62304
Medical device software: software life cycle processes
IEC 62304 defines the life cycle of medical device software. The classification is by safety class: A (no injury possible), B (non-serious injury possible) and C (death or serious injury possible).
Choose it
- Open Create New Project, choose the language (C or C++).
- In the Compliance kit block, 1. Safety standard, choose IEC 62304.
- Pick the level. It starts on the strictest one; lower it only if your safety analysis allows it.
- Review the ticked boxes in step 2, add or remove standards, then Create the new project.
Levels
| Level | Meaning |
|---|---|
| Class A | Lowest risk. |
| Class B | Non-serious injury possible. |
| Class C | Death or serious injury possible. Strictest. |
IEC 62304 has no built-in coverage profile. The kit writes starter levels in the policy file that you must complete in levels and confirm in your plan: CppDepend says so in the summary (starter acceptance criteria).
What it ticks
| Project language | Coding standards ticked |
|---|---|
| C++ | MISRA C++ 2023, CERT C++, CWE |
| C | MISRA C 2025, CERT C, CWE |
Cybersecurity: IEC 81001-5-1 (security activities in the health software life cycle) is suggested and highlighted, not ticked.
What is created
<name>.compliance-kit.json: the safety standard, the level and the ticked standards, each markedsafetyoruser.<name>.compliance-policy.jsonand<name>.compliance-waivers.json: the coverage policy and its waivers.deviations.json: the deviation records for the coding rules.
CWE is ticked because weaknesses in medical software are also a safety and security concern.
Using it day to day
- Standards Coverage shows which rules of the ticked standards are checked.
- Compliance Summary shows the score and the violations per standard and severity.
- Deviations records the rules you knowingly do not follow, with a justification, an approver and an expiry date.
- Add the coding standards you need beyond the defaults (for example a cybersecurity standard) with the boxes of step 2; they keep the added mark if you later change the safety standard.
See the overview for the Compliance Summary, Standards Coverage and Deviations pages, and the file formats.
