While this is an excellent description of Dr. Hart's important contributions to medicine, and I certainly don't want to minimize the difficulties he faced as a trans man practicing medicine (the story about his being outed and forced to lease his hospital position as a result in 1918 is, of course, entirely true), I do want to jump in and say that his safety did not necessarily "always" prove fleeting!
While it's true that Hart was publicly outed once and moved all over the country for a while, by the time he died, he had served as the director of hospitalization and rehabilitation for the Connecticut State Tuberculosis Commission for over a decade. Nor was he exclusively hounded or excluded from society at home in Oregon, either -- there are regular mentions of him (under his chosen, male name, or occasionally simply as an "Albany man") and his second wife in his hometown newspaper, The Albany Democrat, throughout the 20s and 30s, reporting when they were in town for social visits, promoting his novels, and even reporting on his graduating from the University of Pennsylvania with his graduate degree. Nor does it seem most people saw him as a woman pretending to be a man for most of his life, despite the press his 1918 outing received -- a reviewer of one of his novels even once remarked that Dr. Hart, while a good writer, didn't seem to know much about women! (Having read a bit of Hart's fiction, I don't think this is true, but to each their own, I suppose)
I mention this because I think it's important to emphasize that trans people -- even trans people who have experienced dramatic setbacks in their lives, like Dr. Hart's 1918 outing -- have not only always existed, but always persisted through trouble and often managed to live very fulfilling lives that were not exclusively marred by transphobia. Nor did everyone around them feel that they were simply "posing" as their gender. Even in 1918, people in Hart's hometown expressed disgust at the way the press way treating the story, and the local newspaper did an exceptionally sympathetic interview with him that allowed him to express his own feelings on the situation and affirm that transitioning was the best choice he could have made! In fact, he was very clear he was not ashamed of his choices, saying:
In a time where transphobia is painfully on the rise, and a lot of trans people are fearing for their safety and livelihoods, it feels worth emphasizing that there has never been a time in history where we were exclusively hounded, or hated, and that bouncing back from traumas like forced outings was and is still possible. Dr. Alan Hart dedicated his first novel to his mother, who spoke out in his defense after he was outed. His second wife established a medical research fund in his honor after he died. Despite setbacks, he was ultimately successful in his field, and clearly very loved. And that's important.