Medical treatments intended to address any variety of conditions all have something in common: there are always side effects to consider.
As a patient taking medication or exploring treatment options, it’s important to monitor the way a treatment is impacting you. However, with so many other things on our minds on a day to day basis, it can be challenging to be mindful of how medication is actually impacting you, resulting in missed patterns that are important for you and your medical provider to be aware of.
MSET (Medication Side Effects Tracker) allows you, as a medication user, to track side effects for a variety of medications and supplements in order to cultivate a mindful practice of tracking how a medical treatment is impacting you, in turn allowing you to provide your doctor with holistic feedback to guide your treatment plan.
The current iteration of MSET supplies an interface to track symptoms and side effects over time and allows you to take control of your medical treatment.
Deployed application: https://mset-app.herokuapp.com
- Gaby Mendez
- Ruthie Rabinovitch
- Jessye Ejdelman
- Michael Evans
- Fork this repository
- Clone down your repo
cd
intomset-app
- Run
bundle install
- Run
rails db:{drop,create,migrate}
- Run
figaro install
, which will create a gitignoredconfig/application.yml
file. Within this file, add the following key-value pairs:
GOOGLE_CLIENT_ID: <fill in with your Google client ID>
GOOGLE_CLIENT_SECRET: <fill in with your Google client secret>
MSET_API_SERVICE_DOMAIN: https://mset-api-service.herokuapp.com/
- Check the Faraday connection under
services/mset_service.rb
#conn
; you can either connect to themset_api_service
Sinatra microservice locally (by runningrackup
from themset_api_service
directory on your machine), or the live version hosted on Heroku.
*instructions for obtaining your own Google client authentication details can be found here and Google OAuth documentation can be found here
To check out our in-depth test suite, run:
$ bundle exec rspec
Version Requirements
- Ruby version - 2.5.3
- Rails version - 5.2.4
Built with a service oriented architecture, MSET is comprised of two applications: a backend sinatra app and a user facing rails app. The sinatra application, MSET API Service, serves as a microservice that is responsible for making API calls to an OpenFDA API via GET
requests that return information about various medications and their side effects. This Rails app consumes those endpoints via the Sinatra microservice, parses through the responses and formats the data for display on the front-end and to be saved as needed in the database.
Check out our Miro board, which includes our ideation notes, wireframes, and user flow diagrams.
For future iterations of MSET, we'd like to implement the following features with the intention of making it easier for a user to holistically track the impact of their medication treatment and identify any significant patterns:
- Bulk symptom logging - ability for user to log mulitple symptoms at one time
- Symptom log history filtering - ability to view symptoms logged over a specified period of time, logs that recorded specific symptoms, etc. so that a user can more intiuitively identify side effect patterns over time
- Reminder notifications - pings user with reminders to take medications at user-specified times via calendar or SMS notifications
- Medication logging - allowing user to record when a medication was taken
Acknowledgments
Our instructors during Module 3 at Turing School: Ian Douglas and Dione Wilson