Dhis2 End User Manual
Dhis2 End User Manual
2.24
© 2006-2016
DHIS2 Documentation Team
Revision 2594
2016-11-23 11:04:16
Version 2.24
ii
DHIS2 End-user Manual Contents
Table of Contents
About this guide ................................................................................................................... vii
1. Getting started with DHIS2 ................................................................................................ 1
1.1. Using the DHIS2 demo server ................................................................................. 1
1.2. Using the DHIS2 live package ................................................................................. 1
1.2.1. Starting the DHIS2 Live package .................................................................. 1
1.2.1.1. Prerequisites for DHIS2 Live ............................................................... 1
1.2.1.2. Starting up with a blank database ..................................................... 1
1.2.2. Downloading and installing the server version ............................................. 2
1.3. Logging on to DHIS2 ............................................................................................... 2
1.4. Logging out of DHIS2 .............................................................................................. 2
1.5. Quick intro to designing a DHIS2 database ............................................................ 3
1.5.1. The organisational hierarchy ........................................................................ 3
1.5.2. Data Elements .............................................................................................. 4
1.5.3. Datasets and data entry forms ..................................................................... 5
1.5.3.1. Data entry forms ................................................................................ 5
1.5.4. Validation rules ............................................................................................. 6
1.5.5. Indicators ...................................................................................................... 6
1.5.6. Report tables and reports ............................................................................. 6
1.5.7. GIS ................................................................................................................. 7
1.5.8. Charts and dashboard ................................................................................... 7
2. Data entry .......................................................................................................................... 9
2.1. Data entry with DHIS2 ............................................................................................ 9
2.1.1. Selecting the data entry form ...................................................................... 9
2.1.2. Entering data .............................................................................................. 10
2.1.3. Editing and deleting data ........................................................................... 11
2.1.4. Validating data in the form ......................................................................... 11
2.1.5. Off-line data entry ...................................................................................... 11
2.1.6. Multi-organisation unit data entry .............................................................. 12
3. Using Data Quality functionality ...................................................................................... 13
3.1. Overview of data quality checks ........................................................................... 13
3.2. Data quality checks ............................................................................................... 13
3.3. Running Validation Rule Analysis .......................................................................... 13
3.4. Std Dev Outlier Analysis ........................................................................................ 15
3.5. Min-Max Outlier Analysis ....................................................................................... 16
3.6. Follow-Up Analysis ................................................................................................. 16
4. Using reporting functionality ............................................................................................ 17
4.1. Reporting functionality in DHIS2 ........................................................................... 17
4.2. Using standard reports .......................................................................................... 17
4.3. Using dataset reports ............................................................................................ 18
4.4. Using resources ..................................................................................................... 19
4.5. Using reporting rate summary .............................................................................. 19
4.6. Using organisation unit distribution reports .......................................................... 20
5. Using the Pivot Table app ............................................................................................... 21
5.1. About the Pivot table app ..................................................................................... 21
5.2. Create a pivot table .............................................................................................. 21
5.2.1. Select dimension items ............................................................................... 21
5.2.2. Modify pivot table layout ............................................................................ 24
5.3. Change the display of your table .......................................................................... 25
5.4. Manage pivot table favorites ................................................................................. 26
5.4.1. Save a pivot table as a favorite ................................................................. 26
5.4.2. Open a favorite ........................................................................................... 26
5.4.3. Rename a favorite ...................................................................................... 26
5.4.4. Share an interpretation of a favorite .......................................................... 26
5.4.5. Modify sharing settings for a favorite ......................................................... 27
iii
DHIS2 End-user Manual Contents
iv
DHIS2 End-user Manual Contents
v
About this guide
DHIS2 is a browser-based application. In many cases, screenshots have been included for
enhanced clarity. Shortcuts to various functionalities are displayed such as "Maintenance-
>Data administration". The "->" character indicates that you should choose "Maintenance"
and then click on "Data administration" in the menu which appears through the browser.
Different styles of text have been used to highlight important parts of the text or particular
types of text, such as source code. Each of the conventions used in the document are explained
below.
Note
A note contains additional information which should be considered or a reference to
more information which may be helpful.
Tip
A tip can be a useful piece of advice, such as how to perform a particular task more
efficiently.
Important
Important information should not be ignored, and usually indicates something which is
required by the application.
Caution
Information contained in these sections should be carefully considered, and if not
heeded, could result in unexpected results in analysis, performance, or functionality.
Warning
Information contained in these sections, if not heeded, could result in permanent data
loss or affect the overall usability of the system.
Commands will be displayed in bold text, and represent a command which would need to be
executed on the operating system or database.
Links to external web sites or cross references will be displayed in blue text, and underlined
like this..
Bibliographic references will displayed in square brackets like this [Store2007]. A full reference
can be found in the bibliography contained at the end of this document.
vii
Getting started with DHIS2 Using the DHIS2 demo server
Note
All changes on this server are deleted each night, so do not save any important work on
this server. It is strictly for demonstration purposes on only!
1) Stop DHIS2 live if it is already running. Right click on the tray icon and select Exit. The tray
icon is the green symbol on the bottom right of your screen (on Windows) which should say'
DHIS2 Server running' when you hover your mouse pointer over the icon.
2) Open the folder where the DHIS2 live package is installed and locate the folder called "conf".
3) In conf/ open the file called 'hibernate.properties' in a text editor (notepad or similar) and do
the following modification: locate the string 'jdbc:h2:./database/dhis2' and replace the 'dhis2'
part with any name that you want to give to your database (e.g. dhis2_test).
5) Start DHIS2 Live by double-clicking on the file dhis2-live.exe in the DHIS2 Live installation
folder or by using a desktop shortcut or menu link that you might have set up.
6) Wait for the browser window to open and the login screen to show, and then log in with
username: admin and password: district
7) Now you will see a completely empty DHIS2 system and you should start by adding your
users, organisational hierarchy, data elements, and datasets etc. Please refer to the other
sections of the user manual for instructions on how to do this.
1
Getting started with DHIS2 Downloading and installing the
server version
The latest stable server version can be downloaded from this website. For detailed information
on how to install it please refer to the installation chapter in the implementation manual.
To log on to the application just enter http://localhost:8080/dhis if you are using the DHIS2
live package, or replace localhost with the name or IP address of the server where the server
version is installed.
Once you have started DHIS2, either on-line or off-line, the displayed screen will prompt you to
enter your registered user-name and password. After entering the required information click
on log-in button to log into the application. The default user name and password are 'admin'
and 'district'. They should be changed immediately upon logging on the first time.
You can select the language which you wish to display DHIS2 in from the "Change language"
dialog box at the bottom of the screen. Not all languages may be available.
Should you have forgotten your password, you can click on the "Forgot password?" link. You
must have informed DHIS2 of your email address and the server must be properly configured
to send emails.
If you want to create your own account (and the server administrator allows this), simply click
"Create an account" and follow the directions provided.
Once you have logged into DHIS2, refer to the specific sections in this manual for the different
functionality which is available.
2
Getting started with DHIS2 Quick intro to designing a DHIS2
database
This section will provide a very quick and brief introduction to DHIS2 database design and
mainly explain the various steps needed to prepare a new DHIS2 system for use. How to do
each step is explained in other chapters, and best practices on design choices will be explained
in the implementers manual. Here are the steps to follow:
5. Define indicators
The design of this hierarchy will determine the geographical units of analysis available to the
users as data is collected and aggregated in this structure. There can only be one organisational
hierarchy at the same time so its structure needs careful consideration. Additional hierarchies
(e.g. parallel administrative groupings such as "Facility ownership") can be modelled using
organisational groups and group sets, however the organisational hierarchy is the main
vehicle for data aggregation on the geographical dimension. Typically national organisational
hierarchies in public health have 4-6 levels, but any number of levels is supported. The
hierarchy is built up of parent-child relations, e.g. a Country or MoH unit (the root) might have
e.g. 8 parent units (provinces), and each province again ( at level 2) might have 10-15 districts
as their children. Normally the health facilities will be located at the lowest level, but they can
also be located at higher levels, e.g. national or provincial hospitals, so skewed organisational
trees are supported (e.g. a leaf node can be positioned at level 2 while most other leaf nodes
are at level 5).
Typically there is a geographical hierarchy defined by the health system. e.g. where the
administrative offices are located (e.g. MoH, province, district), but often there are other
administrative boundaries in the country that might or might not be added, depending on how
its boundaries will improve data analysis. When designing the hierarchy the number of children
for any organisational unit may indicate the usefulness of the structure, e.g. having one or
3
Getting started with DHIS2 Data Elements
more 1-1 relationships between two levels is not very useful as the values will be the same
for the child and the parent level. On the other extreme a very high number of children in the
middle of the hierarchy (e.g. 50 districts in a province) might call for an extra level to be added
in between to increase the usefulness of data analysis. The lowest level, the health facilities will
often have a large number of children (10-60), but for other levels higher up in the hierarchy
approx. 5-20 children is recommended. Too few or too many children might indicate that a
level should be removed or added.
Note that it is quite easy to make changes to the upper levels of the hierarchy at a later
stage, the only problem is changing organisational units that collect data (the leaf nodes), e.g.
splitting or merging health facilities. Aggregation up the hierarchy is done based on the current
hierarchy at any time and will always reflect the most recent changes to the organisational
structure. Refer to the chapter on Organisation Units to learn how to create organisational
units and to build up the hierarchy.
It is possible to add more details to this "WHAT" dimension through the disaggregation
dimension called data element categories. Some common categories are Age and Gender, but
any category can be added by the user and linked to specific data elements. The combination
of a data element's name and its assigned category defines the smallest unit of collection
and analysis available in the system, and hence describes the raw data in the database.
Aggregations can be done when zooming out of this dimension, but no further drill-down is
possible, so designing data elements and categories define the detail of the analysis available
to the system (on the WHAT dimension). Changes to data elements and categories at a later
stage in the process might be complicated as these will change the meaning of the data values
already captured in the database (if any). So this step is one of the more decisive and careful
steps in the database design process.
One best practice when designing data elements is to think of data elements as a unit of data
analysis and not just as a field in the data collection form. Each data element lives on its own
in the database, completely detached from the collection form, and reports and other outputs
are based on data elements and expressions/formulas composed of data elements and not the
data collection forms. So the data analysis needs should drive the process, and not the look an
feel of the data collection forms. A simple rule of thumb is that the name of the data element
must be able to stand on its own and describe the data value also outside the context of its
collection form. E.g. a data element name like "Total referrals" makes sense when looking at
it in either the "RCH" form or the "OPD" form, but on its own it does not uniquely describe
the phenomena (who are being referred?), and should in stead be called "Total referrals from
Maternity" or "Total referrals from OPD". Two different data elements with different meanings,
although the field on the paper form might only say "Total referrals" since the user of the
form will always know where these referrals come from. In a database or a repository of data
elements this context is no longer valid and therefore the names of the data elements become
so important in describing the data.
Common properties of data elements can be modelled through what is called data element
groups. The groups are completely flexible in the sense that they are defined by the user,
4
Getting started with DHIS2 Datasets and data entry forms
both their names and their memberships. Groups are useful both for browsing and presenting
related data, but can also be used to aggregate data elements together. Groups are loosely
coupled to data elements and not tied directly to the data values which means they can be
modified and added at any point in time without interfering with the raw data.
A dataset has a period type which controls the data collection frequency, which can be daily,
weekly, monthly, quarterly, six-monthly, or yearly. Both which data elements to include in the
dataset and the period type is defined by the user, together with a name, short name, and code.
In order to use a dataset to collect data for a specific orgunit you must assign the orgunit to
the dataset, and this mechanism controls which orgunits that can use which datasets, and at
the same time defines the target values for data completeness (e.g. how many health facilities
in a district expected to submit RCH data every month).
A data element can belong to multiple datasets, but this requires careful thinking as it may
lead to overlapping and inconstant data being collected if e.g. the datasets are given different
frequencies and are used by the same orgunits.
Section forms allow for a bit more flexibility when it comes to using tabular forms and are quick
and simple to design. Often your data entry form will need multiple tables with subheadings,
and sometimes you need to disable (grey out) a few fields in the table (e.g. some categories do
not apply to all data elements), both of these functions are supported in section forms. After
defining a dataset you can define it's sections with subsets of dataelements, a heading and
possible grey fields i the section's table. The order of sections in a dataset can also be defined.
In Data Entry you can now start using the Section form (should appear automatically when
sections are available for the selected dataset). You can switch between default and section
forms in the top right corner of the data entry screen. Most tabular data entry forms should be
possible to do with sections forms, and the more you can utilise the section forms (or default
forms) the easier it is for you. If these two types of forms are not meeting your requirements
then the third option is the completely flexible, although more time-consuming, custom data
entry forms.
When the form you want to design is too complicated for the default or section forms then
your last option is to use a custom form. This takes more time, but gives you full flexibility in
5
Getting started with DHIS2 Validation rules
term of the design. In DHIS2 there is a built in HTML editor (FcK Editor) for the form designer
and you can either design the form in the UI or paste in your HTML directly using the Source
window in the editor. In the custom form you can insert static text or data fields (linked to data
elements + category) in any position on the form and you have complete freedom to design
the layout of the form. Once a custom form has been added to a dataset it will be available in
data entry and used automatically. You can switch back to default and section (if exists) forms
in the top right corner of the data entry screen.
1.5.5. Indicators
Indicators represent perhaps the most powerful data analysis feature of the DHIS2. While data
elements represent the raw data (counts) being collected the indicators represent formulas
providing coverage rates, incidence rates, ratios and other formula-based units of analysis. An
indicator is made up of a factor (e.g. 1, 100, 100, 100 000), a numerator and a denominator,
the two latter are both expressions based on one or more data elements. E.g. the indicator
"BCG coverage <1 year" is defined a formula with a factor 100, a numerator ("BCG doses
given to children under 1 year") and a denominator ("Target population under 1 year"). The
indicator "DPT1 to DPT3 drop out rate" is a formula of 100 % x ("DPT1 doses given"- "DPT3
doses given") / ("DPT1 doses given").
Most report modules in DHIS2 support both data elements and indicators and you can also
combine these in custom reports, but the important difference and strength of indicators
versus raw data (data element's data values) is the ability to compare data across different
geographical areas (e.g. highly populated vs rural areas) as the target population can be used
in the denominator.
Indicators can be added, modified and deleted at any point in time without interfering with the
data values in the database.
6
Getting started with DHIS2 GIS
1.5.7. GIS
In the integrated GIS module you can easily display your data on maps, both on polygons
(areas) and as points (health facilities), and either as data elements or indicators. By providing
the coordinates of your organisational units to the system you can quickly get up to speed with
this module. See the GIS section for details on how to get started.
7
Data entry Data entry with DHIS2
The data entry module is where aggregated data is manually registered in the DHIS2 database.
Data is registered for an organisation unit, a period, and a set of data elements (data set) at a
time. A data set often corresponds to a paper-based data collection tool.
By now you should see the data entry form. From a form design perspective, there are three
types for forms: default forms, section forms and custom forms. If a custom form exists, it will
be displayed, followed in order of precedence by a section form, and finally a default form.
9
Data entry Entering data
Input validation: If you type in an invalid value, e.g. a character in a field that only accepts
numeric values you will get a pop-up that explains the problem and the field will be coloured
yellow (not saved) until you have corrected the value. If you have defined a min/max range
for the field (data element+organisation unit combination) a pop-up message will notify you
when the value is out of range, and the value will remain unsaved until you have changed the
value (or updated the range and then re-entered the value).
Disabled fields: If a field is disabled (grey) it means that the field can and should not be filled.
The cursor will automatically jump to the next open field.
Data history: By double-clicking on any input field in the form a data history window opens
showing the last 12 values registered for the current field (organisation unit+data element
+categoryoptioncombo) in a bar chart. This window also shows the min and max range and
allows for adjusting the range for the specific organisation unit and data element combination.
Follow Up: In the data history window there is also a feature to tag or star a value. E.g. a
suspicious value that needs further investigation can be kept in the system, but marked for
Follow-Up. In the Data Quality module you can run a Follow-Up analysis and view all values
marked for Follow-Up, and then later edit the values if proved incorrect.
Audit trail: The audit trail allows you to view other data values which have been entered prior
to the current value. As an example, the following data element was changed from its original
value to 120. The audit trail shows when the data value was altered along with which user
made the changes.
10
Data entry Editing and deleting data
If you want to delete a data value completely, you should select the value of interest, and press
"Delete" on your keyboard. If you enter a zero and the data element has been configured to
not store zeros, the previous data value (i.e. the one you wish to modify) will not be overwritten
with the new value. Therefore, it is better practice to delete the data value completely (waiting
for the cell to turn green) and then to enter the new value.
When you have corrected any erroneous values and are done with the form the recommended
practice is to click on the Complete button below the form to register the form as complete.
This information is used when generating completeness reports for district, county, province
or the national level.
When the server is able to be reached through the Internet connection, a message is displayed
at the top of the data entry screen below.
If the Internet connection should disconnect for some reason during the data entry process,
this will be detected by the application, and you will be informed that your data will be stored
locally.
11
Data entry Multi-organisation unit data entry
Data entry can proceed as normal. Once you have entered all of the necessary data, and the
application detects that the server is back on-line, you will be informed that you have data
which needs to be synchronized with the server.
Once the data has successfully synchronized with the server, you will receive a confirmation
message that the data has been successfully uploaded to the server.
12
Using Data Quality functionality Overview of data quality checks
The validation rule analysis function will test validation rules against the data registered in the
system. Validation violations will be reported in cases where the condition defined through the
validation rule expression is not met, i.e. the condition is false.
First, enter a start date and an end date for which data should be included in the analysis. The
date picker widget may be used to select dates.
13
Using Data Quality functionality Running Validation Rule Analysis
Second, choose between including all validation rules or all validation rules from a single group.
Third, choose between including the selected organisation unit only or the selected
organisation unit with all children in the analysis. Fourth, select the organisation unit. Finally,
click validate.
Validation results:
The analysis process will run for a while depending on the amount of data that is being
analysed. If there were no violations of the validation rules a message saying validation passed
successfully is displayed.
If validation violations were found, they will be presented in a list. The organisation unit, period,
left side description and value, operator, and right side value and description for each validation
violation are displayed.
The show details icon can be clicked in order to get more information about a validation
violation. This will open a popup screen that provides information about the data elements
included in the validation rules and their corresponding data values. This information can be
used in order to fix incorrect data.
The validation violations can be exported to a PDF document by clicking on the Download as
PDF button, and to a Microsoft Excel workbook by clicking on the Download as Excel button.
14
Using Data Quality functionality Std Dev Outlier Analysis
The standard deviation based outlier analysis provides a mechanism for revealing values that
are numerically distant from the rest of the data. Outliers can occur by chance, but they often
indicate a measurement error or a heavy-tailed distribution (leading to very high numbers). In
the former case one wishes to discard them while in the latter case one should be cautious
in using tools or interpretations that assume a normal distribution. The analysis is based on
the standard normal distribution.
First, select the from and to date for the data to include in the analysis.
Second, select the data set from which to pick data elements from.
Third, select all or some of the data elements in the data set by double-clicking or marking
them and clicking the add/remove buttons.
Fourth, select the parent organisation unit to use. All children of the organisation unit will be
included.
Fifth, select the number of standard deviations. This refers to the number of standard
deviations the data is allowed to deviate from the mean before it is classified as an outlier.
Analysis result:
The potential outlier values discovered will be presented in a list after the analysis process
is finished. The data element, organisation unit, period, minimum value, actual value, and
maximum value will be displayed for each outlier. The minimum and maximum values refer to
the border values derived from the number of standard deviations selected for the analysis.
Each outlier value can be modified directly in the analysis result page. The value can be
modified by clicking inside the corresponding field in the value column, entering a value and
then navigate away from that field either by clicking tab or anywhere outside the field. The
system will provide an alert if the value is still outside the defined minimum and maximum
values, but the value will saved in any case. The field will have a red background color if the
value is outside the range, and a green if inside.
15
Using Data Quality functionality Min-Max Outlier Analysis
Each outlier value can be marked for further follow-up by clicking the star icon.
16
Using reporting functionality Reporting functionality in DHIS2
Standard reports: Standard reports are built on pivot tables, but are more advanced in its
design allowing for more cosmetics and styles. These reports can also combine multiple tables
and charts in the same report and be made available as one-click reports that are very easy
to use. These reports can be downloaded as PDF files which makes them ideal for printing as
well as sharing offline.
Dataset reports: Dataset reports are simply a printer friendly way to look at the data entry
forms with either raw or aggregated data (over time or place). The design used in data entry
will be used also in the data set reports. This will work only for data sets that has a custom
data entry form set up.
Dashboard: The fastest way to view your data. The dashboard can display up to four updated
charts as well as shortcuts to your favourite reports, report tables, and map views. Each user
can configure a personal dashboard.
Data Visualizer: Do flexible visualizations of your data as charts and data tables. Any number
of indicators and data elements can be included. Several chart types are available, such as
column, stacked column, line, area and pie charts. The charts can be saved in order to be easily
retrieved later and can also be put on your personal dashboard. Charts can be downloaded as
image and PDF files to your local computer.
Orgunit distribution reports: These reports are generated off the orgunit group set information
and can show what types (and how many of each type) of health facilities that are located in a
given area (any level in the hierarchy). These reports are automatically generated and display
the information in both tables and charts, and downloads in PDF, excel, and CSV are available.
Reporting rate summary: These reports provide a nice overview of how many facilities that
have submitted their data for a given dataset and period. Here you can get both the counts
and the percentages showing the reporting rate for all or single data sets.
Web-based pivot tables: The built in pivot table tool is a web-based tool to display indicator
data by orgunit and period in a typical pivot table view and allows for pivoting manipulations
of the tables. It allows for large amounts of data to be downloaded offline for analysis as well.
GIS: Present and analyse your data using thematic maps. You can view both data elements
and indicators and given that you have coordinates for all your orgunits you can drill down
the hierarchy and view maps for all levels from country polygons to facility points. See the
separate chapter on GIS for more details. All the map information is built into DHIS2 and all you
need to do is to register coordinates for your organisation units and the maps will be available.
17
Using reporting functionality Using dataset reports
Standard reports
You run/view a report by clicking on the name of the report and then selecting "Create" from
the contextual menu. If there are any pre-defined paramaters, you will see a report parameter
window where you must fill in the values needed for orgunit and/or reporting month, depending
on what has been defined in the underlying report table(s). Click on "Get Report" when you
are ready. The report will either appear directly in your browser or be available as a PDF file
for download, depending on your browser settings for handling PDF files. You can save the file
and keep it locally on your computer for later use.
A Criteria window will appear where you fill in the details for your report:
Reporting period: The actual period you want data for. This can be aggregated as well as raw
periods. This means that you can ask for a quarterly or annual report even though the data
set is collected monthly. A data set's period type (collection frequency) is defined in data set
maintenance. First select the period type (Monthly, Quarterly, Yearly etc.) in the drop down
next to Prev and Next buttons, and then select one of the available periods from the dropdown
list below. Use Prev and Next to jump one year back or forward.
Use data for selected unit only: Use this option if you want a report for an orgunit that has
children, but only want the data collected directly for this unit and not the data collected by
its children. If you want a typical aggregated report for an orgunit you do not want to tick this
option.
Reporting Organisation unit: Here you select the orgunit you want the report for. This can be
at any level in the hierarchy as the data will be aggregated up to this level automatically (if
you do not tick the option above).
When you are done filling in the report criteria you click on "Generate". The report will appear
as HTML in a printer-friendly format. Use the print and save as functions in the browser to print
or save (as HTML) the report.You can also export the data set report in Excel and PDF formats.
18
Using reporting functionality Using resources
To create a resource click on the "Add new" button. Enter a name for the resource, then choose
between uploading a file or external URL. If you chose file upload click "Choose file" and select
your file your local computer. If you chose URL enter the link to the resource on the Internet.
Then click "Save".
• Based on complete data set registrations. A complete data set registration refers to a user
marking a data entry form as complete, typically by clicking the complete button in the data
entry screen, hereby indicating to the system that she considers the form to be complete.
This is i.e. a subjective approach to calculating completeness.
• Based on compulsory data element: You can define any number of data elements in a data
set to be compulsory. This implies that data values must be captured for all data elements
which have been marked as compulsory in order for the data set to be considered complete.
This is i.e. an objective approach to calculating completeness.
The reporting rate summary will for each row show a range of measures:
• Actual reports: Indicates the number of data entry complete registrations for the relevant
data set.
• Expected reports: Indicates how many data entry complete registrations are expected. This
number is based on the number of organisation units the relevant data set has been assigned
to (enabled for data entry).
• Percent: The percentage of reports registered as complete based on the number expected.
• Reports on time: Same as actual reports, only reports registered as complete within the
maximum number of days after the end of the reporting period. This number of days after
reporting period can be defined per data set in the data set management.
• Percent on time: Same as percentage, only reports registered as complete on time used as
numerator.
• Select one of the completeness methods to use to calculate the reporting rates.
Select all or one data set. All will give you a report with all data sets for the selected
organisation unit. A single data set will give you a report with completeness for all children
of the selected organisation unit.
• Select a period type and a period from the list of available periods for that period type. Move
back/forward one year by using the prev/next buttons.
• The report will then be rendered. Change any of the parameters above and the report will
be updated automatically.
19
Using reporting functionality Using organisation unit distribution
reports
Reporting rate summary
Orgunit distribution reports are reports that show how the orgunits are distributed on various
properties like type and ownership, and by geographical areas.
Running a report:
To run a report first select an orgunit in the upper left side orgunit tree. The report will be
based on orgunits located under the selected orgunit. The select the orgunit group set that you
want to use, typically these are Type, Ownership, Rural/Urban, but can be any user-defined
orgunit group set. The you can click on either Get Report to get the table-based presentation
or Get chart to get the same result in a chart. You can also download other format such as
PDF, Excel and CSV.
20
Using the Pivot Table app About the Pivot table app
From these dimensions you can freely select dimension items to include in the pivot table.
You can create additional dimensions in DHIS2 with the group set functionality. This allows for
different aggregation pathways, such as aggregation by "Partner" or facility type.
A pivot table can arrange data dimensions on columns, rows, and as filters. When you place
a data dimension on columns, the pivot table will display one column per dimension item. If
you place multiple data dimensions on columns, the pivot table displays one column for all
combinations of the items in the selected dimensions. When you place a data dimension on
rows, the pivot table displays one row per dimension item in a similar fashion. The dimensions
you select as filters will not be included in the pivot table, but will aggregate and filter the table
data based on the selected filter items.
Example pivot table with data elements on columns and periods as rows.
21
Using the Pivot Table app Select dimension items
marking it and clicking on the arrow in the section header or simply double-clicking on the item.
Before you can use a data dimension in your pivot table you must at least select one dimension
item. If you arrange a dimension as columns or rows but do not select any dimension items,
the dimension is ignored.
You must choose at least one data dimension type to create a pivot table. The available types
are described in this table:
22
Using the Pivot Table app Select dimension items
You can combine these dimensions to display for example aggregate data with reporting rates,
or event data items together with program indicators, all in the same pivot tables. For the "data
element" data dimension, you are also able to select "Totals" and "Details", which will allow
you to view different category combination options together on the same pivot table.
For the period dimension you can choose between using fixed periods or relative periods. An
example of a fixed period is "January 2012". To select fixed periods start by selecting a period
type from the period type list. You can then select periods from the list of available periods.
Relative periods are periods relative to the current date. Examples of relative periods are "Last
month", "Last 12 months", "Last 5 years". Relative periods can be selected by ticking the check-
boxes next to each period. The main advantage of using relative periods is that when you save
a pivot table favorite, it will stay updated with the latest data as time goes by without the need
for constantly updating it.
For the organisation unit dimension you can select any number of organisation units from the
hierarchy. To select all organisation units below a specific parent organisation unit, right click
and click "Select all children". To manually select multiple organisation units, click and hold
the Ctrl key while clicking on organisation units. You can tick "User org unit", "User sub-units"
or "User sub-x2-units" in order to dynamically insert the organisation unit or units associated
with your user account. This is useful when you save a pivot table favorite and want to share
it with other users, as the organisation units linked with the other user's account will be used
when viewing the favorite.
Dynamic dimensions can consist of organisation unit group sets, data element group sets, or
category option group sets which have been configured with the type of "Disaggregation".
Once the group sets have been configured, they will be come available in the pivot tables,
and can be used as additional analysis dimensions, for instance to analyse aggregate data
23
Using the Pivot Table app Modify pivot table layout
by Type of organisation unit or Implementing partner. Dynamic dimensions work the same as
fixed dimensions.
Tip
Some dynamic dimensions may contain many items. This can cause issues with certain
browsers due to the length of the URL when many dimension members are selected. A
special "All" check box is available for dynamic dimensions, which allows you to include
all available dimensions implicitly in your pivot table, without specifying each and every
dimension member.
After you have set up your pivot table you can click "Update" to render your pivot table, or click
"Hide" to hide the layout screen without any changes taking effect. Since we in our example
24
Using the Pivot Table app Change the display of your table
have selected both the period and organisation unit dimension as rows, the pivot table will
generate all combinations of the items in these dimensions and produce a table like this:
Pivot table where organisation units and periods are repeated on rows.
Table 5.2. Table options
Option Description
Show column totals Displays total values in the table for each row and
column, as well as a grand total for all values in the
Show row totals table.
Show column sub-totals Displays subtotals in the table for each dimension.
In the screenshot above, notice how subtotals
Show row sub-totals are generated for each of the periods in the
period dimension. If you only select one dimension,
subtotals will be hidden for those columns or rows.
This is because the values will be equal to the
subtotals.
Show dimension labels Shows the dimension names as part of the pivot
tables.
Hide empty rows Hides empty rows from the table, which is useful
when looking at large tables where a big part of the
dimension items do not have data in order to keep
the table more readable.
Skip rounding Skips the rounding of data values, offering the full
precision of data values. Can be useful for finance
data where the full dollar amount is required.
Aggregation type The default aggregation operator can be over-ridden
here, by selecting a different aggregation operator.
Some of the aggregation types are Count, Min and
Max.
Show hierarchy Shows the name of all ancestors for organisation
units, for example "Sierra Leone / Bombali /
Tamabaka / Sanya CHP" for Sanya CHP. The
organisation units are then sorted alphabetically
25
Using the Pivot Table app Manage pivot table favorites
Option Description
which will order the organisation units perfectly
according to the hierarchy.
Include only completed events Includes only completed events in the aggregation
process. This is useful for example to exclude partial
events in indicator calculations.
Display density Controls the size of the cells in the table. You can set
it to "comfortable", "normal" and "compact".
3. Click Update.
To create an interpretation of a pivot table and share it with all users of the system:
1. Click Favorites > Write interpretation.
26
Using the Pivot Table app Modify sharing settings for a
favorite
2. In the text field, type a comment, question or interpretation.
3. Click Share.
The data table will have one column per dimension and contain names of the dimension
items.
27
Using the Pivot Table app Download plain data source format
Tip
You can create a pivot table in Microsoft Excel from the downloaded Excel file.
Table 5.3. Available formats
5.5.3. Download a CSV format without rendering data in the web browser
You can download data in CSV format directly without rendering the data in the web browser.
This helps to reduce any constraints in the system settings that has been set with regards to
the maximum number of analytic records. This lets you download much larger batches of data
that you can use for later offline analysis.
28
Using the Pivot Table app Embed a pivot table in an external
web page
To download data in CSV format without first rendering data in the web browser:
1. Click the arrow beside Update.
Tip
You can also download CSV format based on Code or Name property.
To generate a HTML fragment that you can use to display the pivot table in an external web
page:
1. Click Embed.
2. Click Select to highlight the HTML fragment.
29
Using the Pivot Table app Open a pivot table as a map
2. To verify the selection, hold the cursor over Open selection as chart. The highlighted
dimension headers in the table indicate what data will be visualized as a chart.
3. Click Open selection as chart.
A menu displays.
2. Click Open selection as map.
Tip
Pivot tables in DHIS2 are limited to a system set parameter, which controls the number
of data values which can be returned. The reason for this is two fold. First, it would be
easy to overwhelm the server with a very complicated request for a large pivot table.
Second, the amount of data which is able to be rendered in a browser is fairly limited. If
you are having problems with very large or complex tables, consider to try and reduce
the number of items. It is usually more useful to have smaller, concise tables which are
easier to understand and which address a particular analysis.
30
Using the Data Visualizer app Data Visualizer overview
With the Data Visualizer app, you can select content, for example indicators, data elements,
periods and organisation units, for an analysis. The app works well over poor Internet
connections and generates charts in the web browser. Little data is transferred over the
Internet.
• You can hide and show individual data series in the chart by clicking directly on the series
label in the chart. They appear either at the top or to the right of the chart.
• You can click on the triple left-arrow button on the top centre menu. This collapses the left
side menu and gives more space for the chart. You can get the menu back by clicking on
the same button again.
Last 12 Months from the period dimension and the root organisation unit are selected by
default.
4. Click Layout and arrange the dimensions.
31
Using the Data Visualizer app Select dimension items
Table 6.1. Chart types
2. Click Update.
• Data: Includes data elements, indicators and datasets (reporting rates), describing the
phenomena or event of the data.
The Data Visualizer app lets you use these dimensions completely flexible in terms of appearing
as series, categories and filter.
32
Using the Data Visualizer app Select indicators
Note
You can select dimension items in different ways:
• Double-click a dimension item name.
• Highlight one or several dimension items and click the single-arrow.
• To select all dimension items in a list, click the double-arrow.
• To deselect dimension items, use the arrows or double-click the names in the Selected
list.
The data elements in the selected group appear in the Available list.
3. Select one or several data elements by double-clicking the name.
You can combine fixed periods and relative periods in the same chart. Overlapping periods
are filtered so that they only appear once.
33
Using the Data Visualizer app Select organisation units
• Fixed periods: In the Select period type box, select a period type. You can select any
number of fixed periods from any period type.
• Relative periods: In the lower part of the Periods section, select as many relative periods
as you like. The names are relative to the current date. This means that if the current
month is March and you select Last month, the month of February is included in the chart.
Table 6.2. Selection modes
Here you can add dimension items such as age, sex, etc. without having to add them as detailed
data element selections. This is useful when you want to separate these categories in your
analysis.
34
Using the Data Visualizer app Select series, category and filter
The additional dimension items you select are available in Chart layout as dimensions.
You can define which dimension of the data you want to appear as series, category and filter.
1. Click Layout.
2. Drag and drop the dimensions to the appropriate space. Only one dimension can be in each
section.
3. Click Update.
35
Using the Data Visualizer app Select series, category and filter
• Series: A series is a set of continuous, related elements (for example periods or data
elements) which you want to visualize in order to emphasize trends or relations in its data.
• Categories: A category is a set of elements (for example indicators or organisation units) for
which you want to compare its data.
• Filter: Since most charts are two-dimensional, a filter must be used on the third dimension
in order to use only a single element for the chart to become meaningful.
36
Using the Data Visualizer app Change the display of your chart
1. Click Options.
Table 6.3. Chart options
Option Description
Show values Shows the values above the series in the chart.
Hide empty category items Hides the category items with no data from the chart.
Show trend lines Displays the trend line which visualizes how your
data evolves over time. For example if performance
is improving or deteriorating. Useful when periods
are selected as category.
Target value / title: Displays a horizontal line at the given domain value.
Useful for example when you want to compare your
performance to the current target.
Base value / title: Displays a horizontal line at the given domain value.
Useful for example when you want to visualize how
your performance has evolved since the beginning
of a process.
37
Using the Data Visualizer app Download a chart as an image or a
PDF
Option Description
Sort order: Allows you to sort the values on your chart from
either low to high or high to low.
Aggregation type: Defines how the data elements or indicators will
be aggregated within the chart. Some of the
aggregation types are By data element, Count, Min
and Max.
Include only completed events Includes only completed events in the aggregation
process. This is useful when you want for example to
exclude partial events in indicator calculations.
Range axis min/max: Defines the maximum and minimum value which will
be visible on the range axis.
Range axis tick steps: Defines the number of ticks which will be visible on
the range axis.
Range axis decimals: Defines the number of decimals which will be used
for range axis values.
Range axis title: Type a title here to display a label next to the range
axis (also referred to as the Y axis). Useful when you
want to give context information to the chart, for
example about the unit of measure.
Domain axis title: Type a title here to display a label below the domain
axis (also referred to as the X axis). Useful when you
want to give context information to the chart, for
example about the period type.
Hide chart legend Hides the legend and leaves more room for the chart
itself.
Hide chart title Hides the title of your chart.
Chart title: Type any title here to display it above the chart.
3. Click Update.
1. Click Download.
The file is automatically downloaded to your computer. Now you can for example embed the
image file into a text document as part of a report.
38
Using the Data Visualizer app Download chart data source
1. Click Download.
2. Under Plain data source, click the format you want to download.
Table 6.4. Available formats
39
Using the Data Visualizer app Manage chart favorites
Saving your charts as favorites makes it easy to restore them later. It also gives you the
opportunity to share them with other users as an interpretation or display them on the
dashboard.
You can either use Prev and Next or the search field to find a saved favorite.
40
Using the Data Visualizer app Overwrite a favorite
You can either use Prev and Next or the search field to find a saved favorite.
3. Click the green overwrite icon next to the favorite's name.
4. Click OK to confirm that you want to overwrite the favorite.
To create an interpretation of a chart and share it with all users of the system:
1. Open or create a favorite chart.
2. Click Share > Write interpretation.
The dialog box closes automatically. You can see the interpretation on the Dashboard.
1. Click Favorites.
2. Find the favorite you want to share.
You can either use Prev and Next or the search field to find a saved favorite.
3. Click the blue share icon next to the favorite's name.
4. In the text box, enter the name of the user group you want to share your favorite with and
click the + icon.
41
Using the Data Visualizer app Delete a favorite
7. Click Save.
You can either use Prev and Next or the search field to find a saved favorite.
3. Click the red delete icon next to the favorite's name.
4. Click OK to confirm that you want to delete the favorite.
To generate a HTML fragment that you can use to display the chart in an external web page:
42
Using the GIS app About the GIS app
• The icons in the left upper corner represent the vector layers and they are the starting point
of the GIS app.
• In the top right corner you get an overview of the layers:
• If you are online you will see Google Streets and Google Hybrid which can be used as
background maps and layers. Switch between the two of them by checking the check box.
The default base map is OpenStreetMap. To get a nice background map, select the OSM
Light. By clearing a box you can hide the corresponding background completely.
• If you want to see the background, but with reduced opacity, you can set the visibility to
something lower than 100 % in the box to the right.
• The final four layers are the vector layers which you use for thematic mapping (explained
in the next section). The panels below hold the map legends when you create a thematic
map. A legend explains the link between values and colors on your map.
• Zoom to content automatically adjusts the zoom level and map center position to put the
data on your map in focus.
• To get information for an event you can simply click on it. This opens a pop-up window which
displays all available information for that event.
• The current longitude and latitude position of the mouse cursor is displayed in the bottom
right corner of the map.
43
Using the GIS app Manage event layer
• Event layer
• Facility layer
• Boundary layer
• Thematic layer 1 - 4
3. Click Edit layer and select the parameters you need..
4. Click Update.
Event layer
If there is only one stage available for the selected program, the stage is automatically
selected. A list of data elements and attributes will appear in the Available data items panel.
4. Select any data element or attribute from this list as part of your query.
• To select you can either double-click a data element or (multi) select and use the single-
arrow downward button. The double-arrow button will select all data elements in the list.
All selected data elements will get their own row in the Selected data items.
• You can use an element multiple times in your query by clicking Duplicate.
• For data elements of type text you will get two choices: Contains implies that the query will
match all values which contains your search value, and Is exact implies that only values
which is completely identical to your search query will be returned.
• For data elements of type option set, you can select any of the options from the drop down
box by using the down-wards arrow or by start typing directly in the box to filter for options.
44
Using the GIS app Turn off cluster
5. In the Periods section, select the time span for when the events took place. You can select
either a fixed period or a relative period.
• Fixed period: In the Period field, select Start/end dates and fill in a start date and an end
date.
• Relative period: In the Period field, select one of the relative periods, for example This
month or Last year.
6. In the Organisation units section, select the organisation units you want to include in the
query.
7. In the Options section, select if you want group nearby events and change style of the cluster
points.
8. Click Update.
45
Using the GIS app Clear event layer
Facility layer
46
Using the GIS app Clear facility layer
Boundary layer
You can select the organisation units you want to show on the map by selecting a level and a
parent. That means "show all organisations units at this level that are children of this parent".
4. In the Options section, select if you want to show labels and if so, how they look.
5. Click Update.
47
Using the GIS app Navigate between organisation
hierarchies
2. Click Search.
The drill down option is disabled if you are on the lowest level or if there are no coordinates
available on the level below. Vice versa goes for floating up.
Note
You must refresh the DHIS2 analytics tables to have aggregated data values available.
Thematic mapping
48
Using the GIS app Create or modify a thematic layer
• Automatic legend types means that the application will create a legend set for you based
on your what method, number of classes, low color and high color you select. Method
alludes to the size of the legend classes.
Set to Equal intervals they will be “highest map value – lowest map value / number of
classes”.
Set to Equal counts the legend creator will try to distribute the organisation units evenly.
The legend appears as an even gradation from the start color to the end color.
• If you have facilities in your thematic layer, you can set the radius for maximum and
minimum values by changing the values in the Low color / size and High color size boxes.
• For information about Predefined legend sets, see Section 7.10, “Manage map legend
sets” .
6. In the Options section, select if you want to show labels and if so, how they look.
7. Click Update.
49
Using the GIS app Clear thematic layer
The drill down option is disabled if you are on the lowest level or if there are no coordinates
available on the level below. Vice versa goes for floating up.
2. Click Clear.
You can view organisation unit information set by the administrator in two different ways.
Function Action
View information for the current 1. Click a facility.
period
View information for a selected 1. Right-click a facility and click Show information.
period 2. In the Infrastructural data section, select a period.
50
Using the GIS app Manage Earth Engine layer
The Google Earth Engine layer lets you display satellite imagery and geospatial datasets from
Google's vast catalog. This layer is useful in combination with thematic and event layers to
enhance analysis. The following layers are supported:
• Nighttime lights: Lights from cities, towns, and other sites with persistent lighting, including
gas flares (from 2013)
The meaning of these values depend on which data set you've selected.
The number of steps means the number of distinct colors in the color scale.
6. Click Update.
51
Using the GIS app Manage map favorites
Saving your maps as favorites makes it easy to restore them later. It also gives you the
opportunity to share them with other users as an interpretation or put it on the dashboard. You
can save all types of layers as a favorite. A favorite always opens with the default background
map.
You can either use Prev and Next or the search field to find a saved favorite.
3. Click the grey rename icon next to the favorite's name.
52
Using the GIS app Overwrite a favorite
You can either use Prev and Next or the search field to find a saved favorite.
3. Click the green overwrite icon next to the favorite's name.
4. Click OK to confirm that you want to overwrite the favorite.
To create an interpretation of a map and share it with all users of the system:
1. Open or create a favorite map.
2. Click Share > Write interpretation.
The dialog box closes automatically. You can see the interpretation on the Dashboard.
1. Click Favorites.
2. Find the favorite you want to share.
You can either use Prev and Next or the search field to find a saved favorite.
3. Click the blue share icon next to the favorite's name.
4. In the text box, enter the name of the user group you want to share your favorite with and
click the + icon.
53
Using the GIS app Delete a favorite
• Can view
• Can edit and view
7. Click Save.
You can either use Prev and Next or the search field to find a saved favorite.
3. Click the red delete icon next to the favorite's name.
4. Click OK to confirm that you want to delete the favorite.
Note
Continuous legends are supposed to end and start on the same value, for example 0-50
and 50-80. The GIS app automatically take care of this. Do not try to do this yourself
by setting legends to for example 0-50 and 51-80. This will cause a usually unwanted
gap in your legend set.
5. Click Create.
Note
If your legend set has overlapping legends (for example 0-50 and 40-80) you will not
be allowed to proceed. If your legend set has a gap between the legends (for example
0-50 and 60-80) you will get a warning, but are allowed to proceed.
To generate a HTML fragment that you can use to display the map in an external web page:
55
Using the GIS app Search for a location
1. On the left side of the GIS window, click the magnifier icon.
2. Type the location you're looking.
56
Dashboards Setting up the dashboard
Chapter 8. Dashboards
Dashboards are intended to provide quick access to different analytical objects (maps, charts,
reports, tables, etc) to an individual user. Dashboards can also be shared with user groups. For
instance, a user or administrator could create a dashboard called "Malaria" which might contain
all relevant information on malaria. This dashboard could then be shared with the user group
called "Malaria control", which might consist of all users of the malaria control programme. All
users within this group would then be able to view the same dashboard.
In this screen shot, the dashboard has already been populated with a number of objects, such
as charts, map views, tables and messages. There are several hyperlink options available on
each item:
• Remove
Allows you to remove the item from the dashboard when you have the appropriate user
rights.
• Get as Image
Opens up a pop-up window and allows you to download the image to your computer.
• Share interpretation
Allows you to share an interpretation of the dashboard item. Your interpretation will be
shared publicly with other users of the DHIS2 system, in the "Interpretation" section of the
dashboard.
• Explore
Loads the favorite in its corresponding app (ie. a map will open full-sized in the GIS app).
• Resize
Resizes the dashboard item. There are 3 sizes in which to choose from.
57
Dashboards Managing the Dashboard
Maps, charts and tables can be viewed as full size as images (in the case of charts and map
views) or as HTML resources (in the case of reports, tables and messages).
To reorder how the dashboard appears, simply drag-and-drop any of the objects to a new
position. In order to change between the various dashboards which are available, simply select
the listed items that are available to review. The list can be scrolled though by using the <,
> symbols to the left of the dashboard names.
• Add
Can change the name of the dashboard, add messages to or delete the dashboard. This
applies to the currently selected dashboard item.
• Share
Allows the sharing of dashboard items with user groups. User permissions can also be
assigned to each user group.
This option, when selected, provides access to the dashboard as an external resource. This is
useful for when you are creating an external web portal but would like to call information from
a dashboard you have made internally within DHIS2. By default, this option is not selected.
58
Dashboards Manage messages and feedback
messages
• Public access (with login)
This option allows the selected dashboard to be pushed to all users within your DHIS2
instance. This can also be hidden from public view by selecting the "None" option, which is
the default option for new dashboards.
User groups which have been added manually can be assigned two types of permissions within
the dashboard
• Can view
Provides the user group with view only rights to the dashboard.
Allows the user groups to edit the dashboard in addition to viewing it. Editing allows for
altering the layout, resizing and removing items, renaming/deleting the dashboard etc.
Within DHIS2 you can send messages and feedback messages to users, user groups and
organisation units. When you send a feedback message, it is routed to a particular user group.
If you're a member of this user group, you've access to feedback handling tools. You can
for example set the status of an incoming feedback to "Pending" while you're waiting for
information.
Note
Messages and feedback messages are not sent to users' e-mail addresses, the messages
only appear within DHIS2.
59
Dashboards Create a message
If the message is part of a conversation, you'll see all messages in this conversation.
The feedback message will appear in all of the specified users' inboxes.
60
Dashboards Manage feedback messages
2. Click Apps > Settings > General > Feedback recipients and select the user group.
Note
You'll only see feedback messages and have access to the feedback handling tools if
you are a member of the user group that is set up to handle feedback messagess.
You'll receive feedback messages to your Messages inbox. For feedback messages you've the
following options in addition to the messages options:
Function Description
Set status All feedback messages get the status Open
when created.
61
User profiles User settings
User can choose to receive their messages via email and/or SMS by ticking the appropriate
check boxes.
If no value is set for a given user setting, the system setting value will be used.
63