While filming season 3 of "How I Met Your Mother," Cobie Smulders, who played Robin, was diagnosed with ovarian cancer, requiring surgeries to remove tumors.