Giter VIP home page Giter VIP logo

prs's Introduction

Created : Tue May 08 17:03:44 IST 2012

Status

No active development is happening on this. The original “client” the non-profit clinic at Lajpat Bhavan, New Delhi, were just not interested. Change Management, rather than custom build software, was the medicine they needed. Oh, well…

Introduction

PRS is a simple Patient Record System to be used in clinics/medical centers, first written for the needs of the Charity Medical Center, Lajpat Bhavan, New Delhi.

PRS is released under the GNU Affero GPL v3.

It is designed to run from within a browser, but without an internet connection. Broad features will include:

  • Patient Contact information, visit history tracking
  • Doctor contact and availability database
  • Invoice generation for paying patients.

How to Run

At the moment the only way to run the program is to download the source and execute the python program. There is a way to build windows executables using py2exe; we plan to provide pre-built binary bundles for major releases. In the mean time:

  1. Download and Install python
  2. Clone the repository

On Unix / Windows:

  1. python prs.pyw &

or on windows:

  1. Double click on the file ‘prs.pyw’ from windows explorer.

You should automatically see a tab in your default browser open up pointing to “http://localhost:8765/”

If Google Chrome is already your default browser, you should be able use the program, otherwise, just close your browser tab, fire up chrome and point to http://localhost:8765/

Sample Data

There is a script that will generate some random data to populate the tables, so you can play with the software. To get this sample data, do the following:

  1. cd scripts
  2. python createdb.py

Now you should have a db/sample.db sqlite database in the db/ directory which can be accessed through the program.

Dependencies

Google Chrome or Safari

PRS has been tested only on Chrome. It should also work reasonably well on Safari. It most definitely will not work on IE (any version). This may be fixed some time in the future, but it is not very high priority now.

Tornado

Tornado is included as a git submodule. So be sure to fetch the submodule when you clone the git repository.

SQLAlchemy

SQLAlchemy v0.7.7 is included in its entirety in the libs/ directory.

Python 2.7

You will of course need Python 2.7 if you want to run on Unix or Mac. The Windows release bundles do away with this requirement as well.

Some history

Originally I wanted to implement this an offine HTML5 application using IndexedDB, which would be very simple to install and use. However the state of IndexedDB support is somewhat disappointing. Chrome suffers from numerous bugs, Firefox does not allow indexeddb creation for offline apps (file:/// URIs). There is no IE release with support at all. It is all rather frustrating enough that I have decided to move it to a full web application served through tornado.

The git tag corresponding to the point I abandoned the html5 approach is called ‘indexeddb_noworkie’

prs's People

Contributors

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