Skip to content

92kareeem/AI-based-Medical-transcription-analysis-and-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-based-Medical-transcription-analysis-and-prediction

Physician Notetaker

📌 Overview

This project is a Physician Notetaker application that leverages Natural Language Processing (NLP) to extract medical entities, generate SOAP notes, summarize conversations, and analyze sentiments from physician-patient dialogues.

🚀 Features

  • Medical Entity Extraction: Identifies symptoms, diagnosis, treatment, and prognosis using SpaCy's en_core_sci_md model.
  • Text Summarization: Uses facebook/bart-large-cnn transformer model to summarize conversations.
  • Sentiment Analysis: Determines if the patient's tone is "Anxious" or "Reassured" using TextBlob.
  • SOAP Note Generation: Automatically structures patient interactions into Subjective, Objective, Assessment, and Plan format.
  • Streamlit UI: Provides an interactive web interface.

🛠 Installation & Setup

1️⃣ Install Dependencies

Ensure you have Python installed. Then, install the required libraries:

pip install --pre torch torchvision torchaudio -i https://download.pytorch.org/whl/nightly/cu118
pip install spacy transformers textblob streamlit

2️⃣ Download the Biomedical NLP Model

Download the en_core_sci_md model from SciSpaCy:

pip install "path_to_downloaded_file"

3️⃣ Run the Application

streamlit run app.py

🔍 Methodologies Used

1️⃣ Medical Entity Extraction

  • Model Used: en_core_sci_md (SciSpaCy)
  • Approach: Identifies and categorizes entities such as symptoms, diagnosis, treatments, etc.

2️⃣ Text Summarization

  • Model Used: facebook/bart-large-cnn
  • Approach: Summarizes long physician-patient dialogues into concise text.

3️⃣ Sentiment Analysis

  • Library Used: TextBlob
  • Approach: Determines sentiment polarity and classifies it as "Anxious" or "Reassured."

4️⃣ SOAP Note Generation

  • Custom implementation: Converts extracted entities into a structured SOAP note format.


🤝 Contributors

Developed by Syed Abdul Kareem Ahmed as an assignment for Emitrr.

About

Machine learning system that processes and analyzes medical transcriptions to extract insights and predict clinical outcomes. It uses NLP techniques to clean and vectorize text data, builds predictive models to forecast key health indicators, and delivers actionable insights from unstructured medical narratives.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages