John Shontz Petrie, 84, a retired examiner and attorney in the U.S. Patent Office and a former missionary in Egypt, died at Fairfax Hospital Friday of head injuries he sustained two days earlier at the Leewood nursing home in Annandale.

He had lived in Arlington for 50 years before moving to the Leewood facility about three months ago.

A native of Conneaut Lake, Pa., Mr. Petrie grew up on a farm in Jamestown, Pa., and in Washington. He graduated from McKinley Technical High School here and was appointed an assistant examiner in the Patent Office in 1916.

He served in the Army in World War I. In 1920, he and his wife, the former Cleora Belle Herrington, moved to Cairo, Egypt, to work as missionaries of the United Presbyterian Church. Mr. Petrie was the treasurer of the mission.

In 1930, the family returned to the United States and settled in Arlington. Mr. Petrie resumed his career at the Patent Office and earned a degree from the old National University law school, now part of George Washington University. He also attended George Washington. He was an attorney in the Patent Office at the time of his retirement in 1966.

Mr. Petrie enjoyed exploring caves. He was a founding member of the National Speleological Society and its national secretary for many years. He also was a stamp collector.

He was a member of the Arlington Presbyterian Church.

In addition to his wife, of the Leewood nursing home, survivors include a son, William L. of Accokeek; three sisters, Mary P. Meyer and Edith P. Brown, both of Washington, and Helen P. Dunaev, of Hyattsville, and two grandchildren.

The family suggests that expressions of sympathy be in the form of contributions to the Arlington Presbyterian Church Memorial Fund, 3507 Columbia Pike, Arlington.