Skip to main content

Skill Guide

Software documentation per IEC 62304 and IEC 82304-1 for AI/ML components

The systematic creation, validation, and maintenance of all required software lifecycle documents-including architecture, requirements, risk management, verification, and traceability-as mandated by IEC 62304 (medical device software lifecycle) and IEC 82304-1 (health software), specifically tailored to address the unique risks, data dependencies, and algorithmic behavior of AI/ML components.

This skill is critical for market access, as regulatory bodies (FDA, EU MDR) require demonstrable compliance to legally market AI-enabled medical devices. It directly reduces the risk of costly recalls, safety incidents, and failed audits by ensuring AI/ML systems are rigorously documented from conception to post-market surveillance, building stakeholder trust and enabling defensible regulatory submissions.
1 Careers
1 Categories
9.1 Avg Demand
15% Avg AI Risk

How to Learn Software documentation per IEC 62304 and IEC 82304-1 for AI/ML components

Focus on mastering the foundational standards: 1) Read and understand the core clauses of IEC 62304 (especially software classification, development planning, and risk management) and IEC 82304-1 (general requirements for health software). 2) Study the structure and purpose of a Software Development File (SDF) and a Software Maintenance File (SMF). 3) Learn basic risk management concepts per ISO 14971, as it is inextricably linked to software documentation.
Move to practical application by mapping standard requirements to AI/ML artifacts. Focus on: 1) Creating a traceability matrix that links AI/ML requirements (e.g., training data specifications, model performance metrics) to design outputs, verification tests, and risk controls. 2) Documenting the AI/ML Model Card as a formal part of the SDF, detailing its intended use, training data provenance, known limitations, and performance validation. 3) Avoiding the common mistake of treating the ML model as a static 'black box'-documentation must capture the entire lifecycle including data management and potential for drift.
Master the integration of AI-specific considerations into the QMS and regulatory strategy. Focus on: 1) Defining the Software of Unknown Provenance (SOUP) or Off-The-Shelf (OTS) documentation strategy for entire ML frameworks (e.g., TensorFlow, PyTorch) and pre-trained models. 2) Architecting the post-market surveillance documentation for AI systems to monitor performance and trigger documented re-training or updates. 3) Mentoring engineering teams on the 'why' behind the documentation to foster a culture of compliance, not just checkbox fulfillment.

Practice Projects

Beginner
Project

Create a Foundational SDF for a Simple ML Component

Scenario

You are documenting a basic image classification AI model intended to flag potential lesions in dermatology images as part of a Class B medical device software system.

How to Execute
1. Define the software requirements specification (SRS) for the ML component, including functional (accuracy, latency) and non-functional (data format, security) requirements. 2. Draft the software architecture description, explicitly detailing the ML model's role, its inputs/outputs, and its integration with the overall system. 3. Complete the risk analysis template, identifying hazards like false negatives/positives and tracing them to specific requirements and verification activities. 4. Populate a basic traceability matrix linking the SRS to the architecture and risk controls.
Intermediate
Project

Develop a Full Traceability & Verification Dossier for an AI-ML Pipeline

Scenario

Your team has developed a predictive algorithm for cardiac event risk using structured EHR data. You must prepare a complete technical documentation package for a Notified Body audit.

How to Execute
1. Document the entire data pipeline: provenance of training/validation data, pre-processing steps, and the Data Management Plan as a controlled document. 2. Create the AI/ML Model Card as an integral part of the design output, including validation results against a clinically relevant, held-out dataset. 3. Design and document the Verification & Validation (V&V) test protocols specifically for the model (e.g., performance metrics across subpopulations, robustness testing with edge cases). 4. Build a comprehensive requirements traceability matrix (RTM) that connects: User Needs -> System/Software Requirements -> Data & Model Specifications -> V&V Test Cases -> Risk Controls -> Residual Risk.
Advanced
Case Study/Exercise

Regulatory Submission Strategy for an Adaptive AI System

Scenario

You are the head of regulatory affairs for a company marketing a Class IIb AI-powered analysis tool that uses continuous learning from deployed sites to improve its algorithms. The regulatory authority is requesting a pre-submission meeting.

How to Execute
1. Draft a documentation strategy that explicitly defines the 'change protocol' for model updates, aligning with IEC 62304 maintenance clauses and the FDA's Predetermined Change Control Plan (PCCP) framework. 2. Define the post-market performance monitoring documentation requirements, including metrics, thresholds for re-training, and the validation report template for updated models. 3. Prepare a presentation that justifies the system's architecture and documentation controls as sufficient for managing the risks of adaptive behavior. 4. Simulate the Q&A session, focusing on defending your traceability strategy for a system that is not static.

Tools & Frameworks

Software & Platforms (for Document Control & Traceability)

Polarion (Siemens)Jama ConnectIBM DOORS NextAzure DevOps (with Requirements Extension)

These are Requirements Management (RM) and Application Lifecycle Management (ALM) tools essential for creating and maintaining the traceability matrices mandated by IEC 62304. They provide audit trails, version control for requirements, and live traceability views, which are critical for regulatory submissions and audits.

AI/ML-Specific Documentation Frameworks

Model Cards (Mitchell et al.)Datasheets for Datasets (Gebru et al.)FDA's PCCP FrameworkEMA's Reflection Paper on AI

These are not software but essential intellectual frameworks. Model Cards and Datasheets provide a structured way to document AI-specific artifacts (model, data) that can be directly mapped into the IEC 62304 SDF. Regulatory frameworks like the PCCP provide the strategic blueprint for documenting adaptive/continuously learning systems.

Interview Questions

Answer Strategy

The interviewer is testing your ability to connect a real-world operational problem back to the standard's maintenance and problem resolution clauses. Strategy: Frame the issue as a 'problem report' per clause 6.1, then trace it through impact analysis (on architecture, requirements, risk), culminating in documented changes to the SDF/SMF, re-verification evidence, and an updated risk management file. Sample Answer: 'First, I'd document this as a formal problem report. Next, I'd trigger an impact analysis to assess if this affects software classification or existing risk controls. This would lead to a documented change request for the ML model's requirements, specifically its performance validation criteria for that population. All subsequent re-training data, re-validation test results, and updated risk analysis would be captured in the SDF, with full traceability maintained in our ALM tool to the original requirement and the new problem report.'

Answer Strategy

This tests your understanding of SOUP/OTS management and the principle of documented risk-based decisions. Strategy: Explain that the pre-trained model is treated as SOUP. The key is documenting the *known* information (version, license, intended function) and performing a documented risk assessment of the *unknown* aspects (training data, inherent biases, failure modes). This assessment must then feed into the system's verification and risk controls. Sample Answer: 'We classify the pre-trained model as Software of Unknown Provenance. Our documentation must include its origin, version, and license. Critically, we perform and document a risk assessment based on its intended use and our own validation testing against our specific dataset and clinical environment. This assessment justifies its use and defines the necessary verification activities (e.g., bias testing, performance validation) whose results become part of our design history file.'

Careers That Require Software documentation per IEC 62304 and IEC 82304-1 for AI/ML components

1 career found