There are a few medical and technical advisors who give input to the show. To name some of them:
Dr. Lisa Sanders (medical technical advisor - 175 episodes)
From an interview with Med Gadget:
Medgadget: How did you start writing for the NYT and advising for
Sanders: My husband, who is a writer, is incredibly social and often
hosts dinner parties at our home. Since we both came from a background
in journalism, a large proportion of our friends are not physicians. I
found myself explaining the most fascinating cases to our guests, and
having to craft the narrative so they understood how cool the
profession is. One of the guests at these gatherings, a brilliant
writer, was particularly interested in these cases and happened to be
an editor for the New York Times. He asked whether the stories I was
discussing could be turned into a regular column, which is how my
“Think Like A Doctor” column came to be.
“House M.D.” was in-part based on my column, so it was natural to
become an adviser to the show. Both opportunities arose not by design,
but rather by doing what I loved. That’s advice I regularly give to my
Dr. David Foster (technical consultant - 21 episodes, 2004 - 2005)
A 40-year-old Harvard-trained general internist and clinical
instructor of medicine at Harvard Medical School, Foster is not
treating Hollywood actors. He is putting words in their mouths --
words that resonate with authority and realism.
Foster wangled a job as writer and medical consultant for the hit Fox
network TV show "House" by impressing the show's producers with his
Harvard Medical School education and his work in the trenches at Beth
Israel Hospital and the Harvard School of Public Health.
Bobbin Bergstrom (medical advisor - 169 episodes, 2004 - 2012, on-set medical advisor - 42 episodes, 2004 - 2006)
A nurse who is the on-set medical advisor (and who appears in many episodes as a nurse).
Harley Liker (medical technical advisor - 175 episodes)
An internist, on the faculty of David Geffen School of Medicine at UCLA, is a consultant for the show.
Michael Giordano (medical technical advisor - 18 episodes)
He can be seen on the IMDB crew page here.
Ultimately, if you look at the closing credits of the show, all the medical advisors for that series are listed:
For example, from 24 seconds into this clip of Season 1's end credits, I took the following still:
Or, from 19 seconds into this clip of Season 4's end credits, I took the following still: