Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
integration:dhis2_integration [2019/09/19 09:31] – lou | integration:dhis2_integration [2021/10/08 11:06] (current) – Gary Willetts | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{indexmenu_n> | {{indexmenu_n> | ||
+ | ====== 23.01. DHIS2 integration ====== | ||
+ | DHIS2 is an open source data warehouse that can be used to store, aggregate and display health data. mSupply can push data periodically to a DHIS2 instance. Before this can happen, the data to be sent and any calculations that need to be made will need to be configured. | ||
- | ====== 19.01. DHIS2 Integration ====== | ||
- | |||
- | DHIS2 is an open source data warehouse that can be used for many purposes to store Health data. mSupply can be pushing data periodically to a DHIS2. The data to be calculated and send will need some configuring to be sent. | ||
===== Requisites ===== | ===== Requisites ===== | ||
+ | DHIS2 stores data values that have 3 dimensions: | ||
+ | ^ DHIS2 Dimension ^ Description ^ mSupply typical mapping ^ | ||
+ | | organisation unit | Can be a facility, or a region |The customer/ | ||
+ | | data element | The type of data that is stored | ||
+ | | Period |The historical time period associated with the data |Same in mSupply | | ||
- | DHIS2 basically stores data values that have 3 dimensions: | + | With these DHIS2 has the power to show different |
- | * organisation unit -> Place (customer/ | + | |
- | * data element -> The type of data to be associated with the data | + | |
- | * Period -> The historical time period associated with the data | + | |
- | + | ||
- | With that DHIS2 has the power to show on graphs | + | |
===== Common types of data ===== | ===== Common types of data ===== | ||
Line 22: | Line 21: | ||
===== mSupply connection to DHIS2 ===== | ===== mSupply connection to DHIS2 ===== | ||
+ | Before you can send mSupply data to a DHIS2 instance, you need to tell mSupply where the data has to go. To do that, go to //File > Preferences// | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | * **Url:** The URL of the DHIS2 database including the port if any. | ||
+ | * **Username: | ||
+ | * **Password: | ||
+ | * **Client:** The client name mSupply must use to access the database. | ||
+ | * **Secret:** The secret that is used for mSupply to access the DHIS2 database. No need to enter this if none was provided. | ||
+ | |||
+ | <WRAP info center round 90%> | ||
+ | If this page already has settings entered and they have been used to successfully connect to the DHIS2 database then a "Last successful connection: //date & time//" | ||
+ | </ | ||
+ | |||
+ | After entering the values you should click on the **Test connection** button to save the credentials and check that mSupply can now access the DHIS2 database. If the connection is successful you will see a green " | ||
- | Now mSupply can be connected to DHIS2 using the preferences | + | If the connection is not successful you will see a red " |
- | {{ : | + | Once configured, a scheduler will run and regularly send data from mSupply to DHIS2. In order for this to work, you first need to have a DHIS2 instance that has links with mSupply for each organisation unit and data element. |
- | In order to have a scheduler running | + | Contact our team to help you to create the specific |
- | Contact our team to help you to create the specific data elements on DHIS2 accordingly with the data that you want to be sent. We will configure it for your specific situation. | + | This has been done already for Laos and countries that are part of the [[https:// |
\\ | \\ | ||
\\ | \\ | ||
- | | // Previous: | + | | // Previous: |
---- struct data ---- | ---- struct data ---- | ||
+ | pagestatus.status | ||
---- | ---- | ||