As an administrator, I want to export health data in DHIS2 format by selecting the dataset, place, and period so that I can submit information to the national reporting system.
Steps to reproduce
- Log in as an administrator.
- Click on the Export left navigation menu.
- Click on the DHIS2 tab.
- Select the Dataset from the dropdown.
- Select the Place from the dropdown.
- Select the Period from the dropdown.
- Click the Download button.
Acceptance Criteria
✓ The user can navigate to the Export page (requires can_export_dhis permission).
✓ If DHIS2 is not configured, a warning message 'unconfigured' is shown.
✓ If DHIS2 is configured, Dataset, Place, and Period dropdowns are displayed.
✓ The Dataset dropdown lists the datasets configured in the system.
✓ The Place dropdown includes an 'All' option and dataset-specific places.
✓ The Period dropdown lists available periods with a human-readable description.
✓ The Download button is disabled if no dataset is selected or an export is in progress.
✓ Clicking Download initiates the download of the DHIS2 file.
As an administrator, I want to export health data in DHIS2 format by selecting the dataset, place, and period so that I can submit information to the national reporting system.
Steps to reproduce
Acceptance Criteria
✓ The user can navigate to the Export page (requires can_export_dhis permission).
✓ If DHIS2 is not configured, a warning message 'unconfigured' is shown.
✓ If DHIS2 is configured, Dataset, Place, and Period dropdowns are displayed.
✓ The Dataset dropdown lists the datasets configured in the system.
✓ The Place dropdown includes an 'All' option and dataset-specific places.
✓ The Period dropdown lists available periods with a human-readable description.
✓ The Download button is disabled if no dataset is selected or an export is in progress.
✓ Clicking Download initiates the download of the DHIS2 file.