Before I retired, I contracted a lot. Usually on 6 month assignments I only mentioned it for doctor appointments. If I didn't come into work, I just didn't get paid.
Last job as my disease got worse, I was honest up front. I usually used all my vacation time on either doctors appointments or days I couldn't function because of PSA.
I've run into actual workplace discrimination but the whole lawyer karma thing isn't worth it. Had a supervisor I told one day I couldn't finish the work day and she ran to manager who's office was outside of my cubicle to tell him I was leaving because of my PSA 'wink-wink.' Actual words.
I found in a few jobs things were said in reviews that would shock you and you get to a point where you do your best to educate. In some cases, if job was going nowhere and I was running into management pushback about my disease, I simply started looking for a new job. At the end of my career, I primarily contracted with no benefits relying on my spouses health benefits.
I should note, I always did my best to make up time and I often worked 45-60 hours a week on average to make up for days I had to offset the occasional day I had to leave early or call in sick. But with commute times that wore me down faster.
I do suspect that some jobs I got caught in layoffs the disease issues were issues in the decision making process but proof is hard to validate. Along the way shortly before layoffs, there were comments about going to the doctor a lot or bosses asking how you were feeling with very disingenuous vocal tones.
These issues are real but I don't know how you fix the workplace and each of us has a different work life depending on what we do. I certainly have a lot of respect to PSA patients that have more physically demanding jobs like electrician or some kind of manufacturing/shop work. That must be difficult dealing with joint pain.