Giter Club home page Giter Club logo

clinic-management-system's Introduction

Clinic-Management-System

C code for clinic management system. At the beginning of the system it asks the user to choose between admin mode and user mode.

- In admin mode:

The system asks for password, the default password is 1234. The system allows 3 trails for the password entry, if the entered password was incorrect for 3 consecutive times, the system shall close.

After login in the admin mode, the system shall provide the following features:

  1. Add new patient record: To add a new patient, the user shall admin shall enter these basic information: name, age, gender and ID. The ID shall be unique for the user, if the entered ID is already exists, the system shall reject the entry.
  2. Edit patient record By entering patient ID the system shall checks if the ID exists, the system shall allow the user to edit the patient information. If not, the system shall display incorrect ID message.
  3. Reserve a slot with the doctor By default there are 5 available slots, 2pm to 2:30pm, 2:30pm to 3pm, 3pm to 3:30pm, 4pm to 4:30pm and 4:30pm to 5pm. Upon opening of this window, the system shall display the available slots. The admin shall enter the patient ID and the desired slot. The reserved slot shall not appear again in the next patient reservation.
  4. Cancel reservation. The admin can cancel a reservation by entering the patient ID. This reservation shall be shown again in the available slots window.

- In user mode:

There is no password. The system allows the following features:

  1. View patient record. By entering the patient ID, the system shall show the basic information for the patient.
  2. View today's reservations. In this view, the system shall print all reservations with the patient ID attached to each reservation slot.

clinic-management-system's People

Contributors

ahmed1186 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.