4 IM Metadata Specification

4.1 Introduction

In the previous chapter, we learned about the IM PMP indicators and how they are stored or constructed in the IM Data Hub. That is essential knowledge for you to start monitoring IM PMP indicators from the source to how they are presented in the IM Data Hub.

In this chapter, we’ll dive deep and explore what lies beneath the IM Data Hub, the metadata. Metadata defines what, why, where, and how parts are set up in the IM Data Hub. They provide references to different objects in the IM Data Hub.

Already you are familiar with data sets, data elements, indicators: all these are essentially metadata themselves.

The IM Data Hub metadata are specified in either CSV, JSON or XML formats and are available at the metadata API endpoint:

https://imdatahub.org/api/metadata

Metadata has a name, uid, code that uniquely identifies the object in the IM Data Hub. It also has a sharing setting that defines the access group (have a look to the section ‘Access model’ for further info on this).

All IM Data Hub metadata can be accessed individually by specifying their names or ids on the API endpoint. For example, the metadata for a data element with the short name suspected malaria cases is accessed at:

https://imdatahub.org/api/29/dataElements/eHWYhy8vO8q.json

In the following sections we discuss the IM Data Hub metadata in three main groups:

  1. Organization Unit that stores information about the location where IM indicator data is reported, analyzed, or presented,
  2. Metadata that specifies what, why, and how IM Data Hub components are set up. They include; datasets, data elements, sections, data elements groups and group sets, organization unit groups and group sets, indicators, indicator groups, categories, category options, categories, category combinations, and category option combinations,
  3. CORE metadata - any metadata that is shared publicly within the IM Data Hub for re-usability across the IM Data Hub.

4.2 Organization Units (OUs)

Organization Units specify the location or where the IM data elements are collected, analyzed, or presented.

There are two main types of OUs in the IM Data Hub:

  1. Test - a list of OUs for development and testing objects. This is where we have been doing our practices,
  2. World - a list of OUs for production or real use in the IM Data Hub.

The OUs in DHIS2 are structured in the form of a tree or through a hierarchy to allow entries, data processing, and drill downs/ups on the Analytics apps. They also define access levels in the IM Data Hub (have a look to the section ‘Access model’ for further info on this)).

The IM Data Hub OUs are grouped into OU groups and group sets for disaggregation of IM data elements and indicators. We discuss the groups in section 4.2.2

4.2.1 OU Trees

As we mentioned above, the IM Data Hub OUs are organized in a tree-like structure that provides different levels for reporting, data processing, and presentation of IM data. In this section, we describe the OU structure by country.

The structure is in the form hierarchy and begins with the country to subnational level 4.

Country Subnational level 1 Subnational level 2 Subnational level 3 Subnational level 4
Cameroon Region District Aire de santé Facility
Cote d’Ivoire Region District Facility /
DRC Province Zone de santé Aire de santé Facility
Kenya County Sub-county Ward Facility
Ghana Region District Sub-district Facility
Mali Region District Aire de santé Facility
Niger Province District Sanitaire Aire de santé Facility
Sierra Leone Province District Chiefdom Facility
Zambia Province District Facility /

The following is the Metadata endpoint for organization unit levels. https://imdatahub.org/api/organisationUnitLevels.json

Next we’ll talk about the OU groups and group sets.

4.2.2 OU Groups, OU Group sets

The IM Data Hub OUs consist of the following OU groups and group sets by countries and the type or owenrship of facility:

Table 4.1: A table showing OU groups and group set
OU group set OU groups
CM - Facility Type (OU Group set) CM CSI, CM Hopital, CM Unknown facility type, CM CMA
CM - Ownership Type (OU Group set) CM Public
ML - Facility Type (OU Group set) ML Hospital, ML CSCom, ML CSRef
ML - Ownership Type (OU Group set) ML Public
NE - Facility type NE CSI, NE Hopital
NE - Ownership type NE Public

4.3 Metadata

The IM Data Hub implements the following metadata types:

Table 4.2: A table showing metadata types implimented in the IM Data Hub
Metadata Description
Data elements

Description

Data elements forms the basis of the IM Data Hub. They define what is recorded in the system.IM Data Hub data elements follows PSI DHIS2 standards for names and short names & the IM Indicator matrix for the form names.

For instance: IM CR - DX Suspected malaria cases is a data element that records suspected malaria cases

Date element groups

Description

Data element groups provides a mechanism for classifying IM Data Hub data elements into a common theme.

For instance: CD Supportive Supervision groups together all IM supportive supervision data elements. recorded in Congo
Data sets

Description

Data reporting in the IM Data Hub is organized through the use of the use of data sets.

