rewrite this text to remove grammatical problems:
The aged have to acknowledge that community hospitals are recommended for rehabilitation while the general hospitals are meant for acute problems.
The aged have to acknowledge that community hospitals are recommended for rehabilitation while general hospitals are meant for acute problems.