Factors affecting health care costs