A former birthing unit in Walsall is set to become six apartments.