Contrary to popular intuition, surgical errors are not the basis for the majority of medical malpractice lawsuits, but in fact the leading causes of malpractice lawsuits are diagnostic issues. There are several diagnostic issues such as misdiagnosis, delayed diagnosis, or failure to diagnose. Diagnosis is key to knowing which treatment or procedure a patient needs, and so when there is a failure to accurately diagnose a patient, death commonly results. There are generally three types of problems with diagnosis and each can result in severe injury and/or death. Misdiagnosis occurs when a doctor diagnoses the patient with the wrong disease. For example, a patient arrives in a hospital with gastric distress and is diagnosed with a stomach illness rather than a heart attack. Delayed diagnosis is when a doctor gets the right diagnosis, but due to some error or other event is not able to "catch" the disease in time. Finally, there is missed diagnosis. In cases of missed diagnosis, a patient is examined by a doctor and the doctor finds no serious problem. As a result, the patient leaves thinking there is nothing wrong but later finds that there was a latent illness that the doctor missed.