Two excellent posts on the pitfalls and triumphs of researching fiction, from
tightropegirl:
How Research Leads to Nihilism (with spoilers for some recent House episodes and, to my delight, an old episode of Doctor Who), and
Research, Part Two a.k.a. The Three Big Cheats. It's long (especially the first part), but all of it is worth reading, whether you're a writer doing research, a professional or academic who likes to nitpick shows and books based on your field, or simply an interested viewer who sometimes wonders where scriptwriters get all this stuff.