Inpatient care is the healthcare that you get when you are admitted to a hospital (or in some cases, a skilled nursing facility).

Services for Inpatient care in a hospital include semi-private rooms, meals, general nursing, inpatient medications, and other hospital services and supplies. Inpatient care in a certified skilled nursing facility can be covered but must be deemed medically necessary (and not purely custodial).

Medicare Part A provides care in acute care hospitals, critical access hospitals, inpatient rehabilitation facilities, and long-term care hospitals. Additionally, inpatient care as part of a qualifying clinical research study and inpatient mental health care given in a psychiatric hospital or other hospital are both included.

References

https://www.medicare.gov/coverage/inpatient-hospital-care
https://www.medicare.gov/what-medicare-covers/what-part-a-covers
https://www.cms.gov/apps/glossary/default.asp?Letter=I&Language=English