During your stay in a hospital, computer systems are collecting and analyzing all sorts of data about you. In the background of all the beeping and gadgetry, an electronic medical record contains thousands of bits of information about your medical history, vital signs and laboratory results.