High-level safety function and system architecture design based on HARA to define the foundational safety framework.