What does "inpatient" mean?

Inpatient: A patient who receives lodging and food, as well as treatment, in a hospital or an infirmary; -- distinguished from outpatient.

Sources