'use client'; import { taxonomy } from '@/lib/taxonomy/data'; const LAYER_COLORS = { conditions: { bg: 'bg-yellow-500/10', border: 'border-yellow-500/30', text: 'text-yellow-400', badge: 'bg-yellow-500/20 text-yellow-300', }, management: { bg: 'bg-blue-500/10', border: 'border-blue-500/30', text: 'text-blue-400', badge: 'bg-blue-500/20 text-blue-300', }, systemic: { bg: 'bg-purple-500/10', border: 'border-purple-500/30', text: 'text-purple-400', badge: 'bg-purple-500/20 text-purple-300', }, }; const LAYER_TITLES = { conditions: 'Conditions', management: 'Management', systemic: 'Systemic', }; const LAYER_DESCRIPTIONS = { conditions: 'What allowed the experience to happen?', management: 'What decisions allowed enabling conditions?', systemic: 'Why does the organization create these conditions?', }; export default function CausalCodesSection() { const layers = ['conditions', 'management', 'systemic'] as const; return (
Three-layer root cause analysis framework with 16 codes
{LAYER_DESCRIPTIONS[layerKey]}
{/* Codes list */}{code.definition}
Causal codes are used for root cause analysis in URT-Full profile. Start with Conditions (immediate factors), trace to Management (decisions that enabled conditions), and finally to Systemic (organizational factors that created the management decisions).