Difference between revisions of "FRM"

From mn/ifi/inf5750
Jump to: navigation, search
m (Technologies)
m (Project details)
Line 1: Line 1:
 
== Project details ==
 
== Project details ==
Managing Organization Units[http://www.uio.no/studier/emner/matnat/ifi/INF5750/h15/group-projects/managing-organization-units/index.html]
+
This is a project within the DHIS2. This is a open source health system to easily collect, display and analyze reported health data.
 +
 
 +
"In DHIS 2 the location of the data, the geographical context, is represented as organisational units. Organisational units can be either a health facility or department/sub-unit providing services or an administrative unit representing a geographical area (e.g. a health district)." [https://www.dhis2.org/doc/snapshot/en/implementer/html/ch10.html]
 +
 
 +
<nowiki>  </nowiki>Managing Organization Units[http://www.uio.no/studier/emner/matnat/ifi/INF5750/h15/group-projects/managing-organization-units/index.html] is a application to get a better overview of organization units within the DHIS2 system. The application will be a singe page application with a map displaying all org. units as markers with their correct coordinates. By clicking on a marker you will get all information on a unit. You will also be able to edit these if necessary. By clicking on an empty point on the map you will be asked to add a new org. unit. 
 +
 
 +
Since there is a lot of org. units there will be implemented a dynamic search and filtering to help simplify the search for a specific organization unit. 
  
 
<u>Sketch</u><gallery>
 
<u>Sketch</u><gallery>
Line 19: Line 25:
  
 
== Architecture ==
 
== Architecture ==
 +
This application well be a new module within the DHIS2 web app. This will be a easier, more visual way of doing tasks on organization units witch is already possible within the DHIS2 web app.
 +
 +
The app it self will be a SPA witch get organization units and other information from the DHIS2 REST API. This app will therefor not store any information other than locally before sending the updated/new information back to the DHIS2 application.
  
 
=== Technologies ===
 
=== Technologies ===

Revision as of 22:23, 8 November 2015

Project details

This is a project within the DHIS2. This is a open source health system to easily collect, display and analyze reported health data.

"In DHIS 2 the location of the data, the geographical context, is represented as organisational units. Organisational units can be either a health facility or department/sub-unit providing services or an administrative unit representing a geographical area (e.g. a health district)." [1]

Managing Organization Units[2] is a application to get a better overview of organization units within the DHIS2 system. The application will be a singe page application with a map displaying all org. units as markers with their correct coordinates. By clicking on a marker you will get all information on a unit. You will also be able to edit these if necessary. By clicking on an empty point on the map you will be asked to add a new org. unit.

Since there is a lot of org. units there will be implemented a dynamic search and filtering to help simplify the search for a specific organization unit.

Sketch

Group members

Erik Haider Forsén - erikh@ifi.uio.no

Julie Hill Roa - juliehr@ifi.uio.no

Roza Moustafa - rozarm@ifi.uio.no

Yrjan Fraschetti - yrjanaf@ifi.uio.no

Architecture

This application well be a new module within the DHIS2 web app. This will be a easier, more visual way of doing tasks on organization units witch is already possible within the DHIS2 web app.

The app it self will be a SPA witch get organization units and other information from the DHIS2 REST API. This app will therefor not store any information other than locally before sending the updated/new information back to the DHIS2 application.

Technologies

  • Bootstrap
  • HTML 5 & CSS 3
  • Angular 2.0 (alpha)
  • DHIS2 Web app
  • Google Maps JavaScript API
  • REST to communicate with DHIS2

Features

  • Find organization units on map.
  • Present the information pertaining to the chosen facility.
  • Add new organization units by clicking on map.
  • Edit existing organization units.
  • Filter organization units.
  • Dynamic search for organization units.

If time:

  • Statistics on organization units
  • List all organization units.

Milestones

Milestone 1 - due 08.11.2015

  • Document features and architecture on wiki:

See features paragraph.

We have also made a sketch of the design/layout of the application.

We have set up a project in git. This project contains a skeleton with a good Angular 2.0 structure for the web app.

We looked at googlemaps and made an API-key to be able to use their map-API .

All group members have done Angular 2.0 quick start and tutorials.

We have also looked into testing for javascript with Jasmine and tried to test one method.

  • Show understanding of dhis2 web app:

We have downloaded the dhis-live package and deployed it on our local computers. We have also switched from H2 db to postgres. We have populated our databases with sample data from Sierra Leone. We managed to upload our "hello-world"-app into dhis.

We have also browsed the dhis app too see other app examples, and successfully added a new organization unit.

We have started looking into retrieving data from the dhis API, but so far it is difficult with Angular 2.0 (need to learn more).

Milestone 2 - due 22.11.2015

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

Milestone 3 - due 04.12.2015

  • Finished, if applicable also with mobile app.

Final delivery - due 11.12.2015

  • Presentations in mid December.

Other

Git repo: gitolite@git.uio.no:u/erikhf/frm.git