Ellen G. McDaniel, 71, a forensic psychiatrist who became associate dean for admissions at the University of Maryland’s medical school in Baltimore, died Jan. 3 at her home in the Howard County community of Highland. She had lung cancer.

Her husband, John P. McDaniel, confirmed the death.

Dr. McDaniel, who served on professional panels and task forces in Maryland, joined the medical school faculty in 1970 and became associate dean in 1982. After her full-time academic career ended around 1990, she opened a private practice in Towson, Md. Throughout her career, she was an expert witness in forensic psychiatry in legal cases and also conducted patient evaluations for competency to stand trial.

Ellen Rachel Garb was a Cleveland native and attended Carnegie Mellon University in Pittsburgh before graduating in 1966 from the University of Michigan’s medical school. She completed her psychiatric residency at what is now the University of Maryland Medical Center in Baltimore. She was a graduate of the Baltimore Washington Institute for Psychoanalysis in the District.

Dr. McDaniel was a past president of the Maryland Psychiatric Society and a regional chapter of the American Academy of Psychiatry and the Law. In addition to her faculty role at the University of Maryland, she had academic appointments at the George Washington University and the Georgetown University medical schools. She published and lectured widely.

Dr. McDaniel was a past board member of the old Maryland Ballet in Baltimore and the Lab School of Washington. More recently, she was a founding board member of the Baltimore Lab School.

Survivors include her husband of 47 years, John P. McDaniel of Highland; two children, Celia “Lorrie” Clendenin of Bethesda and Michael McDaniel of Baltimore; a brother; two sisters; and three grandchildren.

— Adam Bernstein