Medical malpractice in the U.S.

How serious is the issue of medical malpractice in the United States today? What are the intended purposes of medical malpractice? Does the threat of a lawsuit accomplish these purposes?