Difference between revisions of "Three developers walk into a bar(code)"

From mn/ifi/inf5750
Jump to: navigation, search
(Suggested improvements to the APIs)
(Summary of Requirements)
Line 24: Line 24:
 
=== Architecture ===
 
=== Architecture ===
  
https://wiki.uio.no/mn/ifi/inf5750/images/8/88/Barcode_architecture.png  
+
https://wiki.uio.no/mn/ifi/inf5750/images/8/88/Barcode_architecture.png
* Spring/Maven/Hibernate on the back end.
+
 
 +
This picture is now outdated: The client and the Tracker Capture app communicates with the API, but we won't have any Spring MVC backend. That is handled already by the DHIS2 web app.
 +
 
 +
The new architecture for our application is just editing the source code for the Tracker Capture-application to support the barcode scan.  
 
* HTML/JS/CSS/JQuery + maybe AngularJS in the front end.
 
* HTML/JS/CSS/JQuery + maybe AngularJS in the front end.
 
* QuaggaJS seems like a good javascript library for scanning and interpreting barcodes from a connected camera.
 
* QuaggaJS seems like a good javascript library for scanning and interpreting barcodes from a connected camera.
Line 45: Line 48:
 
== Task Delegation ==
 
== Task Delegation ==
  
So far, we have a rough plan, but we need to talk with a teaching assistant to get us kickstarted. We plan to go to the group session on Tuesday 10. November.
+
We have programmed together everything that is done so far, and will probably delegate as we go on.
 +
 
 +
== What is done? ==
 +
After using a lot of time to read and understand the source, we have now implemented a barcode search field that works with the barcode reader and filters the list of patients to the one that the barcode reader found.
  
 
== Screenshot and Screen flows ==
 
== Screenshot and Screen flows ==
Line 52: Line 58:
  
 
Our [https://bitbucket.org/dhis2barcode/barcode barcode repo] is located on Bitbucket.
 
Our [https://bitbucket.org/dhis2barcode/barcode barcode repo] is located on Bitbucket.
 +
 +
We have tried e-mailing our teaching assistant to get information to give him access, but have so far not had a response.
  
 
== Download link to Sample Web/Android Application ==
 
== Download link to Sample Web/Android Application ==

Revision as of 21:30, 20 November 2015

Patient IDs and bar code input and output

Group Members

Navn e-mail
Espen Bay Fevolden espenbf@ifi.uio.no
Vegard Søyseth vegardds@ifi.uio.no
Kjetil Bugge Kristoffersen kjetilbk@ifi.uio.no

Summary of Requirements

Features

  • The app should both scan and interpret a patient's personal bar code, that is used for identifying patients.
  • It should be able to find a patient in the database based on its bar code.
  • If there is no patient entry found after the bar code search, the system should make a new patient entry.
  • The app should exist as a web app, and also an android app.

Architecture

Barcode_architecture.png

This picture is now outdated: The client and the Tracker Capture app communicates with the API, but we won't have any Spring MVC backend. That is handled already by the DHIS2 web app.

The new architecture for our application is just editing the source code for the Tracker Capture-application to support the barcode scan.

  • HTML/JS/CSS/JQuery + maybe AngularJS in the front end.
  • QuaggaJS seems like a good javascript library for scanning and interpreting barcodes from a connected camera.
  • We translate the front end code to Android with cordova.

Time Schedule

  • Milestone 1: 8th Novemeber
    • Document Features and Architechture on the Wiki
    • Show understanding of DHIS2 web applications
    • Set up GIT-repostitory
    • Delegate the tasks
  • Milestone 2: 22th Novemeber
    • First bare-bone version
    • Uploadable as DHIS2 web application
  • Milestone 3: 4th December
    • Project should be finished
  • Final Delivery: 11th December

Task Delegation

We have programmed together everything that is done so far, and will probably delegate as we go on.

What is done?

After using a lot of time to read and understand the source, we have now implemented a barcode search field that works with the barcode reader and filters the list of patients to the one that the barcode reader found.

Screenshot and Screen flows

//Documented Learning throughout the Project

Link to Repository

Our barcode repo is located on Bitbucket.

We have tried e-mailing our teaching assistant to get information to give him access, but have so far not had a response.

Download link to Sample Web/Android Application