Skip to content

namangt68/vsis

Repository files navigation

###Visual Stock Indicator System (VSIS)

A SMS/Internet based medical stock indicator system.

This system is part of Interactive Socio-Technical Practicum (ISTP) Project 2016 by Team Healthcare at IIT Mandi.

This project is developed as per needs of grasslevel unit(called sub-center) of public healthcare system in Mandi, India under existing technical limitations(like limited internet connectivity).

####Installation #####Beaglebone (See blog post)

  • It is recommended to download updated driver to run beaglebone to avoid driver installation errors.
    • For Windows 64 bit: Download driver from here.
    • For Windows 32 bit: Download driver from here.
  • Right click on downloaded file and click Run as administrator.
  • Follow steps and check if all three drivers are installed completely.
  • Add and exception to proxy settings(if you use proxy) from Change proxy settings and add 192.168.7.2 in exception box and click save.
  • Connect the Beaglebone using usb cable.
  • Now open your browser(Chrome/firefox) and go to address http://192.168.7.2 and you will be shown 'beaglebone getting started guide'.
  • Go to http://192.168.7.2:3000 to open Cloud9 IDE.

####Architecture working #####Indicator box

  • Beaglebone
  • GSM Module
  • RGB LEDS
  • Sim card
  • Breadboard
  • Jumper wires

#####Code explanation The main file that is needed to run is receiveSendSMS.py. The code's explanation can be found in the file itself. This file is responsible to receive SMS, process them and take necessary actions like changing LED colours, sending feedback SMS to healthworker. This also saves the SMS request in file "records".led

Another main script, phantLoggerGSM.py which runs at night time and uploads all the new entries received during the day which are saved in "records" file. The explanations for this file can also be found in that file only.

#####LED indicators In the initial prototype, green is a normal indication. Red indicates an unanswered stock shortage and request, and yellow indicates that the order is available at the CHC. When the status of a sub-center is changed to yellow, an automated SMS will be sent to update the sub-center worker.

####Usage sms

Through direct SMS

The pattern in which the Health workers will send SMS for stock indication is: Kamand ID: 0

  • #kam1 - Stock OK in Kamand
  • #kam0 p108 a377z52 - Stock problem exists in Kamand and Stock requested is:
  • paracetamol: 108 units
  • acetaminophen: 377 units
  • zincSulphate: 52 units

Other sms patterns like help are mentioned in code #####Through App ######App Features

  • Instant Stock Status.app

app

app

- Quick feedback on SMSs. - Data synchronized on cloud. - Easy to use Data frontend. - Android app with both quick SMS or net upload.

(Download Android App)

Medical Stock Data Frontend

frontend

####Project Benefits

  • Accurate medical stock status at grassroot level.
  • Saves Health workers time.
  • Stock Maintenance in efficient and organized way.
  • Easily Extensible for higher levels.
  • Usability in technical limitations.
  • Easy to use e.g just SMS #kam0 p.