← Back to team overview

dhis2-devs team mailing list archive

Re: Tracker Linking a Child to more than one Mother

 

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 <dnmuturi@xxxxxxxxx> 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" <dnmuturi@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> 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

Follow ups

References