Medicare Part A provides inpatient coverage, which pays for hospital-related costs. These costs include semi-private rooms, hospital meals, special care units, lab tests, x-rays, skilled nursing facility care, short-term nursing home care, hospice, and more. People who have paid into Medicare taxes for at least 40 quarters, or ten years, are eligible for premium-free Part A.