A data set is a collection of data elements grouped together for data collection.

For instance: IM Case Reporting is a data set used to report case reporting data globally

Sections

Description

Section are used to split the IM Data Hub data sets into small reportable chunks known as modules.

They allow for a bit more flexibility when it comes to using the tabular forms in DHIS2 and are quick and simple to design.

For instance: Diagnosis, Treatment, MIP and Reporting are section within the IM Case Reporting data set

Category combos

Description

Category combos are used to apply IM disaggregation onto the data elements and indicators.They allow multiple categories to be combined into a related set.

For instance: IM PMP DX 1 - Percentage of confirmed malaria cases (NP) is disaggregated according to the following categories; CORE - Sex | CORE - Parasitological test | CORE - Age-group

Periods

Description

IM Data Hub supports DHIS2 standard period types to report and analyze performance over time.

For instance: 201901 to report on January of 2019

Indicator

Description

Indicators allows the computation of IM data. They consist of a numerator, a denominator and a data element

Indicator groups

Description

Similar to data elements groups, indicator groups - groups together IM indicator to allow easy access from the analytical tools

For instance: KE PMP is an indicator group with all PMP indicators for Kenya

4.4 CORE Metadata

CORE Metadata are reserved objects in the data hub. They are shared publicly within the IM Data Hub for re-use in the IM Data Hub. There are two main types of CORE metadata.

  1. Category: a group of cat options for disaggregation/attributes,
  2. Category Combination: a combination of classes used to apply disaggregation onto data elements/indicators.

The following is a list of all IM Data Hub CORE metadata.

4.4.1 Category

Table 4.3: A table showing core categories set in the IM Data Hub
name id dataDimensionType categoryOptions
CORE - Age group JhSWHy2jOSU DISAGGREGATION < 5 years, >= 5 years, Unknown age group
CORE - Age group (CU5) Xefm8oW3pkF DISAGGREGATION 3-11 months, 12-59 months, Unknown age group
CORE - Malaria case pDXpwgS0vPG DISAGGREGATION Presumed, Confirmed, Unknown malaria case
CORE - Parasitological test lcitYzHH0qa DISAGGREGATION RDT, Microscopy, Unknown parasitological test
CORE - Sex R192IcXWsCx DISAGGREGATION Male, Female, Unknown sex
CORE - Type of health facility yYOva72MZyZ DISAGGREGATION Public, Private, Other type of HF, Unknown type of HF
CORE - Type of health facility (correct) NNFAQZG9keS DISAGGREGATION Hospital, Health centre, Other type of HF, Unknown type of HF
CORE - Type of health worker gwgoQPKhJdq DISAGGREGATION Supervisor, Clinical staff, Laboratory-based staff, Community-based staff, Other type of HW, Unknown type of HW

4.4.2 Category Combination

Table 4.4: A table showing core category combos set in the IM Data Hub
name id dataDimensionType categories
CD - Type of health facility | CORE - Type of health facility trkkw7Sqneh DISAGGREGATION CD - Type of health facility, CORE - Type of health facility
CORE - Age-group s6PIj7AEo4C DISAGGREGATION CORE - Age group
CORE - Age-group (CU5) XRB1m49tshW DISAGGREGATION CORE - Age group CU5
CORE - Malaria case vuvcFOW0mGh DISAGGREGATION CORE - Malaria case
CORE - Malaria case | Sex | Age-group ritXllZj5kI DISAGGREGATION CORE - Malaria case, CORE - Sex, CORE - Age group
CORE - Parasitological test cCnujLPVBoQ DISAGGREGATION CORE - Parasitological test
CORE - Parasitological test | Age-group jyv6IyPKPo2 DISAGGREGATION CORE - Parasitological test, CORE - Age group
CORE - Sex d8pbG5hn8ez DISAGGREGATION CORE - Sex
CORE - Sex | Age-group NnVXBadHoq5 DISAGGREGATION CORE - Sex, CORE - Age group
CORE - Sex | Age-group (CU5) x2c5hEXrAtG DISAGGREGATION CORE - Sex, CORE - Age group CU5
CORE - Type of health facility gfezS3MheUM DISAGGREGATION CORE - Type of health facility
CORE - Type of health worker | Sex tbPCZwFdG5Y DISAGGREGATION CORE - Type of health worker, CORE - Sex
GH - Type of health facility | CORE - Type of health facility tCP9XXfJUz0 DISAGGREGATION GH - Type of health facility, CORE - Type of health facility
KE - Type of health facility | CORE - Type of health facility bbcas85CNo2 DISAGGREGATION KE - Type of health facility, CORE - Type of health facility