dhis2-users team mailing list archive
Mailing list archive
Re: [Dhis2-devs] Relationships - relationship link not showing on TE #2
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.
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@xxxxxxxxx> 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
> 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.
> 13. nov. 2018 kl. 13:42 skrev Terence Scott <
> Dear Community
> 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 Scott
> Global Alliance for Rabies Control (GARC)
> Pan-African Rabies Control Network (PARACON) Steering Committee
> Skype: tpscott1987
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
Relationship type setup.png
Description: PNG image