smithery.ai

dhis2-data-elements

Extract data elements and data element groups from DHIS2. Use for data element metadata, groups, or category option combos. Routed via dhis2 skill for general DHIS2 requests.

First seen Mar 31, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,710 B
  • docs SUMMARY.md 201 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

DHIS2 Data Elements

Prerequisites: Client setup from dhis2 skill (assumes dhis is initialized)

Dataframe API

from openhexa.toolbox.dhis2 import dataframe

getdataelements

Parameter Type Required
dhis2 DHIS2 Yes
filters list[str] \ None No

Returns pl.DataFrame:

Column Type
id str
name str
value_type str

getdataelement_groups

Parameter Type Required
dhis2 DHIS2 Yes
filters list[str] \ None No

Returns pl.DataFrame:

Column Type
id str
name str
data_elements list[str]

getcategoryoption_combos

Parameter Type Required
dhis2 DHIS2 Yes
filters list[str] \ None No

Returns pl.DataFrame:

Column Type
id str
name str

joinobjectnames

Parameter Type Required
df pl.DataFrame Yes
data_elements pl.DataFrame \ None No
categoryoptioncombos pl.DataFrame \ None No

Returns pl.DataFrame with added columns: dataelementname, categoryoptioncombo_name.

JSON API

data_elements = dhis.meta.data_elements()  # list[dict]
groups = dhis.meta.data_element_groups()   # list[dict]
cocs = dhis.meta.category_option_combos()  # list[dict]