I think mostly it did but there are definitely things in it that we don't, and shouldn't, do any more. But I'm an old dude and I've seen a lot of mostly good change over time. Scrubs is just at one of the mileposts, and some of the boundaries it pushed helped us get here.
Sexism, homophobia, transphobia all very present and in no way addressed. It was very much a child of the times. Crazy how far we've come in such a short time.
You can write jokes about those topics without being those things you know? Sometimes the transphobic writing points out the absurdity of holding such a position.