Dates for relationships

Some relationships, like mother/child relationship are ‘permanent’. But other relationships, like a sexual partner ( to another TET: Person), or the time that a particular location/ facility (TET: location) was used by someone needs to be time-bound, meaning that a start date and end date (or an option for ‘ongoing’) needs to be declared.
This was possible when the data value ‘tracker associate’ could be included as part of an event, so you could capture the start / end date for that association. I understand that tracker associate will be discontinued (in fact in doesn’t work anymore in 2.40/ 2.41).
https://dhis2.atlassian.net/browse/DHIS2-8214

How do you suggest capturing the start and end date for an associated tracker entity when using relationships ?

Hi @rodolfomelia

Welcome back to the community! Thank you for bringing this topic up and for sharing the related Jira issue.

Relationships can be within a single event in a Tracker program based on the relationships constraints:

I’m triaging this to the team for further input. Thanks!

I wasn’t aware that you could link on a relationship a TEI and an Event.
I will play with this and see if I can capture (and then output) a time constrain around that relationship.
I will be reporting back soon.

1 Like

Thank you @rodolfomelia! Yes, please write back and hopefully the relationship model and the current features work well for your use case. I’m looking forward to seeing how you solved the challenge or if there’s a bit more space for improvements as well.

Thank you!