Difference between revisions of "HKH Survey"

From mn/ifi/inf5750
Jump to: navigation, search
(Done)
(Architecture)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
Intro yo
 
Intro yo
=Group members=
+
= Group members =
* Hoang (hoangbn@ifi.uio.no)
+
 
* Kennet (kennetvu@ifi.uio.no)
+
*<strike>Hoang (hoangbn@ifi.uio.no)</strike>
* Henrik (henriast@ifi.uio.no)
+
*<strike>Kennet (kennetvu@ifi.uio.no)</strike>
 +
*Henrik (henriast@ifi.uio.no)
  
 
=Features=
 
=Features=
Line 24: Line 25:
 
* Ajax
 
* Ajax
 
* Json
 
* Json
 
+
* AngularJS
  
 
=Milestones=
 
=Milestones=
Line 54: Line 55:
 
=Group tasks=
 
=Group tasks=
 
====Tasks====
 
====Tasks====
* Create an icon/logo for the app
 
* Testing
 
 
* Saving skip-logic in database: http://apps.dhis2.org/demo/api/systemSettings/<APPNAME>.<SURVEYNAME>.skipLogic
 
* Saving skip-logic in database: http://apps.dhis2.org/demo/api/systemSettings/<APPNAME>.<SURVEYNAME>.skipLogic
* Linking skip logic to survey
+
* Created parser for Option Sets
* Creating database for saving skip logic
 
  
 
====In process====
 
====In process====
* Create skip logic language - Henrik
+
* Use jsonp instead of JSON? Does it solves the crossdomain problem? - Kennet
https://docs.google.com/document/d/1QG4z4hd_pNXMmt8RYBER-jL2jGW2uapeuHpW8EWukH8/edit?usp=sharing
 
* Saving modified/new data to database - Hoang
 
  
 
====Done====
 
====Done====
Line 77: Line 73:
 
* Create a dummy app and upload it - Kennet
 
* Create a dummy app and upload it - Kennet
 
* (Dropped) Testing EmberJS - Henrik
 
* (Dropped) Testing EmberJS - Henrik
* Create form with angular js - No need to create a new one, since we can use the premade one from DHIS2
+
* Create form with angular js - No need to create a new one, since we can use the premade one from DHIS2 - Hoang
 
* Creating a draft of the logo - Hoang - http://run.plnkr.co/plunks/s2wW3iCiA7xMazVbBUfn/
 
* Creating a draft of the logo - Hoang - http://run.plnkr.co/plunks/s2wW3iCiA7xMazVbBUfn/
 
* Create authentication function: http://www.dhis2.org/doc/snapshot/en/user/html/ch25s02.html - Kennet - Tested and not necessary because the app is embedded in DHIS system.
 
* Create authentication function: http://www.dhis2.org/doc/snapshot/en/user/html/ch25s02.html - Kennet - Tested and not necessary because the app is embedded in DHIS system.
Line 85: Line 81:
 
* Display all entry's - Kennet
 
* Display all entry's - Kennet
 
* Getting survey data from database: http://apps.dhis2.org/demo/api/programs/UOcfbIjnlgX - Kennet
 
* Getting survey data from database: http://apps.dhis2.org/demo/api/programs/UOcfbIjnlgX - Kennet
 +
* Example JSON file - Henrik https://docs.google.com/document/d/1eYh1MU2P7JgL5npFm1O5lqjANXRWCshKghZM3E2tRLs/edit?usp=sharing
 +
* Create skip logic language - Henrik
 +
https://docs.google.com/document/d/1QG4z4hd_pNXMmt8RYBER-jL2jGW2uapeuHpW8EWukH8/edit?usp=sharing
 +
* Linking skip logic to survey - Henrik
 +
* Created parser for text modules - Henrik
 +
* Created parser for date modules - Henrik
 +
* Created parser for number modules  - Henrik
 +
* <strike>Creating database for saving skip logic - Henrik</strike>
 +
* Made it possible to do survey with skip logic - Henrik
 +
*<strike> Saving modified/new data to database - Hoang</strike>
  
 
=Screenshots=
 
=Screenshots=

Latest revision as of 22:49, 9 December 2013

Intro yo

Group members

  • Hoang (hoangbn@ifi.uio.no)
  • Kennet (kennetvu@ifi.uio.no)
  • Henrik (henriast@ifi.uio.no)

Features

Main

  • Single event data entry form
  • Skip logic (eg. If pregnant, fill in these extra forms)
  • Make interface for easily defining form and skip logic (integrated with single event, but you’ll need some additional info)
  • Available as DHIS2 web app and Android app (phonegap)
  • Touch friendly UI

Ours

  • Deployed as dhis2 app.
  • page to add skip logic
  • Dashboard page
  • page to do survey and sending data to dhis

Architecture

Milestones

HKH milestones

Milestone 1: 01.11

  • Create an dummy app and upload it to DHIS2
  • Find out which javascript framework we should use

Milestone 2: 05.11

  • Get some data from dhis.
  • Create a prototype view.
  • "Shell" for skip logic part.
  • Do survey throught our app with/without logic

Course milestones

Milestone 1: 1st November

  • Document features and architecture on Wiki
  • Show understanding of DHIS2 web apps

Milestone 2: 15th November

  • First bare-bone version - static HTML
  • Uploadable as DHIS2 web app

Milestone 3: 30th November

  • Finished, if applicable also with mobile app.

Final delivery: 8th December

Presentation: 9th December

Time schedule

Group tasks

Tasks

In process

  • Use jsonp instead of JSON? Does it solves the crossdomain problem? - Kennet

Done

https://docs.google.com/document/d/1QG4z4hd_pNXMmt8RYBER-jL2jGW2uapeuHpW8EWukH8/edit?usp=sharing

  • Linking skip logic to survey - Henrik
  • Created parser for text modules - Henrik
  • Created parser for date modules - Henrik
  • Created parser for number modules - Henrik
  • Creating database for saving skip logic - Henrik
  • Made it possible to do survey with skip logic - Henrik
  • Saving modified/new data to database - Hoang

Screenshots

Prototype 1
Userinfo
Survey with optionset
Survey with data

Log

  • 28.10.13 - Group meeting - Project "initialization"
  • 04.11.13 - Group meeting - Assigned tasks and responsibilities within the group

Guides

Resources