Any hospital which is in operation at the time of adoption of any applicable regulation or standard adopted under this chapter shall be given by the Department a reasonable time, not exceeding 5 years, within which to comply with such regulations and standards.