Nevin’s Project Portfolio Page

Overview

CareFlow is a desktop application for patient and drug inventory management of medical clinics, optimised for use via a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI). CareFlow can get your patient and drugs management tasks done faster than traditional applications.

Code contributed:

  • RepoSense Link: here

Enhancements implemented:

  • Enhancement to Application UI:

    • Implementation of Light/Dark Theme:
      • Added a lighttheme.css stylesheet and implemented a toggle theme method setTheme within the MainWindow class for UI.
      • Added shortcut keys accelerators, allowing users to use shortcut keys to toggle themes: CTRL+SHIFT+L for light and CTRL+SHIFT+D for dark.
      • Created MenuItem for the respective Dark and Light theme for additional mode of input to toggle themes.
    • Altered the button for Help popup Window:
      • Changed the ‘CopyURL’ button in the help window to a more user-friendly ‘Open URL’ button which opens the address link in a browser on user’s computer directly.
  • Enhancement to Application Main Features:

    • Implementation of Drug command classes for Drug subsystem:
      • Created DeleteCommand, FindCommand, ListCommand, UpdateCommand and helped implement AddCommand, ClearCommand in drugcommands
      • Implemented the constructor and execute methods for the aforementioned classes as well as exception handling and respective usage messages.
    • Implementation of Drug command Parser classes for the Drug subsystem:
      • Created AddCommandParser, DeleteCommandParser, FindCommandParser and UpdateCommandParserclasses in drugparser
      • Implemented the parse method for the aforementioned classes to handle the user inputs as well as various parsing methods for the Drug Parser classes such as parseTradeName, parseActiveIngredient, parseDirection, parsePurpose, parseSideEffect and parseStorageCount to parse user inputs into the necessary Objects that the respective Drug Command requires.

Contributions to the UG:

  • Contributions to User Guide:
    • Added the sample screenshots for every command
    • Implemented some part of the documentation for Drug Commands such as d add, d find, d update
    • Improved the description of most commands in section 4, Commands.

Contributions to the DG:

  • Contributions to Documentation Guide:
    • added UML Sequence diagram for execute(“p delete 1”) in CareFlowLogic component.
    • Did some adjustments on the DrugFindCommandSequence diagram in the CareFlowLogic component.

Contributions to team-based tasks

  • Helped fix several bugs #259, #253, #248, #227, #237 after bugs were reported from PE-Dry Run.

  • Wrote java test files for AddCommandParserTest, DeleteCommandParserTest, FindCommandParserTest and UpdateCommandParserTest in drugparser.

  • Contributed in the brainstorming process for user stories and certain essential features.

Review/mentoring contributions:

Contributions beyond the project team:

  • Bugs reported for another team F10-3 (MODCheck): #1, #2, #3, #4, #5, #6, #7