Hi,

We list all types of relationships that the TEI (the owner of the
dashboard) is linked to. The list also displays each relationship type.

The idea of implementing a warning is kind of redundant to me. The user has
kind of ignored what is already displayed and went to add another
relationship...

I like the idea of limiting the number of relationships one can have for a
given relationship type. However, the issue is that our model is not ready
for this - we need to rethink the entire relationship model.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Fri, Jun 24, 2016 at 2:36 PM, Knut Staring <knu...@gmail.com> wrote:

> Hi David,
>
> I certainly understand the value of having this as an option, and I think
> in general it would be nice to be able to (but not forced) to configure the
> system to display a warning about preexisting relationships for that
> particular TEI when the user creates a new relationship.
>
> One question that must be addressed is whether there should be a warning
> that lists all types of relationships, or just relationships of the same
> type as the user is trying to create.
>
> Knut
>
> On Fri, Jun 24, 2016 at 2:30 PM, David Muturi <dnmut...@gmail.com> wrote:
>
>> Hi Knut,
>> Thank you for you response. Looking at this outside the system, logically
>> a child cannot belong to more than one mother when both mothers are alive.
>> The system allows this to happen, another way of looking at it is when
>> people share names one would want to pick the correct child for each
>> mother, as it is now, one child may end up being assigned multiple mothers
>> in mnch program for instance.
>> I would not recommend restricting but rather a warning to the user that
>> the child already has an existing relationship. I will put in a blue print
>> for this as advised.
>> rgds
>> David
>>
>> 2016-06-24 15:21 GMT+03:00 Knut Staring <knu...@gmail.com>:
>>
>>> Hi David,
>>>
>>> Obviously, often you would want to have multiple relationships, e.g. a
>>> mother often has more than one child. So I think what you are asking for is
>>> a new functionality to be able to restrict some relationships to be of type
>>> one-to-many, instead of many-to-many. You should probably write this up as
>>> a blueprint to be considered for 2.25.
>>>
>>> Knut
>>>
>>> On Fri, Jun 24, 2016 at 8:47 AM, David Muturi <dnmut...@gmail.com>
>>> wrote:
>>>
>>>> Hi Devs,
>>>> Are there any plans to address the issue below like issuing a warning
>>>> message when someone tries to link a record in a relation ship thats
>>>> already linked to another?
>>>> rgds
>>>> David
>>>> On 23 Jun 2016 20:50, "David Muturi" <dnmut...@gmail.com> wrote:
>>>>
>>>>> Hi Devs,
>>>>> I have noticed that it is possible to link a child enrolled in a child
>>>>> program to more than one mother. I have even tested on the online dhis2
>>>>> demo using the mnch and child programmes. Is it possible to prevent this 
>>>>> or
>>>>> atleast show a message that the child is already linked to a mother so 
>>>>> that
>>>>> the user knows that they are double linking the child ?
>>>>> rgds
>>>>> David
>>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to     : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> Norway: +4791880522
>>> Skype: knutstar
>>> http://dhis2.org
>>>
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to