AtagaScan Patient Routing & Manifest Engine Running...

✅ Table `patients` created or verified successfully.
✅ Table `appointments_manifest` created or verified successfully.
✅ Table `appointment_room_routing` created or verified successfully.
❌ Database Operations Layer Initialization Fault: SQLSTATE[HY000]: General error: 1005 Can't create table `atagliax_erp`.`investigation_reports` (errno: 150 "Foreign key constraint is incorrectly formed")