Kaiser avoids Medicare funding loss