Electronic medical records have been around decades. Their power to help other patients is starting to be unleashed.