The medical license of a Waterville physician specializing in cardiology has been suspended because of allegations he wrote and then tried to fill a prescription in the name of another person.

Donald B. Shea agreed that the Maine Board of Licensure in Medicine could conclude the health and safety of the public is in jeopardy based on the allegation, according to a news release Thursday from the board. The Maine Board of Licensure in Medicine and the Office of the Maine Attorney General entered into an interim consent agreement with Shea on Tuesday, according to the release.

Shea practiced in Waterville and specialized in cardiovascular disease.

Under the agreement with the board, Shea cannot practice medicine in Maine and no further action will be taken by the board until at least September, according to the release.