Re: [Dhis2-devs] [Dhis2-users] Uniqueness of organisation unit name

2018-09-09 Thread Calle Hedberg
Hi,

There are only unique constraints for the fields "uid" and "code".

That said, I/we have always ensured that at least the main name is
factually unique too - the short name is a different matter (although I
would argue that ensuring unique short names within e.g. a district or
state/province is a good idea, since reports etc for such smaller areas
tend to be facility or sub-facility based. For larger countries, we
normally use a sub-national prefix to ensure uniqueness (e.g. a
two-character prefix representing the province, like in South Africa, or
the state, like in Nigeria).

Ensuring uniqueness require a bit more discipline when creating/maintaining
orgunits, but you get that time back and more so by avoiding other problems
(the import using Name scheme is one of them, but any output object using
those names are usually the main problem).

Regards
calle



On Sun, 9 Sep 2018 at 21:50, Nayeem Al Mifthah  wrote:

> Noted with thanks.
>
> Regards,
> Nayeem Al Mifthah
> Kindly ignore typos.
>
> On Sun, 9 Sep 2018, 23:13 Knut Staring,  wrote:
>
>> Unless you know they are unique
>>
>> On Sun, Sep 9, 2018, 7:10 PM Nayeem Al Mifthah 
>> wrote:
>>
>>> Thanks Knut. In that case using orgunit name as a ID scheme for data
>>> import may not work.
>>>
>>> [image: image.png]
>>>
>>>
>>> Regards,
>>> Nayeem Al Mifthah
>>> Consultant for HSS, HMIS, M, GIS and Surveillance
>>>
>>> Kindly ignore typos.
>>>
>>> On 9 Sep 2018 11:03 pm, "Knut Staring"  wrote:
>>>
>>> I think this is a feature, not a bug
>>>
>>> On Sun, Sep 9, 2018, 6:54 PM Nayeem Al Mifthah 
>>> wrote:
>>>
 Dear All
 I have found that, Organisation unit name is accepting duplicate names.
 Is it allowed now a days? or a bug? I have created a number of Sierra Leone
 in 2.30 demo. Only Code field check duplicates.

 [image: image.png]
 *Nayeem Al Mifthah*
 *Health Information Systems Specialist*
 Support to the National HMIS
 MIS, Directorate General of Health Services
 Ministry of Health and Family Welfare, Bangladesh
 Telephone: +880-2-58816459|Fax: +880-2-58813875
 Mobile:  +88-01914 030 574|Email: n.mift...@gmail.com
 Skype: nayeem.a.m|   LinkedIn:  linkedin.com/in/nayeemam
 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-us...@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 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
>


-- 

***

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedb...@gmail.com

Skype: calle_hedberg

***
___
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


Re: [Dhis2-devs] [Dhis2-users] Uniqueness of organisation unit name

2018-09-09 Thread Knut Staring
Unless you know they are unique

On Sun, Sep 9, 2018, 7:10 PM Nayeem Al Mifthah  wrote:

> Thanks Knut. In that case using orgunit name as a ID scheme for data
> import may not work.
>
> [image: image.png]
>
>
> Regards,
> Nayeem Al Mifthah
> Consultant for HSS, HMIS, M, GIS and Surveillance
>
> Kindly ignore typos.
>
> On 9 Sep 2018 11:03 pm, "Knut Staring"  wrote:
>
> I think this is a feature, not a bug
>
> On Sun, Sep 9, 2018, 6:54 PM Nayeem Al Mifthah 
> wrote:
>
>> Dear All
>> I have found that, Organisation unit name is accepting duplicate names.
>> Is it allowed now a days? or a bug? I have created a number of Sierra Leone
>> in 2.30 demo. Only Code field check duplicates.
>>
>> [image: image.png]
>> *Nayeem Al Mifthah*
>> *Health Information Systems Specialist*
>> Support to the National HMIS
>> MIS, Directorate General of Health Services
>> Ministry of Health and Family Welfare, Bangladesh
>> Telephone: +880-2-58816459|Fax: +880-2-58813875
>> Mobile:  +88-01914 030 574|Email: n.mift...@gmail.com
>> Skype: nayeem.a.m|   LinkedIn:  linkedin.com/in/nayeemam
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> 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


Re: [Dhis2-devs] [Dhis2-users] Uniqueness of organisation unit name

2018-09-09 Thread Nayeem Al Mifthah
Thanks Knut. In that case using orgunit name as a ID scheme for data import
may not work.

[image: image.png]


Regards,
Nayeem Al Mifthah
Consultant for HSS, HMIS, M, GIS and Surveillance

Kindly ignore typos.

On 9 Sep 2018 11:03 pm, "Knut Staring"  wrote:

I think this is a feature, not a bug

On Sun, Sep 9, 2018, 6:54 PM Nayeem Al Mifthah  wrote:

> Dear All
> I have found that, Organisation unit name is accepting duplicate names. Is
> it allowed now a days? or a bug? I have created a number of Sierra Leone in
> 2.30 demo. Only Code field check duplicates.
>
> [image: image.png]
> *Nayeem Al Mifthah*
> *Health Information Systems Specialist*
> Support to the National HMIS
> MIS, Directorate General of Health Services
> Ministry of Health and Family Welfare, Bangladesh
> Telephone: +880-2-58816459|Fax: +880-2-58813875
> Mobile:  +88-01914 030 574|Email: n.mift...@gmail.com
> Skype: nayeem.a.m|   LinkedIn:  linkedin.com/in/nayeemam
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> 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


Re: [Dhis2-devs] [Dhis2-users] Uniqueness of organisation unit name

2018-09-09 Thread Nayeem Al Mifthah
Noted with thanks.

Regards,
Nayeem Al Mifthah
Kindly ignore typos.

On Sun, 9 Sep 2018, 23:13 Knut Staring,  wrote:

> Unless you know they are unique
>
> On Sun, Sep 9, 2018, 7:10 PM Nayeem Al Mifthah 
> wrote:
>
>> Thanks Knut. In that case using orgunit name as a ID scheme for data
>> import may not work.
>>
>> [image: image.png]
>>
>>
>> Regards,
>> Nayeem Al Mifthah
>> Consultant for HSS, HMIS, M, GIS and Surveillance
>>
>> Kindly ignore typos.
>>
>> On 9 Sep 2018 11:03 pm, "Knut Staring"  wrote:
>>
>> I think this is a feature, not a bug
>>
>> On Sun, Sep 9, 2018, 6:54 PM Nayeem Al Mifthah 
>> wrote:
>>
>>> Dear All
>>> I have found that, Organisation unit name is accepting duplicate names.
>>> Is it allowed now a days? or a bug? I have created a number of Sierra Leone
>>> in 2.30 demo. Only Code field check duplicates.
>>>
>>> [image: image.png]
>>> *Nayeem Al Mifthah*
>>> *Health Information Systems Specialist*
>>> Support to the National HMIS
>>> MIS, Directorate General of Health Services
>>> Ministry of Health and Family Welfare, Bangladesh
>>> Telephone: +880-2-58816459|Fax: +880-2-58813875
>>> Mobile:  +88-01914 030 574|Email: n.mift...@gmail.com
>>> Skype: nayeem.a.m|   LinkedIn:  linkedin.com/in/nayeemam
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> 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


Re: [Dhis2-devs] [Dhis2-users] Uniqueness of organisation unit name

2018-09-09 Thread Knut Staring
I think this is a feature, not a bug

On Sun, Sep 9, 2018, 6:54 PM Nayeem Al Mifthah  wrote:

> Dear All
> I have found that, Organisation unit name is accepting duplicate names. Is
> it allowed now a days? or a bug? I have created a number of Sierra Leone in
> 2.30 demo. Only Code field check duplicates.
>
> [image: image.png]
> *Nayeem Al Mifthah*
> *Health Information Systems Specialist*
> Support to the National HMIS
> MIS, Directorate General of Health Services
> Ministry of Health and Family Welfare, Bangladesh
> Telephone: +880-2-58816459|Fax: +880-2-58813875
> Mobile:  +88-01914 030 574|Email: n.mift...@gmail.com
> Skype: nayeem.a.m|   LinkedIn:  linkedin.com/in/nayeemam
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> 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