GithubHelp home page GithubHelp logo

kartikeya72001 / blood-bank-management Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 10.75 MB

This system is made to ease the handling of the recipient and the donor blood using an encrypted login system in C++.

C++ 100.00%
management system cpp

blood-bank-management's Introduction

Blood Bank Management System

This system is made to ease the handling of the recipient and the donor blood using an encrypted login system in C++.

Requirements

To run the Executable, no pre-requisites are required, it will work on all Windows System
To Run the C++ Code, following are the requirements,
  • g++ 9.2.0
  • C++ 17
  • Filesystem.h
  • Json.hpp Github
  • g++ -std=c++17 main.cpp && a.exe

Start-Up

On execution of the software, the following options are presented:

  1. Admin Login
  2. Patient Login
  3. Exit

Admin Login

This method takes in the admin password and sends it to a dynamic encryption hashing algorithm to encrypt the password while decrypting the original stored password and dynamically re-hashing it to match with the entered password.

Login Encryption System

Admin Functionality

  • Check Blood Availability
  • Search Patient by Name
  • Display all Patients
  • Generate a Combined Report for all Hospital Patients
  • View and Accept/Reject Blood Requests
  • Change Admin Password(Encrypted)

Check Blood Availability

This system function displays all the types of blood available with the hospital with their respective quantities.

Search Patient

It enables the admin to search for a patient by the first name. It returns all the patients matching the input first name string.

Display

This method displays all the donor and well all recipient patients registered with the portal.

Generate Hospital Report

This method exports a comma-separated file for all the registered patients in the hospital system.

View Requests

This function enables the admin to manage all the recipient requests that are registered in the system. all the requests are displayed along with the available quantities of blood.

Change Admin Password

This method takes admin input via a private variable encrypts the input and stores the input into a file for future references.

Password Reset

Patient Menu

Patient Menu provides an option for the patient to either register as a new patient or instead log in to his/her account using his/her unique Patient Id.

  • Donate
  • Request
  • Login
New Patient

Any new patient will be prompted to add his/her personal as well as medical details for donating or requesting blood. On successful completion of the request or donate menu, a unique patient Id will be generated signifying the addition of the patient into the hospital system.

Registered Patient

Any patient with a history with the hospital can use his earlier patient ID to log into the hospital system to request or donate blood without requiring to re-enter his/her personal details.

  • Generate Report
  • Request Blood
  • Donate Blood
Generate Report

The patient can generate his/her report associated with the login id with all details exported to a comma-separated file.

Request/Donate Blood

The patient can Donate/Request more blood without having the need to re-enter all the personal details.

License

MIT

blood-bank-management's People

Contributors

kartikeya72001 avatar nikhil-codecracker avatar

Watchers

James Cloos 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.