Integration with DHIS 2
There are several ways of doing integration between DHIS 2 and other applications.
- Using the DHIS 2 API
- Data interchange: Exporting and importing to DHIS 2
- ETL-operations: Direct database access
We strongly recommend using the DHIS 2 API
as this approach ensures data is consistent. The API also gives you access to extra functionality to make us of in your application.
Using the DHIS 2 API
The DHIS 2 API
offers a programmatic way to access data from the application. In order to use the API, you're application either needs to be implemented in Java or know how to access Java bytecode.
- How to define a Maven dependency to DHIS 2
- How to load DHIS 2 beans
- How to call services
Data interchange: Exporting and importing to DHIS 2
- Overview of I/E capabilities
- Documentation links
- Writing exporters/importers
ETL-operations: Direct database access
It is possible to do ETL, Extract-Transform-Load operations to and from our database, or to simply create an application that runs on top of a DHIS 2 database. In the our Database API document you'll find a list with descriptions of tables and columns generated by DHIS 2.
- Identifying your DHIS 2 db
- Create JDBC connection
- Connections in other frameworks/programming languages