I’ve configured an Event to Tracked Entity Instance (TEI) relationship in DHIS2, but I’m facing an issue where the relationship is not visible in the user interface. However, I can see the relationship when querying the API.
Here’s what I’ve done so far:
Created a relationship type between the Event and TEI.
Assigned the relationship type to the relevant program and stage.
Ensured that the relationship is properly linked in the data entry form.
Despite this, the relationship does not appear in the DHIS2 UI, though it is accessible via the API.
Could someone please help me understand if I’m missing a step in the configuration process? Or is there something else I need to check to make the relationship visible in the interface?
Any guidance or suggestions would be greatly appreciated!
You are right. I’m testing in Login app | DHIS2 Capture app version 101.30.0, and I’m also not able to create an event-TEI relationship (create and view using the UI). Would you like to create a jira bug issue using your account in jira.dhis2.org? Please add the label CoP and share here.
Have you seen Karoline’s response in the Jira ticket? To quote her here:
Hi @Henry Lopez , thank you so much for adding additional steps and screenshots!
So you can create this type of relationship, but only from the event side. We have not yet decided on the logic of searching for events to add to a relationship, but searching for TEs are well established, so you can do that from the event side and create a event-TE relationship. You will then also be able to click to the event from the TE side in its relationship widget if the relationship type is bidirectional.
So it is partially supported - only from one side.