MidCap Financial has closed a $31 million transaction with LifeHouse Health Services.

The loan refinanced the existing first mortgage and working capital loans secured by a first mortgage across five properties. It also gave acquisition financing for LifeHouse to potentially purchase of of the facilities, the company said. The five facilities are in the San Francisco and Los Angeles areas, with a total of 768 skilled nursing beds.