Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| import_and_export:export_to_dashboard [2021/08/10 15:59] – Gary Willetts | import_and_export:export_to_dashboard [2026/09/30 11:55] (current) – Gary Willetts | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{indexmenu_n> | {{indexmenu_n> | ||
| - | ====== | + | ====== |
| - | <wrap info> | + | <wrap info> |
| This information is for sending data from your mSupply database to the mSupply dashboard database. The dashboard has a separate Postgres database so that its use does not slow down or interfere with your use of mSupply. | This information is for sending data from your mSupply database to the mSupply dashboard database. The dashboard has a separate Postgres database so that its use does not slow down or interfere with your use of mSupply. | ||
| Line 11: | Line 11: | ||
| Click on the **Export Settings** tab and you will see this window: | Click on the **Export Settings** tab and you will see this window: | ||
| - | {{ : | + | {{ : |
| ==== Postgres server section ==== | ==== Postgres server section ==== | ||
| Line 23: | Line 23: | ||
| To make sure the details are correct and your copy of mSupply has access to the dashboard database, click on the **Test connection** button. A message will tell you whether the connection is successful or not. | To make sure the details are correct and your copy of mSupply has access to the dashboard database, click on the **Test connection** button. A message will tell you whether the connection is successful or not. | ||
| - | Once the dashboard is enabled and the correct Postgres settings entered, there will be an automatic (scheduled) export every 24 hours. The next scheduled export is shown in the //Next scheduled export// field. | + | Once the dashboard is enabled and the correct Postgres settings entered, there will be an automatic (scheduled) export every 24 hours. The next scheduled export is shown in the //Next scheduled export// field. This export process can be edited to run at different intervals based on your needs. |
| ==== Export settings section ==== | ==== Export settings section ==== | ||
| - | This section enables you to select exactly what data is exported to the dashboard. | + | This section enables you to manually export data to the dashboard apart from the scheduled dashboard export. |
| + | |||
| + | The time and date of the next scheduled export to the dashboard database are shown in the **Next scheduled export** field. | ||
| + | By default, all table data is exported | ||
| + | |||
| + | **Redirect URL** field: contains the URL that you should be redirected | ||
| - | The table contains | + | **URL** field: |
| - | The time and date of the next scheduled export of the selected | + | The **Run Next Scheduled Export Now** button gives you a way of exporting the data immediately, |
| + | |||
| + | The **Full | ||
| + | The table contains a list of all the database | ||
| - | The **Default** button will select | + | <WRAP info center round 90%> |
| + | It is not advisable to run a full export | ||
| - | The **Export** button gives you a way of exporting | + | If you do run a full export (i.e. including all database tables) then you must enter your name and give a reason for the export in the //Add your name and reason |
| + | </ | ||
| + | |||
| + | When you click on either of them you must enter your authorisation | ||
| + | |||
| + | Click on the **OK** button to save your changes and the **Cancel** button to cancel any changes you have made. | ||
| - | By default, **transaction** and **requisition** data is only exported incrementally — that is, only transactions and requisitions that are new or have been changed since the last export are exported, which saves a substantial amount of time in the export process. All other tables are re-exported from scratch each time. | ||
| - | In order to force a //full// export of transactions and/or requisitions, check the **Force full export** checkbox before a manual export, or leave it checked | + | ==== Export Field Setting tab ==== |
| + | By default all fields from all tables (except patient identifiable fields and other security related information) are exported | ||
| - | Click on the **OK** button | + | {{ .: |
| + | |||
| + | * **Table** drop-down list: Select | ||
| + | | ||
| + | * **All/ | ||
| + | * **Allow patient export** checkbox: If checked, this will allow export of any selected patient data fields | ||
| + | |||
| + | To add or remove specific fields from the dashboard export, select the table in the **Table** drop-down list. All its fields available for export will be displayed in the table below it. Any field that has a tick in the //Included field// column will be exported | ||
| + | |||
| + | If any fields with patient identifiable information are selected for export, the **Allow patient export** checkbox must also be ticked before it will be exported. | ||
| \\ | \\ | ||