From mn/ifi/inf5750
Jump to: navigation, search

Patient IDs and bar code input and output

Group Members

Navn e-mail
Hugo Wallenburg
Marit Iren Rognli Tokle
Ola Solberg
Jonathan Bockelie

Summary of Requirements


  • Scan Bar/QR code containing ID and name of a patient
  • A database search for the patient using scanned code
  • Create a new patient entry should it not already exist in the database
  • On registration of a new patient, print a bar/QR code label contain ID and name of patient
  • Should work both in browser and the Android DHIS application


  • HTML/CSS/JS/JQuery and AngularJS
  • JsBarcode from github for printing barcodes

Time Schedule

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


Task Web Browser Mobile Browser Mobile Application
Reading Barcode 2015-12-05 2015-12-11 2015-11-19
DB lookup and new user 2015-12-07 2015-12-11 2015-12-02
Printing Barcode 2015-12-05 N/A N/A
Finished 2015-12-07 2015-12-11 2015-12-02

Task Delegation

Most of the work was done together, but we naturally found different tasks to work on after a while.

Screenshot and Screen flows

Android Application

Web application

Print barcode

Documented Learning throughout the Project


Suggested improvements to the APIs

The API has no support for generating a new Entity Instance with a given ID. This would have to be implemented for us to be able to create a new entity with the barcode scanner.

Link to Repository and Presentation



Download link to Sample Web/Android Application

Tracker Capture APK