It may seem counterintuitive to open a book on medical devices with chapters on software and data, but these are the frontiers of new medical device regulation and law. Physical devices are still crucial to medicine, but they - and medical practice as a whole - are embedded in and permeated by networks of software and caches of data. Those software systems are often mindbogglingly complex and l…