TL;Dr. is a web application that helps summarize doctor notes to improve the patient handoff process, and to make discharge summaries more accessible to patients. Created by Alex Yu, Jonathan Uy, Danny Foley, and Lincoln Saha as a submission for HackMIT 2022.
Table of Contents
TL;Dr. reduces medical error that occurs at handoff and discharge stages of patient care. It does this by standardizing and automating the reporting procedure to provide higher quality communication from doctor-to-doctor and doctor-to-patient.
We use OpenAI's GPT-3 to summarize lengthy handoff notes into a standard format called IPASS. This is useful for hospitalists who usually work 7 on 7 off shifts: working with patients for a week before passing them to another hospitalist.
Another source of medical error is after hospital treatment, when a patient fails to properly read the discharge summary which may explain how to conduct check-ups after surgery, important things to avoid, and when to next call their doctor. This is because the summaries usually contain medical jargon and can be difficult for non-native English speakers. So, we use GPT-3's summarization and translation features to allow outpatients to better understand their discharge summaries.
Our project was awarded First Place in the Patient Safety Challenge sponsored by the Pittsburgh Regional Health Initiative at HackMIT.
To get a local copy up and running follow these steps.
Ensure that node
, npm
, and python
are installed.
- Clone the repository.
git clone https://github.com/Jonathan-Uy/TL-Dr.git
- Run the following command from the root directory.
# On Windows machines start setup.bat # On Mac/Linux machines ./setup.sh
- Run the following command from
./api/python
.pip install -r requirements.txt
- Enter the values in
./api/ts/.env
.MONGODB_URI= JWT_SECRET= OPENAI_API_KEY= PYTHON_API_URL= MAILER_PORT= MAILER_HOST= MAILER_USER= MAILER_PASS=
To start the app, run the following command from the root directory.
npm run dev
Alternatively, the following commands can be used to run each of the services separately.
# Start the frontend
npm run app
# Start the Express backend
npm run ts
# Start the Python backend
npm run py
If you have a suggestion that would make this better, please fork the repository and create a pull request. Don't forget to give the project a star!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Thanks to the following people who helped greatly during the development of this project:
- Isaac Chua
- Cheralyn Johnson