DHIS2 mobile friendly web-application for visualization
To run the server, you need to install nodeJS. After installing, do the following steps:
- Open a terminal.
- Navigate to folder.
- Install dependencies by using: "npm install"
- Run our server by using "npm start"
- Enjoy.
http://www.dhis2.org/doc/snapshot/en/user/html/ch25s21.html
JSON Story:
- Get "api/me". 1a. Store the organisation unit
- Get "api/indicators/ 2a. Show a list of possible indicators 2b. Store the urls 2c. User chooses a indicator
- Get "indicators/:id" 3a. Store the key of every single indicator groups
- Form "api/analytics.js" url. 4a. Needs a organisation unit 4b. Needs an indicator 4c. Handle data retrieved and create seperate lists
Rewrite:
Trends:
- Get api/indicatorGroups/ 1a. Pick IndicatorGroup
- For each Indicator in chosen indicatorGroup: 2a. Get graph with arguments: dx:indicatorId and ou:organizationUnitId for LAST_12_MONTHS api/analytics.json?dimension=dx:%IndicatorKey%&dimension=pe:LAST_12_MONTHS&filter=ou:%OrgUnitKey%