For most of the nation’s history, the federal government oversaw the care of the poorest and most ill citizens.