Microsoft is quickly expanding its footprint in medicine. The company has filed dozens of patents in recent years related to health care innovations. It is working in medical imaging, cloud storage, telehealth, and remote patient monitoring — and applying artificial intelligence to all of the above.