A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to implement a repetitive portion identification and weighting engine, wherein the computer readable program causes the computing device to:
- train a machine learning model for weighting repetitive portions of patient electronic medical records (EMRs)), wherein training the machine learning model comprises training the machine learning model based on training keyword features and training weights, to output weights for repetitive portions of patient EMRs, wherein the weights for repetitive portions indicate a relevance of corresponding repetitive portions;
- apply, by a repetitive portion identification component executing within the repetitive portion identification and weighting engine, a plurality of templates to clinical notes of a patient EMR to identify one or more candidate portions that match at least one of the plurality of templates;
- perform, by a content analysis component executing within the repetitive portion identification and weighting engine, content analysis on the one or more candidate portions to determine whether each given candidate portion is relevant;
- assign, by a weighting component executing within the repetitive portion identification and weighting engine, a relative weight to each given candidate portion based on relevance using the trained machine learning model;
- generate, by a cognitive summary graphical user interface (GUI) generation component executing within the repetitive portion identification and weighting engine, a cognitive summary reflecting at least a subset of the one or more candidate portions of the patient EMR;
- and
- output the cognitive summary in a GUI to a user.