MediPredictor by KOSASIH is licensed under Creative Commons Attribution 4.0 International
The Personalized Medication Recommendation System is an AI-driven application that provides tailored medication suggestions for patients based on their unique health profiles. By integrating with Electronic Health Records (EHR) using the SMART on FHIR standard, this system analyzes patient data—including demographics, medical history, and current medications—to deliver accurate and personalized recommendations. Utilizing advanced machine learning algorithms, the app aims to assist healthcare providers in making informed medication decisions, improving patient outcomes, and enhancing overall treatment efficacy. The repository includes the complete codebase, model training scripts, and documentation for deployment and usage.
The Personalized Medication Recommendation System is an AI-driven application designed to provide tailored medication suggestions for patients based on their unique health profiles. By integrating with Electronic Health Records (EHR) using the SMART on FHIR standard, this system analyzes patient data—including demographics, medical history, and current medications—to deliver accurate and personalized recommendations. The application aims to assist healthcare providers in making informed medication decisions, improving patient outcomes, and enhancing overall treatment efficacy.
Clone the repository:
git clone https://github.com/KOSASIH/Personalized-Medication-Recommendation-System.git
cd Personalized-Medication-Recommendation-System/backend
Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
Install the required Python packages:
pip install -r requirements.txt
Configure the application settings in config.py
:
Run the backend server:
python run.py
Navigate to the frontend directory:
cd ../frontend
Install the required Node.js packages:
npm install
Start the frontend application:
npm start
Open your browser and go to http://localhost:3000
.
http://localhost:3000
./api/recommendations
POST
{
"patient_id": "string"
}
[
{
"medication": "string",
"reason": "string",
"dosage": "string"
}
]
/api/feedback
POST
{
"patient_id": "string",
"feedback": "string"
}
{
"message": "Feedback submitted successfully"
}
/api/sentiment
POST
{
"review_text": "string"
}
{
"sentiment": "positive" | "negative"
}
Contributions are welcome! Please feel free to submit a pull request or open an issue for any suggestions or improvements.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or feedback, please reach out to the project maintainer at [kosasihg88@gmail.com].