A medical practice has purchased a nearly 9,000-square-foot office building in Union Township for $1.625 million, according to a broker with Newmark Associates CRE.