Tennessee Gov. Bill Haslam has signed legislation that allows mental health counselors and therapists to refuse to treat patients based on religious objections or personal beliefs.

Critics of the law say it could result in discrimination against lesbian, gay, bisexual and transgender people. As Nashville Public Radio reported earlier this month:

"A group representing gay and lesbian Tennesseans [asked Haslam] to veto the legislation. ..."The Tennessee Equality Project, an LGBT advocacy group, says the measure will make it harder for gays and lesbians to find counseling — particularly in rural parts of the state where religiously conservative therapists are common."

Haslam, however, said in a statement that he decided to sign the bill because it addressed two of his concerns. He said:

"First, the bill clearly states that it 'shall not apply to a counselor or therapist when an individual seeking or undergoing counseling is in imminent danger of harming themselves or others.' Secondly, the bill requires that any counselor or therapist who feels they cannot serve a client due to the counselor's sincerely held principles must coordinate a referral of the client to another counselor or therapist who will provide the counseling or therapy."

According to The Associated Press, the American Counseling Association "called the legislation an 'unprecedented attack' on the counseling profession and said Tennessee was the only state to ever pass such a law."

As NPR reported last week, the law is "part of a widespread reaction to the national focus on same-sex marriage and transgender rights."

Copyright 2016 NPR. To see more, visit http://www.npr.org/.