The Composition of Medicare Spending over Time
Over the past 50 years, the share of Medicare spending on hospital expenses has declined the most while the share spent on prescription drugs has increased the most
https://www.pgpf.org/chart-archive/0089_composition_medicare_payments