OptiMed is a Python drug-recommendation web-application that uses Flask as webserver and is deployed on Heroku. Database management and the user interface are handled with PostgreSQL and JavaScript (AngularJS), respectively.
Click on the above link (Live Demo) and follow the instructions.
OptiMed uses a SQL database that is created by analyzing 260000 online pharmaceutical reviews from Drugs.com (Reference). A combination of multiple metrics determines the winner drug for a given user condition:
- User ratings from the dataset
- Sentiment analysis score from user reviews which is obtained using Natural language processing (NLP)
- User distance to pharmacies from this database provided by the Washington Post (currently unavailable)
- Real-time drug prices from WellRx.com
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
