dhis2-data-values

Extract and post raw DHIS2 data values via the dataValueSets API.

Updated Jan 20, 2026
One-click install
npx skills add https://github.com/BLSQ/mcp_servers --skill dhis2-data-values
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dhis2-data-values
Source: https://github.com/BLSQ/mcp_servers/tree/main/.claude/skills/dhis2-data-values
Command: npx skills add https://github.com/BLSQ/mcp_servers --skill dhis2-data-values

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the challenge of extracting and posting raw DHIS2 data values via the dataValueSets API to ensure submissions reflect actual measurements rather than aggregated analytics.

Core Features & Use Cases

  • Retrieve raw data values for specific data elements, datasets, org units, periods, or date ranges.

  • Post prepared data values with options for dry-run and import strategies (CREATE, UPDATE, CREATE_AND_UPDATE, DELETE).

  • Support advanced filtering (last_updated, children, pagination) and easy enrichment of results.

Quick Start

Use the dhis2-data-values skill to retrieve data values for a specified data element, period, and organization unit, then post a sample payload with an import strategy to demonstrate the workflow.

Frequently Asked Questions about dhis2-data-values

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract raw DHIS2 data values for specific org units and periods?

Extract raw DHIS2 data values by querying the dataValueSets API with filters for data elements, org units, datasets, and date ranges. You can retrieve values for single periods, date ranges, or grouped datasets.

Can I test DHIS2 data value imports before committing changes to the database?

Yes, you can test DHIS2 data value imports using the dry-run option before posting. This validates payload construction and import strategies like CREATE, UPDATE, CREATE_AND_UPDATE, or DELETE without modifying data.

What is the difference between posting raw data values and aggregated analytics in DHIS2?

Posting raw data values submits actual measurements via the dataValueSets API, ensuring operational data reflects source entries. Aggregated analytics compute derived summaries, which may not represent precise submitted values.

How do I filter DHIS2 data values by last updated date or paginate large results?

Filter DHIS2 data values using last_updated, children, and pagination parameters within the dataValueSets API query. These filters narrow results and manage large payloads efficiently.

What import strategies are supported when posting DHIS2 data value sets?

Supported import strategies for posting DHIS2 data value sets include CREATE, UPDATE, CREATE_AND_UPDATE, and DELETE. These control how the API processes incoming payloads against existing records.

Do I need a pre-initialized DHIS2 client to use the data values extraction workflow?

Yes, a pre-initialized DHIS2 client is required as part of the parent skill environment. The workflow assumes this client is active to authenticate and interact with the dataValueSets API.