A Health and Human Services official is making waves for his scathing resignation letter, calling the federal government “profoundly dysfunctional.”

David Wright, now the former head of the Office of Research Integrity (ORI), wrote that he was "offended as an American taxpayer" over the workings of the department. The ORI is responsible for monitoring misconduct in biomedical research.

Here's more from the letter, which was published by Science Insider.

This has been at once the best and worst job I’ve ever had.  The best part of it has been the opportunity to lead ORI intellectually and professionally in helping research institutions better handle allegations of research misconduct, provide in-service training for institutional Research Integrity Officers (RIOs), and develop programming to promote the Responsible Conduct of Research (RCR).  Working with members of the research community, particularly RIOs, and the brilliant scientist-investigators in ORI has been one of the great pleasures of my long career.  Unfortunately, and to my great surprise, it turned out to be only about 35% of the job.

The rest of my role as ORI Director has been the very worst job I have ever had and it occupies up to 65% of my time.  That part of the job is spent navigating the remarkably dysfunctional HHS bureaucracy to secure resources and, yes, get permission for ORI to serve the research community.  I knew coming into this job about the bureaucratic limitations of the federal government, but I had no idea how stifling it would be. What I was able to do in a day or two as an academic administrator takes weeks or months in the federal government, our precinct of which is OASH.

Bill Hemmer got some reaction from Stuart Varney, who described the harsh letter as "devastating" for the government agency that is tasked with running ObamaCare. Varney pointed to a part of the letter where Wright complains that he needed to fill a position, but was unable to for 16 months.

Wright states that he was told of a "secret priority" list of candidates for the opening. He also wrote that he kept a daily log of his two years on the job and will be making it public.

"It will be a minefield for ObamaCare and the administration," said Varney.

Watch the discussion above, and for more from Stuart, check out Varney & Co, weekdays at 11a ET on Fox Business Network.

The latest ObamaCare developments on Fox News:

More Americans Turning to Christian Alternative to ObamaCare

Krauthammer: No Way for Dems to Run Away From ObamaCare in Midterms

WATCH: Obama Turns to Zach Galifianakis in Push to Sell ObamaCare

Pastor Hit By Truck Becomes ObamaCare Victim