Skip to content

Conversation

@xurxodev
Copy link
Contributor

@xurxodev xurxodev commented Nov 5, 2025

📌 References

📝 Implementation

  • Support ADEX in instances
  • Support ADEX in sync rules
  • Support dhis2 scheduler for adex

📹 Screenshots/Screen capture

🔥 Is there anything the reviewer should know to test it?

Limitations:

1- It's not possible to edit an ADEX without assign credentials, for this reason is necessary set credentials to create or update ADEX sync rule
2 - ADEX run failed for datasets, dataElementGroups, etc. The unique models working and enabled are indicators, program indicators and data elements

Scenario to test using play 2.41.6 as origin and play 2.42.3 as destination

1 - In 2.41.6 replicate the user tQSUE8azWFG with all aggregated data exchange authorities

2 - Run analytics

3 - In 2.42.3 import the next metadata with dataset and data elements with necessary codes

adex-play-destination.json

4 - Execute Metadata sync against play 2.41.6 using replicated new user credentials

5 - Create a new ADEX instance with url https://play.im.dhis2.org/stable-2-42-3

Screenshot 2025-11-05 at 16 25 29

6 - Create a ADEX events sync rule

Screenshot 2025-11-05 at 16 26 23

Select Sierra Leone org unit

Screenshot 2025-11-05 at 16 26 54

Select doses program indicators: BCG doses, Measles doses, Yellow fever doses

Screenshot 2025-11-05 at 16 27 36

Select this year period

Screenshot 2025-11-05 at 16 27 58

Select monthly aggregation

Screenshot 2025-11-05 at 16 28 28

Select ADEX instance

Screenshot 2025-11-05 at 16 29 09

Set credentials

Screenshot 2025-11-05 at 16 29 39

Save

7 - Create a ADEX aggregated sync rule

Screenshot 2025-11-05 at 16 31 39

Select data element: Accute Flaccid Paralysis (Deaths < 5 yrs)

Screenshot 2025-11-05 at 16 33 13

Select indicator: ANC 2 Coverage

Screenshot 2025-11-05 at 16 33 49

Select Sierra Leone org unit
Screenshot 2025-11-05 at 16 34 18

Select this year period

Screenshot 2025-11-05 at 16 34 39

Select monthly aggregation

Screenshot 2025-11-05 at 16 35 02

Select ADEX instance

Screenshot 2025-11-05 at 16 35 18

Set credentials

Screenshot 2025-11-05 at 16 35 41

Save

After execute these program rules, the result in play 2.43.3 should be:

Screenshot 2025-11-05 at 16 37 00

📑 Others

  • Any change in the GUI library? If so, what branch/PR?

  • Any change in the D2 Api? If so, what branch/PR?

…o feature/support_aggregated_data_exchange

# Conflicts:
#	i18n/en.pot
@ifoche
Copy link
Member

ifoche commented Nov 5, 2025

@xurxodev xurxodev marked this pull request as ready for review November 10, 2025 08:28
@xurxodev xurxodev changed the title Feature/support aggregated data exchange Support for aggregated data exchange Nov 10, 2025
@ifoche ifoche self-requested a review December 1, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants