Abstract
Background Echocardiography (echo) notes contain valuable prognostic information for patients in the intensive care unit (ICU). However, their unstructured format and the presence of sensitive patient information present challenges for large-scale, automated analysis. There is a need for secure and efficient methods to extract and utilize echo data to enhance ICU outcome prediction.
Methods We developed an AI-powered, privacy-preserving pipeline that leverages advanced natural language processing and pattern matching to annotate echo notes locally, ensuring comprehensive masking of personally identifiable information. This pipeline was applied to patient data from a mixed medical surgical ICU in a tertiary referral hospital. Key variables were extracted from echo notes and integrated with clinical and laboratory data to predict ICU mortality. A LightGBM machine learning model—robust to missing values—was trained using both routine and echo-derived structured clinical features. Its predictive performance was compared to that of the APACHE IV score.
Results Compared with the reference standard derived from manual annotation by echocardiography specialist, automated annotation of echo notes achieved 98.85% data accuracy with a false positive rate of 0.31%. Several echo-derived variables, including left ventricular ejection fraction (LVEF), left ventricular outflow tract velocity time integral (LVOT VTI), tricuspid annular plane systolic excursion (TAPSE), mitral regurgitation (MR), and aortic regurgitation (AR), were strongly associated with ICU mortality. Incorporating echo-derived variables improved the accuracy in prediction of ICU mortality, with the LightGBM model achieving an AUC of 0.902 compared to 0.861 for APACHE IV score.
Conclusion Our locally deployable AI pipeline enables secure and automated extraction of prognostic information from echo notes, substantially enhancing ICU mortality prediction. The inclusion of echo-derived variables significantly improved predictive accuracy, underscoring the potential but currently underutilized value of unstructured notes. This approach paves the way for scalable, privacy-preserving decision support tools in critical care.
Competing Interest Statement
The authors have declared no competing interest.
Funding Statement
This study did not receive any funding
Author Declarations
I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
The details of the IRB/oversight body that provided approval or exemption for the research described are given below:
This study was approved by the Institutional Review Board (IRB) of the University of Hong Kong /Hospital Authority Hong Kong West Cluster (IRB Reference Number: UW 24-434, dated 17th July 2024).
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.
Yes
Data Availability
All data produced in the present study are available upon reasonable request to the authors





