João Pedro Lima Afonso

Dr. João Pedro Lima Afonso


Research Focus & Metrics

Academic Career Length

6Years (2021-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
17 January 2022 in Medical & Biological Engineering & Computing
Verified
Journal Article
Closed access
PDF file
JAJoão Pedro Lima Afonso
João Pedro Lima Afonso
MSMiguel Mascarenhas Saraiva
Miguel Mascarenhas Saraiva
JFJ. P. S. Ferreira
J. P. S. Ferreira
HCHélder Cardoso
Hélder Cardoso
TRTiago Ribeiro
Tiago Ribeiro
GMGuilherme Macedo
Guilherme Macedo

24 August 2022 in Diagnostics
Verified
Journal Article
Open access
PDF file
FVFilipe Vilas-Boas
Filipe Vilas-Boas
TRTiago Ribeiro
Tiago Ribeiro
JAJoão Pedro Lima Afonso
João Pedro Lima Afonso
HCHélder Cardoso
Hélder Cardoso
SLSusana Lopes
Susana Lopes
Guilherme MacedoGuilherme Macedo
Guilherme Macedo
Endoscopic ultrasound (EUS) morphology can aid in the discrimination between mucinous and non-mucinous pancreatic cystic lesions (PCLs) but has several limitations that can be overcome by artificial intelligence. We developed a convolutional neural network (CNN) algorithm for the automatic diagnosis of mucinous PCLs. Images retrieved from videos of EUS examinations for PCL characterization were used for the development, training, and validation of a CNN for mucinous cyst diagnosis. The performance of the CNN was measured calculating the area under the receiving operator characteristic curve (AUC), sensitivity, specificity, and positive and negative predictive values. A total of 5505 images from 28 pancreatic cysts were used (3725 from mucinous lesions and 1780 from non-mucinous cysts). The model had an overall accuracy of 98.5%, sensitivity of 98.3%, specificity of 98.9% and AUC of 1. The image processing speed of the CNN was 7.2 ms per frame. We developed a deep learning algorithm that differentiated mucinous and non-mucinous cysts with high accuracy. The present CNN may constitute an important tool to help risk stratify PCLs.

16 January 2025 in Journal of Clinical Medicine
Verified
Journal Article
Open access
PDF file
Miguel Mascarenhas SaraivaMiguel Mascarenhas Saraiva
Miguel Mascarenhas Saraiva
FMFrancisco Mendes
Francisco Mendes
MMMiguel Martins
Miguel Martins
TRTiago Ribeiro
Tiago Ribeiro
JAJoão Pedro Lima Afonso
João Pedro Lima Afonso
Guilherme MacedoGuilherme Macedo
Guilherme Macedo
An important impediment to the incorporation of artificial intelligence-based tools into healthcare is their association with so-called black box medicine, a concept arising due to their complexity and the difficulties in understanding how they reach a decision. This situation may compromise the clinician’s trust in these tools, should any errors occur, and the inability to explain how decisions are reached may affect their relationship with patients. Explainable AI (XAI) aims to overcome this limitation by facilitating a better understanding of how AI models reach their conclusions for users, thereby enhancing trust in the decisions reached. This review first defined the concepts underlying XAI, establishing the tools available and how they can benefit digestive healthcare. Examples of the application of XAI in digestive healthcare were provided, and potential future uses were proposed. In addition, aspects of the regulatory frameworks that must be established and the ethical concerns that must be borne in mind during the development of these tools were discussed. Finally, we considered the challenges that this technology faces to ensure that optimal benefits are reaped, highlighting the need for more research into the use of XAI in this field.

1 October 2023 in Cancers
Verified
Journal Article
Open access
PDF file
Miguel Mascarenhas SaraivaMiguel Mascarenhas Saraiva
Miguel Mascarenhas Saraiva
TRTiago Ribeiro
Tiago Ribeiro
MRMariano Gonzalez-Haba Ruiz
Mariano Gonzalez-Haba Ruiz
BCBelen Agudo Castillo
Belen Agudo Castillo
JFJoão P. S. Ferreira
João P. S. Ferreira
Guilherme MacedoGuilherme Macedo
Guilherme Macedo
Digital single-operator cholangioscopy (D-SOC) has enhanced the ability to diagnose indeterminate biliary strictures (BSs). Pilot studies using artificial intelligence (AI) models in D-SOC demonstrated promising results. Our group aimed to develop a convolutional neural network (CNN) for the identification and morphological characterization of malignant BSs in D-SOC. A total of 84,994 images from 129 D-SOC exams in two centers (Portugal and Spain) were used for developing the CNN. Each image was categorized as either a normal/benign finding or as malignant lesion (the latter dependent on histopathological results). Additionally, the CNN was evaluated for the detection of morphologic features, including tumor vessels and papillary projections. The complete dataset was divided into training and validation datasets. The model was evaluated through its sensitivity, specificity, positive and negative predictive values, accuracy and area under the receiver-operating characteristic and precision-recall curves (AUROC and AUPRC, respectively). The model achieved a 82.9% overall accuracy, 83.5% sensitivity and 82.4% specificity, with an AUROC and AUPRC of 0.92 and 0.93, respectively. The developed CNN successfully distinguished benign findings from malignant BSs. The development and application of AI tools to D-SOC has the potential to significantly augment the diagnostic yield of this exam for identifying malignant strictures.

23 September 2024 in Diagnostics
Verified
Journal Article
Open access
PDF file
Miguel Mascarenhas SaraivaMiguel Mascarenhas Saraiva
Miguel Mascarenhas Saraiva
MMMiguel Martins
Miguel Martins
TRTiago Ribeiro
Tiago Ribeiro
JAJoão Pedro Lima Afonso
João Pedro Lima Afonso
PCPedro Cardoso
Pedro Cardoso
Guilherme MacedoGuilherme Macedo
Guilherme Macedo
The growing integration of software in healthcare, particularly the rise of standalone software as a medical device (SaMD), is transforming digestive medicine, a field heavily reliant on medical imaging for both diagnosis and therapeutic interventions. This narrative review aims to explore the impact of SaMD on digestive healthcare, focusing on the evolution of these tools and their regulatory and ethical challenges. Our analysis highlights the exponential growth of SaMD in digestive healthcare, driven by the need for precise diagnostic tools and personalized treatment strategies. This rapid advancement, however, necessitates the parallel development of a robust regulatory framework to ensure SaMDs are transparent and deliver universal clinical benefits without the introduction of bias or harm. In addition, the discussion highlights the importance of adherence to the FAIR principles for data management—findability, accessibility, interoperability, and reusability. However, enhanced accessibility and interoperability require rigorous protocols to ensure compliance with data protection guidelines and adequate data security, both of which are crucial for effective integration of SaMDs into clinical workflows. In conclusion, while SaMDs hold significant promise for improving patients’ outcomes in digestive medicine, their successful integration into clinical workflow depends on rigorous data protection protocols and clinical validation. Future directions include the need for adequate clinical and real-world studies to demonstrate that these devices are safe and well-suited to healthcare settings.

18 April 2023 in Medicina
Verified
Journal Article
Open access
PDF file
Miguel Mascarenhas SaraivaMiguel Mascarenhas Saraiva
Miguel Mascarenhas Saraiva
JAJoão Pedro Lima Afonso
João Pedro Lima Afonso
TRTiago Ribeiro
Tiago Ribeiro
AAAna Patricia Andrade
Ana Patricia Andrade
HCHélder Cardoso
Hélder Cardoso
Guilherme MacedoGuilherme Macedo
Guilherme Macedo
With modern society well entrenched in the digital area, the use of Artificial Intelligence (AI) to extract useful information from big data has become more commonplace in our daily lives than we perhaps realize. Medical specialties that rely heavily on imaging techniques have become a strong focus for the incorporation of AI tools to aid disease diagnosis and monitoring, yet AI-based tools that can be employed in the clinic are only now beginning to become a reality. However, the potential introduction of these applications raises a number of ethical issues that must be addressed before they can be implemented, among the most important of which are issues related to privacy, data protection, data bias, explainability and responsibility. In this short review, we aim to highlight some of the most important bioethical issues that will have to be addressed if AI solutions are to be successfully incorporated into healthcare protocols, and ideally, before they are put in place. In particular, we contemplate the use of these aids in the field of gastroenterology, focusing particularly on capsule endoscopy and highlighting efforts aimed at resolving the issues associated with their use when available.