A man in California left his routine checkup with a "chronic homosexual behavior" diagnosis, Sky News reported.

Matthew Moore, 45, received his "results" after visiting Torrance Memorial Physician Network in Manhattan Beach.

""When I saw that on my diagnosis I felt like...not just me, but we all took a few steps back," Moore told WRC TV. "When I looked up the code '302.0'...it's sexual deviancy or mental illness even...that code has been removed or suggested heavily not to be used since 1973."

After he confronted the physician, the doctor reportedly told Moore that homosexuality is "still up for debate" as it is "still thought of as a disease." As an openly gay man, Moore didn't mind notifying the doctor of his sexuality until she labeled it as a sickness.

"Government tells us, often times, that we're not equal, many churches tell us that we're sinners, and now here's a medical professional telling us that we're sick," Moore said.

After his experience with the doctor, Moore wrote a letter to the medical facility's administration. They responded with a written apology.

"We fully appreciate your frustration and anger related to your experience and are committed to ensuring that such events are not repeated," the letter said. "We would like to unequivocally state that the Torrance Memorial Physician Network does not view homosexuality as a disease or a chronic condition and we do not endorse or approve of the use of the Code 302.0 as a diagnosis for homosexuality."

The Torrance Memorial Physician Network also reimbursed Moore's $30 copay.

Moore does not plan on filing a lawsuit but was inspiring to share his story so others don't feel afraid to speak up if put in a similar situation.

"If I was a 14-year-old in a small town in Indiana, where I'm from, and I had a doctor tell me or my parents that I was sick because they thought I was gay, it would've been very damaging," he said.