Giter Site home page Giter Site logo

covidproblem's Introduction

Requirements

*python3.6 or above (i used python 3.7)

Installation

How to use

  • python manage.py --help
    • and follow the instructions

Commands

manage.py command

python manage.py --help
Usage: manage.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  assign-bed        Assign a bed to the patient, inputs: name - name of the...
  bed-status        check the status of the bed input: bed_number
  list-beds         Lists the beds which are free or occupied inputs:...
  list-patients     list the patients which opt for the specific type of
                    the...

  patient-checkout  patient checkout free the occupied bed input: patient_id

assign-bed command

python manage.py assign-bed --help
Usage: manage.py assign-bed [OPTIONS]

  Assign a bed to the patient,

  inputs:

      name - name of the patient,

      bed_number - bed numbers choosen by the patient

Options:
  --help  Show this message and exit.

list-beds command

python manage.py list-beds --help  
Usage: manage.py list-beds [OPTIONS]

  Lists the beds which are free or occupied

  inputs:  type_of_bed -

       enter 0 for general,

       enter 1 for semi-private,

       enter 2 for private,

       enter 3 for all,

Options:
  -t, --type_of_bed INTEGER  type of the bed, 3 is default
  --help                     Show this message and exit.

list-patients command

python manage.py list-patients --help
Usage: manage.py list-patients [OPTIONS]

  list the patients which opt for the specific type of the bed

  inputs:

      type_of_bed -

          enter 0 for general,

          enter 1 for semi-private,

          enter 2 for private

Options:
  -t, --type_of_bed INTEGER  type of the bed, 3 is default
  --help                     Show this message and exit.

bed-status command

python manage.py bed-status --help
Usage: manage.py bed-status [OPTIONS]

  check the status of the bed input: bed_number

Options:
  -b, --bed_number TEXT
  --help                 Show this message and exit.

covidproblem's People

Contributors

tagarwal8415 avatar tusharcoder 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.