What is the purpose of the rehab department in a hospital