The median age has been increasing worldwide. In fact, Canadian researchers estimated that by the year 2036, the proportion of individuals aged 65 and older will make up a quarter of the population. In the discussion of health and longevity, a crucial yet often underestimated cause of concern lies in the suboptimal adherence of medications prescribed to individuals by health care practitioners. Between a patient and a doctor, even with the utmost care, information will be lost throughout the medical jargon and foreign language spoken by a trained medical professional. Due to the gap and disconnect between the carer and the cared, the patient will likely not receive the optimal care intended by the doctor. We wish to close this gap one step at a time, to ensure that the increasing number of future patients will have an easy time receiving the care that was intended by ensuring proper administration of medication. Researchers estimated that individuals with chronic illness might be more likely to take their medications. However, according to the World Health Organization, adherence among this group averages only about 50%. Poor adherence to prescription medication can lead to individual drawbacks such as an infection not fully clearing up, bacterial infection building resistance to the medication in the individual. Worse yet, the medication resistant bacteria could be spread and become a dominant strain as we have seen in MRSA in hospitals. There are many reasons for poor adherence to medication, including mistrust of doctors, cost, too many medications, misunderstanding, and a lack of symptoms. We hope to eliminate a few of these factors and assist individuals in bettering caring for themselves by following through with their doctor’s prescription and finishing their medicine reference
What it does
Daily dose is an optical character recognition based web app that helps you schedule medication, so you don't forget and finish the prescribed course. It employs Google’s image recognition API and scans a image of your prescription. Afterwards the important information will be extracted and used to create recurring events in your Google calendar. This will ensure that you consistently follow through with your medication. How to use it:
- Sign in with Google+.
- Upload a photo of your medication, or use your webcam.
- Connect to your Google Calendar.
- Make sure the information is correct
How we built it
Challenges we ran into
Finding the right path The development process may seem straightforward, but there were many challenges and bugs along the way. Although the hackathon started out strong, with quick iteration of the prototype and design, the first major roadblock came when trying to connect Google vision API with the uploaded image. First, the API was not able to identify the location of the image. Then, the API was not able to identify the location of the secret keys required for the API. But after many attempts at finding the right paths, the API was finally able to return some text that had been uploaded as an image.
Can I get a date? The third roadblock came finally, when trying to upload the parsed medication data to google calendar. First, there is the challenge of connecting to a user's calendar, which involves OAuth and the passing of special tokens between our server and Google’s API. Then, there is the true goal of scheduling a medication across multiple days and weeks, according to the direction on the bottle. The convoluted documentation of Google’s API pages seemed to form a loop, and finding the structure of RULES needed to set up a recurring event was a challenge in itself. These tasks were immensely challenging, although interesting but I wanted to give up because it was very late into the project at this point. Eventually, a few tests passed as expected, and the project was cleaned up.
Accomplishments that we're proud of
Successfully created a full stack web application under a short time.
Integrated multiple Google APIs and authentication processes into the app.
Improved modularization of front and back end components for easy integration.
Streamlined the design process and have a better understanding of the work needed to lead a project.
What we learned
What I enjoy most about hackathons is that they act as opportunities to experiment and integrate different skills in the field of web development. Whereas projects are often created in isolation, to practice one particular technique or implementation, for instance, Daily Dose is a direct consequence of being multidisciplinary. It is the accumulation of ideas and skills gained from UI/UX, front-end, and back-end, built on top of an interest in medicine and people. In regards to the user experience, I have learned to place a major emphasis on the basics, such as readability and usability of the website. For the front end, I have learned to think carefully about the font sizes, their families, and the layout plus white space that is so crucial to a good looking web page. And to prototype before coding a webpage from scratch, as it is always less headache inducing. In regards to the back-end, this hackathon was a major exercise in connecting to external APIs, which can be particularly difficult. Moving forward, it will be exciting to work on more full stack projects, and to see how Daily Dose progresses.
What's next for Daily Dose
As previously mentioned, there were many challenges in the construction of Daily Dose. it would be interesting to see the application of NLP and machine learning solutions for parsing medical labels. Although regex was used, there may be more attractive and advantageous techniques, particularly due to the variability of language and placement of text on medical labels. Daily Dose, and models similar, demonstrate remarkable potential for technical growth. Optical Character Recognition are widely used in the distribution of mail across the globe. However, the same software has yet to be widely adopted at a consumer level. For instance, such software has the potential to track product receipts, which would help customers reliably obtain refunds. They could also be used to upload written or typed lecture notes, so that students and educators could later access them electronically.