Better planning could save millions in health care costs