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 [2024/08/14 08:31] – [Requisites] Gary Willetts | integration:dhis2_integration [2024/08/15 14:32] (current) – [mSupply preferences] Gary Willetts | ||
---|---|---|---|
Line 14: | Line 14: | ||
- | ===== Common types of data ===== | + | Common types of data that you can send to DHIS2 from mSupply for an item: |
- | - Stock on hand | + | - Current stock on hand |
- | - Stock expiring | + | - Current months of stock on hand |
+ | - The amount of stock in adjustments | ||
+ | - The amount of stock received | ||
+ | - The amount of stock issued | ||
+ | - The amount of stock expiring | ||
+ | - The amount of stock expired | ||
- Value of stock on hand | - Value of stock on hand | ||
- Average monthly consumption | - Average monthly consumption | ||
- Days out of stock | - Days out of stock | ||
- | - Stock beginning of the month | + | - Stock at the beginning of the month |
- | - Stock end of the month | + | - Stock at the end of the month |
+ | - Whether the item is currently stocked out | ||
Line 49: | Line 55: | ||
* **Basic authentication checkbox:** If checked then mSupply will use basic authentication in the call headers when sending data to DHIS2. If it is unchecked then mSupply will use authentication in the body of the calls. This setting should match the way the DHIS2 instance has been configured. | * **Basic authentication checkbox:** If checked then mSupply will use basic authentication in the call headers when sending data to DHIS2. If it is unchecked then mSupply will use authentication in the body of the calls. This setting should match the way the DHIS2 instance has been configured. | ||
* **URL:** The URL of the DHIS2 database including the port if any. | * **URL:** The URL of the DHIS2 database including the port if any. | ||
- | * **Username: | + | * **Username: |
- | * **Password: | + | * **Password: |
- | * **Client:** The client name mSupply must use to access the database. | + | * **Client: |
- | * **Secret:** The secret that is used for mSupply to access the DHIS2 database. No need to enter this if none was provided. | + | * **Secret: |
- | * **Setup: | + | * **Setup: |
- | * **Using category option combo: | + | * **Using category option combo: |
- | * **Different data elements per item: | + | * **Different data elements per item: |
- | * **Push only 1 data element: | + | * **Push only 1 data element: |
* **Data elements to push** In this table, select the data elements that you want to push for each mSupply item. | * **Data elements to push** In this table, select the data elements that you want to push for each mSupply item. | ||
* **Active column:** Check the checkbox for each data element you want to send for an item. Click on the checkbox to toggle it on and off. | * **Active column:** Check the checkbox for each data element you want to send for an item. Click on the checkbox to toggle it on and off. | ||
- | * **Category option ID column:** Required | + | * **Category option ID column:** Required |
- | * **Custom field name column:** Required | + | * **Custom field name column:** Required |
* **Interval column:** Select the interval between successive sends of the data element. Select one of // | * **Interval column:** Select the interval between successive sends of the data element. Select one of // | ||
* **Push data basis column:** Select the basis of the data to be sent, one of //previous month// or //current day//. Again, click on the down arrow in the cell and click on the appropriate option to select it. | * **Push data basis column:** Select the basis of the data to be sent, one of //previous month// or //current day//. Again, click on the down arrow in the cell and click on the appropriate option to select it. |