Giter Site home page Giter Site logo

medicationtracker's Introduction

Medication Tracker

Overview

This medication tracker will be able to track your prescription and remind you of when you need to go to the pharmacy to get a top-up. Also, it will be able to remind you of what medication you need to take and when. Accidental overdoes is a serious issue, especially in older generations, so it is imperative that they know which medicines to not take at the same time. Therefore, the application will be able to tell if your medication has conflicting ingredients and will warn you, possibly saving your life.

This project is aimed at anyone who uses medication, especially for the older generation as it can be difficult to keep track of dosage and frequency.

For the past week I have been ill with a cold. I found it tricky to remember when to have some of my cough syrup as I never jotted the time down nor set a reminder for it. This application would have saved me a headache and a half.

User Stories

  • As a user, I want to be able to add my prescribed medication to the list of medications.
  • As a user, I want to be able to be reminded of when to take my medication.
  • As a user, I want to be able to be warned when two drugs contain the same ingredients.
  • As a user, I want to be able to be reminded of when to go to the pharmacy to top up my medication.
  • As a user, I want to be able to be told how much of the medication to take.
  • As a user, I want to be able to add a description for my each of my medications.
  • As a user, I want to be able to see the full medication list.
  • As a user, I want to be able to save what medications are already in my tracker.
  • As a user, I want to be able to load medications from a file.

Phase 4: Task 2

View Sample Log
Wed Nov 30 23:57:56 PST 2022
Started new tracker.
Wed Nov 30 23:57:56 PST 2022
Reloaded drug: Jamie's cough medicine.
Wed Nov 30 23:57:56 PST 2022
Drug Jamie's cough medicine added ingredient Paracetamol.
Wed Nov 30 23:57:56 PST 2022
Drug Jamie's cough medicine added ingredient Ibuprofen.
Wed Nov 30 23:57:56 PST 2022
Drug Jamie's cough medicine added ingredient Aqua.
Wed Nov 30 23:57:56 PST 2022
Drug Jamie's cough medicine added to tracker.
Wed Nov 30 23:57:56 PST 2022
Reloaded drug: Generic Drug Name.
Wed Nov 30 23:57:56 PST 2022
Drug Generic Drug Name added ingredient Generic Substance.
Wed Nov 30 23:57:56 PST 2022
Drug Generic Drug Name added ingredient Non-Generic Substance.
Wed Nov 30 23:57:56 PST 2022
Drug Generic Drug Name added to tracker.
Wed Nov 30 23:57:56 PST 2022
Reloaded drug: Ingredientless Drug.
Wed Nov 30 23:57:56 PST 2022
Drug Ingredientless Drug added to tracker.
Wed Nov 30 23:57:56 PST 2022
Medication list requested.
Wed Nov 30 23:58:00 PST 2022
Medication list requested.
Wed Nov 30 23:58:08 PST 2022
Drug Ingredientless Drug added ingredient New Ingredient.
Wed Nov 30 23:58:13 PST 2022
Drug Ingredientless Drug dose time added. (12:30)
Wed Nov 30 23:58:18 PST 2022
Drug Ingredientless Drug changed name to Ingredientless Drug
Wed Nov 30 23:58:18 PST 2022
Drug Ingredientless Drug changed description.
Wed Nov 30 23:58:18 PST 2022
Drug Ingredientless Drug changed dosage to 1.000000ml.
Wed Nov 30 23:58:18 PST 2022
Drug Ingredientless Drug amount set to 50.000000ml.
Wed Nov 30 23:58:18 PST 2022
Medication list requested.

Phase 4: Task 3

If I had more time for this project, I would create an abstract class to unify the functionalities of the TimesListGUI and IngredientListGUI. This would make it easier to manage and modify the behavior of both panels simultaneously, and reduce the amount of code repetition. Furthermore, I could have implemented an interface to better implement the existing GUIs, incorporating a button generation method, a UI parameter setter, and an event listener. Additionally, I could have implemented an observer pattern.

UML Diagram

This browser does not support PDFs. Please download the PDF to view it: Download PDF.

medicationtracker's People

Contributors

idekenterprises avatar

Stargazers

Chloe avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.