Coder Social home page Coder Social logo

atrikgit6174 / diabetes-tracker Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1.91 MB

AISSCE Project 2019. Tracks diabetes based on user input and symptoms.

Home Page: https://atrikgit6174.github.io/Diabetes-Tracker

C++ 100.00%
diabetes diabetes-tracker cpp11 aissce symptoms school

diabetes-tracker's Introduction

Welcome to DIABETES TRACKER

Launched at: https://atrikgit6174.github.io/Diabetes-Tracker

Dated: 23.01.2021

This project is brought to you by Atrik Ray. As of now, I am a CSE undergrad, expected to graduate by 2023.

It intends to judge a whether a person is

  1. Diabetic or not
  2. If diabetic, then whether it is primary or secondary
  3. If primary, then whether it is insulin dependent or independent

All these are done interactively based on user inputs. User inputs are checked. The user is prompted to re-enter in case of invalid input.

This is achieved by a class named diabetes and its member functions.

REPOSITORY DETAILS

The Project directory contains

  1. DIABETES.cpp: The latest version
  2. Images folder: Sample outputs
  3. Orginal.txt: The original TurboC++ version
  4. bmi-chart.png: For bmi values (personal reference)
  5. Colour.png: For console colours (personal reference)

DISCLAIMER

The program symptoms and analysis are based on a general view and may not be accurate for every person. In case you require immediate attention, it is best to communicate with a professional medical practitioner.

SYSTEM REQUIREMENTS

  • Operating System: Windows 7 or above (Might be supported for lower versions)
  • Compiler: GCC 4 or above, or any other compiler supporting C++11 or above

IMAGES

Two test cases for reference

CREDITS

  1. Mr Sudarshan Manna & Ms. Tamali Sinha, for teaching me my first language C++ and helping code this program.
  2. Sayantani Das, for her invaluable inputs on the symptoms and cases and for satisfying the curiosity of the Biology lover in me.
  3. Meghna Dutta, for being the second tester after me and helping me debug.
  4. Atrik Ray, that's me, for patiently reading through many, many lines of un-indented skeletal code, making meaning out of it, and changing the functions to enhance portability.
  5. YOU, the reader, for your time and patience and interest!

PLANS TO EXPAND

  1. Features to save patient data in a text file to be retrieved and used for future inputs.
  2. Features to edit saved user data.

ADDITIONAL INFO ABOUT THE PROGRAM

History

This program was done for my AISSCE 2019 Board Practical Submissions. It was built from a skeletal code obtained from the Internet and modified by my school teachers and me. The name of my school is mentioned in the program.

However, it was built for TurboC++ IDE and its associated compiler. It used several header files that are unsupported by other environments and many of its header files have been deprecated in recent C++ standards.

Keeping this in mind, before uploading, I have brought about many changes to keep the code and program in compliance with latest standards and brought about many fundamental changes in the conditions and prompts, consulting with my friend Sayantani Das, who is an upcoming MBBS.

New & Noteworthy changes

The header files <dos.h>, <graphics.h> and associated functions are not supported in other environments. In view of this, functions like <textcolor(_attr_)> were removed and changed to modern versions which instruct the Windows console, namely <system("color _attr_")>. These attr of the <system("color")> can be found in the Colour.png file.

Importantly, the UDF <gotoxy(const WORD, const WORD)> function was required to simulate the <gotoxy(int, int)> function of the MS-Dos Box console.

Credits go to the site:

The calculation of bmi and age based on a one-time user input was designed, which were absent in the original code.

To enhance interactivity and ensure proper output, the option of re-entering the input is prompted in case an user enters an invalid character using the functions <checkInput (char, vector <char>)> & <ReEntry (char, int, vector <char>, int)>.

The function names are quite apt for any other developer to understand and build upon this code. Justified comments are inserted to help the interested developer.

The <disclaimer ()> member function is added to remind the user that this program is no way as accurate or knowledgeable as a professional medical practitioner.


   

diabetes-tracker's People

Contributors

atrikgit6174 avatar

Stargazers

 avatar  avatar

Watchers

 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.