OpenFn sample jobs for automating DHIS2 data and metadata integration. These jobs either language the OpenFn adaptors language-dhis2 or language-http.
For more examples, check out OpenFn Docs.
Questions? Post on the OpenFn Forum.
- Every DHIS2 implementation is unique! How we can integrate depends on the version and configuration, so continuous testing is important.
- Design for failure! Develop a strategy for uniquely identifying resources to be uploaded to DHIS2.
- DHIS2 API does not always support upserts, so we typically need to implement a custom
upsert
pattern for importing data to DHIS2. This involves 2 API calls, where we first search for the resource in DHIS2, and then create or update the resource accordingly. Learn more here.
- Integration Concepts
- Web API docs
- DHIS2 Play instance for testing: https://play.dhis2.org/ (UN: admin, PW: district)
- gcp ubuntu 16.04, 10gb
- https://dhis2.github.io/guides/dhis2-docker