A federal government program that assists older and some disabled people in paying their medical costs. the program is divided into three parts. part a is called hospital insurance and covers most of the costs of a stay in the hospital, as well as some follow-up costs after time in the hospital. part b, medical insurance, pays some of the cost of doctors and outpatient medical care. part d pays for some of the cost for prescription medicine.