Some diseases, such as silicosis, cause an obstructive pattern in the early stages of the disease and a restrictive pattern .