Empowering Healthcare with Seamless Documentation Automation.
- π Overview
- πΎ Features
- π Project Structure
- π Getting Started
- π Project Roadmap
- π° Contributing
- π License
- π Acknowledgments
MedScribe is an innovative open-source project designed to streamline healthcare documentation by automating medical form filling and coding. Utilizing advanced speech recognition and machine learning technologies, MedScribe accurately transcribes spoken medical notes and extracts critical data, enhancing efficiency for healthcare professionals. This solution is ideal for medical facilities looking to reduce administrative burdens and improve data accuracy in patient care documentation.
Feature | Summary | |
---|---|---|
βοΈ | Architecture |
|
π© | Code Quality |
|
π | Documentation |
|
π | Integrations |
|
𧩠| Modularity |
|
π§ͺ | Testing |
|
β‘οΈ | Performance |
|
π‘οΈ | Security |
|
βββ MedScribe/
βββ MedicalCopilot
β βββ multionapi.py
β βββ scripts
β βββ server
βββ README.md
βββ requirements.txt
MEDSCRIBE/
__root__
requirements.txt - Defines the specific versions of libraries and dependencies required for the project, ensuring compatibility and stability across different development environments
- It includes libraries for HTTP communication, data manipulation, machine learning, and visualization, crucial for the project's functionality and performance.
MedicalCopilot
multionapi.py - Integrates with the MultiOn client and agentops services to automate form filling on a healthcare platform
- It initializes a session without auto-start, sets specific tags, and processes a command to populate a mental health support plan form with predefined data, enhancing operational efficiency in medical documentation.scripts
pyproject.toml - Manages dependencies and settings for the MedicalCopilot's "amina" script, ensuring compatibility and streamlined setup
- It specifies Python version, essential libraries like Click and Requests, and additional script-specific dependencies such as the Deepgram SDK and PyAudio, facilitating the script's integration and functionality within the broader project architecture.voice_streaming.py - Enables real-time transcription of audio through the Deepgram API, collecting spoken sentences into manageable chunks
- It integrates signal handling for graceful shutdowns and communicates with a local server to process transcribed text
- The script is configurable via environment variables and command-line options, facilitating batch processing adjustments and API key management.server
voice.py - Voice.py serves as the speech recognition module within the MedicalCopilot's server architecture, enabling the system to transcribe spoken commands from users
- It utilizes the Google Web Speech API to convert speech from the microphone input into text, enhancing user interaction by processing verbal inputs effectively.main.py - MedicalCopilot's server/main.py serves as the backend API for processing medical text
- It utilizes AWS Comprehend Medical to extract ICD-10 codes and symptoms from text inputs, facilitating automated medical coding and symptom identification
- Additionally, it integrates with the MultiOn client for specific automated actions based on the medical findings.pyproject.toml - Defines the configuration and dependencies for the server component of the MedicalCopilot project
- It specifies the server's version, dependencies on libraries like FastAPI for web framework, Boto3 for AWS integration, and Pydantic for data validation, ensuring the server can handle web requests and interact with other services efficiently.Dockerfile - Establishes the environment for the MedicalCopilot server by setting up a Docker container with Python and necessary dependencies managed via Poetry
- It configures the server to run a FastAPI application on port 8000, ensuring all project dependencies are correctly installed and the application is ready for deployment and execution.
Before getting started with MedScribe, ensure your runtime environment meets the following requirements:
- Programming Language: Python
- Package Manager: Pip, Poetry
- Container Runtime: Docker
Install MedScribe using one of the following methods:
Build from source:
- Clone the MedScribe repository:
β― git clone https://github.com/sandeepsalwan1/MedScribe
- Navigate to the project directory:
β― cd MedScribe
- Install the project dependencies:
β― pip install -r requirements.txt
β― poetry install
β― docker build -t sandeepsalwan1/MedScribe .
Run MedScribe using the following command:
Using pip
Β
β― python {entrypoint}
β― poetry run python {entrypoint}
β― docker run -it {image_name}
Run the test suite using the following command:
Using pip
Β
β― pytest
β― poetry run pytest
-
Task 1
:Complete Backend and launch. -
Task 2
: Integrate more with Friend Ai wearable. -
Task 3
: Target sales.
- π¬ Join the Discussions: Share your insights, provide feedback, or ask questions.
- π Report Issues: Submit bugs found or log feature requests for the
MedScribe
project. - π‘ Submit Pull Requests: Review open PRs, and submit your own PRs.
Contributing Guidelines
- Fork the Repository: Start by forking the project repository to your github account.
- Clone Locally: Clone the forked repository to your local machine using a git client.
git clone https://github.com/sandeepsalwan1/MedScribe
- Create a New Branch: Always work on a new branch, giving it a descriptive name.
git checkout -b new-feature-x
- Make Your Changes: Develop and test your changes locally.
- Commit Your Changes: Commit with a clear message describing your updates.
git commit -m 'Implemented new feature x.'
- Push to github: Push the changes to your forked repository.
git push origin new-feature-x
- Submit a Pull Request: Create a PR against the original project repository. Clearly describe the changes and their motivations.
- Review: Once your PR is reviewed and approved, it will be merged into the main branch. Congratulations on your contribution!
This project is released under the MIT License. For more details, please refer to the LICENSE file.