True to Doyle’s original story, Sherlock and Watson first meet at St. Bart’s. The original hospital (exterior!) was used for the series (now that’s a nice change, usually, it is something completely different). Interiors were filmed in Cardiff.
The oldest standing hospital in the UK can be found at West Smithfield near Giltspur and was used not only for the pilot but for later episodes as well.