smartva-dhis2

Build BuildWin Coverage

A Python package for the integration of Verbal Autopsy data into DHIS2.

It downloads ODK Aggregate records via ODK Briefcase, runs the SmartVA / Tariff 2.0 algorithm to determine the most probable Cause of Death, transforms it to a DHIS2-compatible Program Event and posts it to DHIS2. Any data validation errors or DHIS2 import errors are written to a local SQLite database which can be queried via the command line and exported to various formats.

It also checks DHIS2 for duplicate events (by Study ID Number) before posting and auto-assigns organisation units to the program.

To transfer events to a target DHIS2 (e.g. a Ministry of Health DHIS2), see DHIS2 to DHIS2 Event data transfer.