A judge ruled doctors can refuse to see patients who are transgender or had an abortion

A federal judge in Texas on Saturday issued a nationwide law that would allow doctors to refuse to see transgender patients and women who have had abortions with "religious freedom" as the reason, which dismantles the part of the ACA that makes healthcare safe and accessible for everyone, according to the Associated Press.

This means doctors can deny treating a patient if he or she says they don't agree with abortions because of their religion, or don't recognize transgender identities because of their religion.

US District Judge Reed O'Connor said the Department of Health and Human Services lacked a basis for interpreting Obamacare’s prohibition against "sex" discrimination to apply to other characteristics, including "gender identity" and "termination of pregnancy."

"Plaintiffs will be forced to either violate their religious beliefs or maintain their current policies which seem to be in direct conflict with the Rule and risk the severe consequences of enforcement," O'Connor wrote in his 46-page ruling, according to the Associated Press.