feat: Fortschritts-Tracker + Verifikation-Endpoints + Tech-File Erweiterung
- Übersicht: Completeness Gates durch Projektfortschritts-Tracker ersetzt (6 CE-Prozessschritte mit Status + Naechster-Schritt Empfehlung) - Verifikation: GET/POST/DELETE /verifications Endpoints + Alias-Handler - Tech-File: Anhang IV Struktur-Erweiterung - Maßnahmen: Expandable Details vorbereitet Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -35,19 +35,30 @@ func (h *IACEHandler) GenerateTechFile(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
// Define the standard CE technical file sections to generate
|
||||
// Define sections per EU Machinery Regulation 2023/1230 Annex IV structure.
|
||||
// Core Annex IV sections come first, then supplementary CE-Akte sections.
|
||||
sectionDefinitions := []struct {
|
||||
SectionType string
|
||||
Title string
|
||||
}{
|
||||
{"general_description", "General Description of the Machinery"},
|
||||
{"risk_assessment_report", "Risk Assessment Report"},
|
||||
{"hazard_log_combined", "Combined Hazard Log"},
|
||||
{"essential_requirements", "Essential Health and Safety Requirements"},
|
||||
{"design_specifications", "Design Specifications and Drawings"},
|
||||
{"test_reports", "Test Reports and Verification Results"},
|
||||
{"standards_applied", "Applied Harmonised Standards"},
|
||||
{"declaration_of_conformity", "EU Declaration of Conformity"},
|
||||
// Annex IV mandatory sections
|
||||
{"general_description", "Anhang IV.1 — Allgemeine Beschreibung der Maschine"},
|
||||
{"design_specifications", "Anhang IV.2 — Gesamtplan und Schaltplaene"},
|
||||
{"component_list", "Anhang IV.3 — Detailplaene und Komponentenliste"},
|
||||
{"risk_assessment_report", "Anhang IV.4 — Risikobeurteilung"},
|
||||
{"standards_applied", "Anhang IV.5 — Angewandte harmonisierte Normen"},
|
||||
{"test_reports", "Anhang IV.6 — Pruefberichte und Ergebnisse"},
|
||||
{"instructions_for_use", "Anhang IV.7 — Betriebsanleitung"},
|
||||
{"declaration_of_conformity", "Anhang IV.8 — EU-Konformitaetserklaerung"},
|
||||
{"assembly_declaration", "Anhang IV.9 — Einbauerklaerung (falls zutreffend)"},
|
||||
// Supplementary CE-Akte sections
|
||||
{"hazard_log_combined", "Gefaehrdungsprotokoll (Hazard Log)"},
|
||||
{"essential_requirements", "Grundlegende Anforderungen (EHSR)"},
|
||||
{"mitigation_report", "Massnahmenbericht (3-Stufen-Verfahren)"},
|
||||
{"verification_report", "Verifikationsbericht"},
|
||||
{"evidence_index", "Nachweisverzeichnis"},
|
||||
{"classification_report", "Regulatorischer Klassifizierungsbericht"},
|
||||
{"monitoring_plan", "Post-Market-Monitoring-Plan"},
|
||||
}
|
||||
|
||||
// Check if project has AI components for additional sections
|
||||
@@ -184,6 +195,7 @@ func (h *IACEHandler) GenerateSingleSection(c *gin.Context) {
|
||||
"evidence_index": "Evidence Index",
|
||||
"instructions_for_use": "Instructions for Use",
|
||||
"monitoring_plan": "Post-Market Monitoring Plan",
|
||||
"assembly_declaration": "Anhang IV.9 — Einbauerklaerung (falls zutreffend)",
|
||||
"ai_intended_purpose": "AI System Intended Purpose",
|
||||
"ai_model_description": "AI Model Description and Training Data",
|
||||
"ai_risk_management": "AI Risk Management System",
|
||||
|
||||
Reference in New Issue
Block a user