How does an attorney make the decision to take a nursing home case?

How does an attorney make the decision to take a nursing home case?