Overview
The Incident Management system enables comprehensive tracking of quality, safety, machinery, and material incidents throughout the production floor. Integrated CAPA (Corrective and Preventive Action) workflows ensure structured root cause analysis and resolution.All incidents are logged with full audit trails and can be linked to specific work orders (OTs) and machines for traceability.
Incident Types
The system supports five incident categories:Maquinaria
Equipment breakdowns, unplanned stops, mechanical failures
Calidad
Quality defects, non-conformances, inspection failures
Seguridad
Safety violations, near-misses, workplace hazards
Material
Material discrepancies, inventory variances, supply issues
Incident Data Model
Fromquality.models.ts:15-30:
Incident Workflow
Status Progression
Priority Levels
- Alta (High)
- Media (Medium)
- Baja (Low)
Critical Impact
- Production line stoppage
- Safety hazards
- Major quality defects
- Immediate escalation required
CAPA Actions
Action Types
Fromquality.models.ts:6-13:
Correctiva (Corrective)
Immediate actions to fix the problem
- Equipment repairs
- Part replacements
- Emergency adjustments
Preventiva (Preventive)
Long-term actions to prevent recurrence
- Process improvements
- Training programs
- Preventive maintenance schedules
Example CAPA Workflow
Fromquality.service.ts:27-30:
Service Methods
Creating Incidents
Fromquality.service.ts:55-74:
Adding CAPA Actions
Fromquality.service.ts:82-100:
Closing Incidents
Fromquality.service.ts:113-117:
Department Assignments
Incidents can be assigned to the following departments:- Mantenimiento - Equipment and machinery issues
- Calidad - Quality control and inspection
- Producción - Process and production issues
- Almacén - Inventory and material management
- Seguridad - Safety and compliance
Validation Rules
Fromincidents.component.ts:390-449:
Before Creating Incident
Before Closing Incident
Filtering and Views
Active vs Closed
Fromquality.service.ts:52-53:
Integration Points
Work Orders
Link incidents to specific OTs via
otRef field for production traceabilityMachines
Reference specific equipment via
machineRef for maintenance trackingAudit Log
All incident actions logged via
AuditService with user, role, and timestampState Management
Incidents stored in
StateService for persistence across sessionsBest Practices
Root Cause Analysis
Root Cause Analysis
Always document the root cause before closing an incident. Use the 5 Whys method or fishbone diagrams to identify systemic issues rather than symptoms.
CAPA Balance
CAPA Balance
Include both Correctiva (immediate fix) and Preventiva (long-term solution) actions for high-priority incidents to prevent recurrence.
Timely Assignment
Timely Assignment
Assign incidents to the appropriate department immediately upon creation to ensure rapid response and accountability.
OT Linkage
OT Linkage
Always link incidents to work orders when applicable to enable production impact analysis and quality trend reporting.
Related Resources
Quality Tracking
Monitor tooling status and production quality metrics
Audit Logs
Review full incident history and compliance trails
