Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
integration:dhis2_integration [2021/04/29 09:55] – [22.01. DHIS2 integration] Gary Willetts | integration:dhis2_integration [2021/04/29 10:13] – [mSupply connection to DHIS2] Gary Willetts | ||
---|---|---|---|
Line 8: | Line 8: | ||
^ DHIS2 Dimension ^ Description ^ mSupply typical mapping ^ | ^ DHIS2 Dimension ^ Description ^ mSupply typical mapping ^ | ||
| organisation unit | Can be a facility, or a region |The customer/ | | organisation unit | Can be a facility, or a region |The customer/ | ||
- | | data element | The type of data that is stored | + | | data element | The type of data that is stored |
| Period |The historical time period associated with the data |Same in mSupply | | | Period |The historical time period associated with the data |Same in mSupply | | ||
- | With that DHIS2 has the power to show different types of data for different places of interest on various graphs. It can also aggregate those values in hierarchical groups. | + | With these DHIS2 has the power to show different types of data for different places of interest on various graphs. It can also aggregate those values in hierarchical groups. |
===== Common types of data ===== | ===== Common types of data ===== | ||
Line 21: | Line 21: | ||
===== mSupply connection to DHIS2 ===== | ===== mSupply connection to DHIS2 ===== | ||
- | Now mSupply | + | 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. | ||
+ | |||
+ | 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 " | ||
+ | |||
+ | 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. | 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. | ||
Line 29: | Line 39: | ||
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. | 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:// | + | This has been done already for Laos and countries that are part of the [[https:// |
\\ | \\ | ||
\\ | \\ |