20 percent of patients with serious conditions are first misdiagnosed, study says