AUGUSTA, Maine — A federal judge has ruled that an age and disability discrimination lawsuit brought by a longtime employee of an Augusta hospital can go forward.

John Wyman, 61, of West Gardiner sued MaineGeneral Medical Center in 2010 saying he was denied a job in the hospital’s reorganized information technology division following treatment for cancer, while a man in his early 20s was hired in his place.

Wyman had worked at the hospital for 20 years.

The Kennebec Journal reports a judge ruled that Wyman had raised legitimate concerns over whether he had comparable or better skills than the person who replaced him.

Wyman is seeking back reimbursement for lost pay, health insurance and disability insurance, among other damages.

A hospital spokeswoman refused comment.

The trial is set for August.