Developing Web Applications for DHIS2
An introduction to the web API and how to create applications for it
IN5320 – Development in Platform Ecosystems Kjetil Svalestuen
Developing Web Applications for DHIS2 An introduction to the web API - - PowerPoint PPT Presentation
~$ Developing Web Applications for DHIS2 An introduction to the web API and how to create applications for it IN5320 Development in Platform Ecosystems Kjetil Svalestuen Development in Platform Ecosystems About me Works as a
IN5320 – Development in Platform Ecosystems Kjetil Svalestuen
Development in Platform Ecosystems
Development in Platform Ecosystems
Generic core Bundled apps Custom apps Web API
Development in Platform Ecosystems
Define problem Identify required data Model in DHIS2 Gather data!
Development in Platform Ecosystems
Development in Platform Ecosystems
DataValue DataElement Source (OrganisationUnit) Period
N N N 1 1 1
What
Where
When
Development in Platform Ecosystems
The “what”, the “where” and the “when” of collected data values Where: Organisation unit
When: Time period
What: Data element
Development in Platform Ecosystems
District level National level Chiefdom level Facility level (coordinates)
Group
GroupSet
Level dataElement dataElement Group dataElement GroupSet categoryOption category categoryCombo categoryOption GroupSet categoryOption Group indicator indicatorType indicator GroupSet validationRule validationRule Group indicatorGroup predictor categoryOption Combos Malaria Malaria outbreak Per cent ANC LLITN coverage Malaria Diseases Facility ownership Public facilities Ngelehun CHC Facility Diagnosis Measles Measles new sex, ageGroup sex male, female Norad Donor
Development in Platform Ecosystems
Development in Platform Ecosystems
Development in Platform Ecosystems
Development in Platform Ecosystems
Development in Platform Ecosystems
Development in Platform Ecosystems
Development in Platform Ecosystems
Prototype with Postman, Curl or a similar tool!
Development in Platform Ecosystems
manifest.webapp
activities.dhis.href: *
Development in Platform Ecosystems
1. Let the backend do the hard work
2. If you’re suddenly facing a wall of errors, you might be logged out
3. Use your browser and other tools like Postman or Curl
4. Consider hosting your own DHIS2 instance
Development in Platform Ecosystems