Made by Cheng-Yuan Li, David Gu, Amisha Sao, Ritwic Verma for HackGT XI
MedEase: AI-Assisted Diagnostic Workflow is an innovative platform designed to streamline the workflow of emergency department physicians by reducing the time spent on data entry and increasing the focus on patient care. The website utilizes Retrieval-Augmented Generation Large Language Models (RAG-LLMs) integrated with medical databases to take patient medical data and generate a differential diagnosis.
By automating note-taking and reducing the number of manual entries required, MedEase enables physicians to quickly fill out relevant entry forms using the AI-generated outputs. This enhanced efficiency allows doctors to spend more time in direct patient care, potentially increasing hospital revenue while improving patient outcomes.
EMR-Automatic/
├── backend/
│ ├── main.py
│ └── ... (other backend files)
├── frontend/
│ ├── src/
│ │ ├── srcForDashboard/
│ │ │ ├── pdf-upload.tsx
│ │ │ └── ... (other dashboard source files)
│ │ ├── styles/
│ │ │ ├── global.css
│ │ │ └── ... (other style files)
│ │ └── ... (other frontend source files)
│ ├── dashboard.astro
│ └── ... (other frontend files)
└── README.md
The main backend file that sets up the Flask application, handles HTTP requests, and connects to the MongoDB database.
A React component for uploading PDFs and selecting templates. It includes functionality for handling file uploads and displaying a list of templates.
The global CSS file that contains styles applied across the entire frontend application.
The main dashboard file written in Astro. It sets up the HTML structure, imports necessary components and icons, and includes the navigation bar and sidebar for the dashboard.
- Clone the repository.
git clone https://github.com/your-repository-name.git
- Navigate to the backend directory and set up a virtual environment:
cd backend python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install the backend dependencies:
pip install -r requirements.txt
- Navigate to the frontend directory:
cd frontend - Install the dependencies:
npm install
- Ensure the virtual environment is activated.
- Run the Flask app:
flask run
- Navigate to the frontend directory:
cd frontend - Start the Next.js development server:
npm run dev
To ensure that all UI elements are generated correctly using shadcn/ui, follow these steps:
-
Install the shadcn/ui package:
npm install @shadcn/ui
-
Run the following command to generate the required UI components in your project:
npx shadcn-ui init
-
Customize and build the components by running:
npx shadcn-ui build
After following these steps, the Button, Input, Progress, and other UI components should be correctly configured.
Contributions are welcome! Please submit a pull request or open an issue for any suggestions or improvements.