But if you're looking for jobs where your likelihood of being outsourced is negligible, look for the ones that are hardest for machines to do. These, by the way, aren't necessarily those at the top of the knowledge spectrum. Doctors as a profession, for example, will eventually fall to machine learning systems like Watson, and medical school will become more a technician's school than anything else. Nurses, however, perform a wide variety of functions that are difficult to automate safely, nor can they be offshored. Its difficult to outsource sticking a needle in someone.
Last thing: I'd argue with the idea that web development is commoditized. At the lower end of the spectrum, sure—tons of wordpress themes out there, its easy to offshore something like that, basic development provided by good software. But higher up the food chain, where you're at the end of the market where you actually DO stuff like write original javascript, or develop some new server platform, or whatever it is on that end of the spectrum—those jobs aren't going anywhere for awhile.