Why would a nursing home case go to court?

Why would a nursing home case go to court?