The document summarizes the work of Lars Juhl Jensen and others on medical network analysis and linking diseases and genes through data and text mining of electronic health records. It discusses how they have used Danish national health registries containing data on over 6 million patients and 119 million diagnoses over 14 years to study disease trajectories and comorbidities. It also describes how they have developed methods to integrate data from various sources to generate networks linking diseases and genes.