Emergency Medicine and Palliative Care boarded physician with a passion for data science and informatics.
Combining my diverse clinical background, problem solving skills, communication abilities, and passion for technology to improve healthcare delivery and patient outcomes.
View My CV
View My Blog
View My LinkedIn Profile
View My X Profile
KentMcCannMD@Gmail.com
I developed a rule-based natural language processing tool using MedSpacy which can extract the diagnosis and reason for consult from free-text palliative care consult questions.
This tool is planned for use as part of our department’s push to integrate with the Palliative Care Quality Collaborative, a nation wide database of palliative care programs used for benchmarking and QA/QI initiatives.
The code can be used within Jupyter Notebooks, but for ease of deployment and transportability I also turned it into a dockerized FastAPI and deployed the API to a DigitalOcean Droplet.
View code on GitHub
Try API in Google Colab
View API Docs
To see how sentiment of various specialties has changed over time, I scraped forum posts from the Student Doctor Network subspecialty boards using BeautifulSoup. I then analyzed the sentiment of each post using a HuggingFace Transformer.
An abstract using this data was accepted as a quick shot presentation to the American College of Surgeons Clinical Congress 2024.
Here are the results for each specialty, averaged by year, rendered using D3Blocks (click the specialties to see their plots):
Jupyter Notebook of Scraping/Sentiment Analysis Script
(SDN has since changed to dynamically loaded content, so this scraping script no longer works)
I created a Streamlit dashboard to explore departmental consultation data for our inpatient palliative care service.
The ETL process is automated, so newly generated EHR reports can easily be added to the existing data.
The NLP program above is utilized to enrich the data to allow for more granular analysis of patient diseases and reasons for consults.
The data is filterable by all columns and all visualizations automatically update to reflect filtering.
Examples of the visualizations within the dashboard, values have been edited out
Page template forked from evanca