Step by Step Guide: Logging In and Creating the Data Elements for an Aggregate Form
This guide covers the first part of building an aggregate form in DHIS2: logging in to the demo and creating the data elements. Follow each step in order. The numbered screenshots show what your screen should look like at each point.
For this hackathon we all work on the public DHIS2 demo for Sierra Leone. It runs DHIS2 version 2.40 and anyone can log in, so every participant starts from the same system with the same data.
Before you log in, look at what the screen shows. The numbers on the picture match the list below it.
Click in the Username box and type the username. Then click in the Password box, type the password and click Log in.
| Username | admin |
|---|---|
| Password | district |
admin is typed in box 3 and the password shows as dots in box 4. Click the Log in button, number 5.play.im.dhis2.org/dev-2-40.All the building blocks of a form, such as data elements, categories and data sets, are created in the Maintenance app. In this step you open it and go to the Data Element section.
After logging in you land on the home dashboard. Click the apps menu at the top right, type Maintenance in the search box and click the Maintenance app when it appears.
The Maintenance app opens with a row of tabs across the top. Click the DATA ELEMENT tab to see the three things you can manage there.
Clicking the list button opens Data element management, the list of every data element already in the system.
Open the list first and search for the data element you need, because it may already exist. Create a new one only when it is not there, so the system does not end up with two data elements for the same thing.
Click the blue plus button at the bottom right of the Data Elements list. A long form opens. We go through it from top to bottom, using Malaria Suspected Cases as the example. Fields marked with (*) must be filled before DHIS2 will save.
| Name | Malaria Suspected Cases |
|---|---|
| Short name | Malaria Suspected |
| Code | Leave empty |
| Description | Number of patients seen this month who were suspected of having malaria |
| Domain type | Aggregate |
| Value type | Integer |
| Aggregation type | Sum |
| Store zero data values | Ticked |
| Category combination | None |
Scroll down to the fields that decide how the numbers are stored and added up.
Both of these are optional, so leave them empty for this exercise.
Repeat Step 3 for every data element that will appear in the reporting form. The malaria form in this hackathon needs the ten data elements below. Each one counts a single thing, so each gets its own data element.
These five settings are identical for all ten data elements.
| Domain type | Aggregate |
|---|---|
| Value type | Integer |
| Aggregation type | Sum |
| Store zero data values | Ticked |
| Category combination | None |
Only the name, short name and description change. Add your initials to the end of the name and the short name, for example RDT Tested JT, so they do not clash with anyone else on the shared demo.
| # | Name | Short name | Description |
|---|---|---|---|
| 1 | Malaria Suspected Cases | Malaria Suspected | Patients seen this month who were suspected of having malaria |
| 2 | RDT Tested | RDT Tested | Suspected cases tested with a malaria rapid diagnostic test |
| 3 | Microscopy Tested | Microscopy Tested | Suspected cases tested by microscopy |
| 4 | RDT Positive | RDT Positive | Rapid diagnostic tests with a positive result |
| 5 | Microscopy Positive | Microscopy Positive | Microscopy tests with a positive result |
| 6 | ACT Treatment | ACT Treatment | Confirmed uncomplicated cases treated with an ACT |
| 7 | Severe Malaria Treatment | Severe Malaria Treatment | Severe malaria cases given treatment for severe malaria |
| 8 | Pre-Referral Treatment | Pre-Referral Treatment | Patients given a first dose of treatment before being referred |
| 9 | Malaria Deaths | Malaria Deaths | Deaths caused by malaria |
| 10 | Malaria Referrals | Malaria Referrals | Malaria patients referred to a higher level facility |
When all ten are saved, type your initials in the search box. Only your data elements are listed, so it is easy to see that none is missing.