Edna Hopkins Smith, 47, a program analyst with the Department of Health, Education, and Welfare since 1973, died of cancer Monday at George Washington University Hospital.

She was with the day care division in the Administration for Children, Youth and Families of the Office of Human Development Services.

Mrs Smith had joined the federal government in 1958 as a librarian with the Labor Department. She later was a librarian with the Justice Department. She first joined HEW in 1961, then transferred to the Office of Economic Opportunity four years later, where she was a staff assistant in research and also worked with the Community Action Program.

A native of Washington, Mrs. Smith was a graduate of Dunbar. High School and Howard University. She attended Columbia University, earned a master's degree in library science from Catholic University and studied at Georgetown University and Law School.

She was a consultant on establishing law libraries and was the coauthor of "D.C. Handbook for Lawyers." She also wrote publications for HEW and OEO.

Mrs. Smith was a member of the American Association of Law Libraries and the Law Librarians Society of Washington, D.C.

She is survived by her husband, Ralph H., and a daughter, Terrie, of the home in Washington; her mother, Lucille P. Hopkins, of Washington, and her father, Charles H. Hopkins, of Suitland.

The family suggests that expressions of sympathy be in the form of contributions to the D.C. division of the American Cancer Society. CAPTION: Picture, EDNA H. SMITH