first(); if (!$healthData) { return response()->json(['error' => 'Health data not found'], 404); } return response()->json($healthData); } }