I have been working on creating relationships between two programs. I have managed to create a relationship from 1 program to the other. However, on the enrollment screen for the 2nd TE (TE#2), no program is selected. I then select the appropriate program, but the relationship to the original TE (TE#1) is lost.
I assume that there is something that I am missing here? I have specified the referred and original programs for the Tracked Entity Type, yet this does not work.
I also get the following reference error:
I am running v2.30.
Any help or guidance would be appreciated.
Kind regards,
Terence
···
Terence Scott
Global Alliance for Rabies Control (GARC)
Pan-African Rabies Control Network (PARACON) Steering Committee
you mention programs are you making relations from one enrollment to another? How is your relationship type set up? The only relationship type that is supported in the tracker clients is tracked entity instance to tracked entity instance. The rich possibilities in the new relationship model is starting to be consumed in the new capture app first, and is per now not scheduled to be implemented in the current generation of tracker app.
Markus
P.S. we are moving these topics to the community.dhis2.org - a great tool for collaborating, discussing in threads and building a searchable knowledge base at the same time.
···
Terence Scott
Global Alliance for Rabies Control (GARC)
Pan-African Rabies Control Network (PARACON) Steering Committee
Thanks for the response. I will create any new conversations in the community forum as mentioned.
Relating to my current issue, we are creating relationships between two different enrollments in 2 different programs (One program for a suspect animal and the other for an exposed human). I would like to link the “exposed animal” to the “exposed human” (each a relationship type). Therefore, for the “Exposed person” relationship type, I have the “Exposed Animal” linked with the Suspect animal program, followed by the second TE type being the exposed person linked with the Exposed human program. The “From constraint” is “TE instance”.
I tried to do the same with the “Exposed animal” Relationship type, but this resulted in some other errors which I thought were attributed to redundancy. Therefore, for the moment, I only have the “Exposed person” relationship type set up.
Under each of the programs themselves, I have also selected the relevant TE type. Under “Related program” I selected the sister program (i.e. for the Suspect animal program, I selected exposed human and visa versa).
I hope I managed to explain this clearly. I have attached a screenshot of how I set up the relationship type for your reference.
Kind regards,
Terence
Terence Scott
Global Alliance for Rabies Control (GARC)
Pan-African Rabies Control Network (PARACON) Steering Committee
On Wed, Nov 14, 2018 at 10:56 AM Markus Bekken markus@dhis2.org wrote:
Hey Terence,
you mention programs are you making relations from one enrollment to another? How is your relationship type set up? The only relationship type that is supported in the tracker clients is tracked entity instance to tracked entity instance. The rich possibilities in the new relationship model is starting to be consumed in the new capture app first, and is per now not scheduled to be implemented in the current generation of tracker app.
Markus
P.S. we are moving these topics to the community.dhis2.org - a great tool for collaborating, discussing in threads and building a searchable knowledge base at the same time.
I have been working on creating relationships between two programs. I have managed to create a relationship from 1 program to the other. However, on the enrollment screen for the 2nd TE (TE#2), no program is selected. I then select the appropriate program, but the relationship to the original TE (TE#1) is lost.
I assume that there is something that I am missing here? I have specified the referred and original programs for the Tracked Entity Type, yet this does not work.
I also get the following reference error:
<Relationship - Reference Error.png>
I am running v2.30.
Any help or guidance would be appreciated.
Kind regards,
Terence
Terence Scott
Global Alliance for Rabies Control (GARC)
Pan-African Rabies Control Network (PARACON) Steering Committee
Hey Terence,
It would be great if you put this into a jira bug. The relationship you send a screenshot of below is a TEI-TEI relationship, which should be supported. In the preliminary investigation it also seems that nonsupported relationship is not always gracefully handled in the tracker.
Thanks for reporting. We will get back to you if we see any possible workarounds in the investigation.
Thanks for the response. I will create any new conversations in the community forum as mentioned.
Relating to my current issue, we are creating relationships between two different enrollments in 2 different programs (One program for a suspect animal and the other for an exposed human). I would like to link the “exposed animal” to the “exposed human” (each a relationship type). Therefore, for the “Exposed person” relationship type, I have the “Exposed Animal” linked with the Suspect animal program, followed by the second TE type being the exposed person linked with the Exposed human program. The “From constraint” is “TE instance”.
I tried to do the same with the “Exposed animal” Relationship type, but this resulted in some other errors which I thought were attributed to redundancy. Therefore, for the moment, I only have the “Exposed person” relationship type set up.
Under each of the programs themselves, I have also selected the relevant TE type. Under “Related program” I selected the sister program (i.e. for the Suspect animal program, I selected exposed human and visa versa).
I hope I managed to explain this clearly. I have attached a screenshot of how I set up the relationship type for your reference.
Kind regards,
Terence
Terence Scott
Global Alliance for Rabies Control (GARC)
Pan-African Rabies Control Network (PARACON) Steering Committee
On Wed, Nov 14, 2018 at 10:56 AM Markus Bekken markus@dhis2.org wrote:
Hey Terence,
you mention programs are you making relations from one enrollment to another? How is your relationship type set up? The only relationship type that is supported in the tracker clients is tracked entity instance to tracked entity instance. The rich possibilities in the new relationship model is starting to be consumed in the new capture app first, and is per now not scheduled to be implemented in the current generation of tracker app.
Markus
P.S. we are moving these topics to the community.dhis2.org - a great tool for collaborating, discussing in threads and building a searchable knowledge base at the same time.
I have been working on creating relationships between two programs. I have managed to create a relationship from 1 program to the other. However, on the enrollment screen for the 2nd TE (TE#2), no program is selected. I then select the appropriate program, but the relationship to the original TE (TE#1) is lost.
I assume that there is something that I am missing here? I have specified the referred and original programs for the Tracked Entity Type, yet this does not work.
I also get the following reference error:
<Relationship - Reference Error.png>
I am running v2.30.
Any help or guidance would be appreciated.
Kind regards,
Terence
Terence Scott
Global Alliance for Rabies Control (GARC)
Pan-African Rabies Control Network (PARACON) Steering Committee