Pennsylvania Democratic Rep. Brendan Boyle is unveiling legislation on Tuesday that would require presidential candidates to have a medical exam and publicly disclose the results before the general election.

The measure would require each political party to file a Federal Election Commission report certifying that their nominee "has undergone medical examination by the medical office under the jurisdiction of the Secretary of the Navy."

"Before voting for the highest office in the land, Americans have a right to know whether an individual has the physical and mental fitness to serve as President of the United States," Boyle said in a statement.

"While it is necessary to take the current President's concerning behavior seriously and I support legislation to address these ongoing concerns, I believe we must also be proactive and do all we can to ensure a situation like this does not arise again," the Pennsylvania congressman added.

The new legislation comes just days after Trump called himself a "very stable genius" on Twitter following the release of Michael Wolff's book Fire and Fury: Inside the Trump White House, which raised questions about the president's mental fitness for office.

"Actually, throughout my life, my two greatest assets have been mental stability and being, like, really smart. Crooked Hillary Clinton also played these cards very hard and, as everyone knows, went down in flames. I went from VERY successful businessman, to top T.V. Star ... to President of the United States (on my first try). I think that would qualify as not smart, but genius .... and a very stable genius at that!" Trump tweeted Saturday.

Boyle disagrees with Trump's assessment of his intellect and mental health.

"The President believes he is a 'stable genius.' I do not," Boyle said.

The Stable Genius Act is actually an acronym for the Standardizing Testing and Accountability Before Large Elections Giving Electors Necessary Information for Unobstructed Selection Act.

Trump is scheduled to undergo his first physical exam since taking office on Jan. 12 and the results will be read to the public by Dr. Ronny Jackson.

A routine medical exam, similar to the one Trump is facing, tends to focus more on a general assessment of a person's physical well-being. Using a questionnaire from a primary care provider, assessments of memory, function, depression, and anxiety are typically made for people over age 65. However, it is unclear whether these assessments will be included in Trump's physical, and if they are, whether they will be made public as the president must consent to which medical information obtained is made public.

Past presidents have chosen to omit information, whether about the physical itself or about past medical history.