Nursing homes on the brink of budget disaster