Re: [Dhis2-devs] modifying the UID of default

2018-02-06 Thread Jason Pickering
In later versions of DHIS2, the default dimension is "hard-coded". You can
see the details here

https://github.com/dhis2/dhis2-core/blob/6eb907f483fcac906013d6e7011f13cfb565392b/dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/DefaultDataElementCategoryService.java#L493

So, it might make sense to use those.

You can also use the new feature which allows you to specify a coding
scheme during import. Its not quite the same functionality as in DHIS1.4,
where you could map the data elements during import, but if you can specify
a code on your "destination" system which is present in your "source"
system, you can also use that to import data with a specified coding
scheme.

Regards,
Jason


On Tue, Feb 6, 2018 at 10:45 AM, Knut Staring  wrote:

> Thanks Calle and Ramon,
>
> This is also now part of the process we are doing as a collaboration
> between WHO and UiO. So far, we have mainly worked on HIV, TB, malaria and
> Immunization, but the plan is to bring in all the health programs.
>
> Regards,
> Knut
>
> On Tue, Feb 6, 2018 at 10:29 AM, Calle Hedberg 
> wrote:
>
>> Hi,
>>
>> South Africa is using a National Data Dictionary (DHIS2-based) to
>> "control" most meta-data, which means we have standardised uids and codes
>> for
>> - orgunits
>> - data elements
>> - indicators
>> - validation rules
>> - categories/options/combos
>> etc.
>>
>> Makes life a lot easier when you have many separate DHIS2 instances.
>>
>> This is now increasingly also coming up as an international / global
>> challenge - since DHIS2 does not have any kind of import matching mechanism
>> where the incoming uid/code/name can be matched to internal uid/code/name
>> (if different), you end up with a lot of uid fiddling. The need to be able
>> to export program indicator data as aggregate values to other systems
>> exacerbate this challenge.
>>
>> Regards
>> Calle
>>
>> On 6 February 2018 at 11:06, Ramón José Jiménez Pomareta <
>> dh...@pomareta.ch> wrote:
>>
>>> Hello,
>>>
>>> We are thinking about harmonize all *defaults *of our 5 DHIS2 platforms
>>> (Particularly, to set to each *default *element the same ID throughout
>>> all the databases (4 different IDs in total, no only 1 of course), and to
>>> change the UIDs references in all the DB). Do you think that can be useful
>>> to avoid import/export issues we currently have? Or the new update on 28
>>> about this topic solves this kind of issues?
>>>
>>> I am thinking about the *defaults *of:
>>> categoryOptions
>>> categoryOptionsCombos
>>> categoryCombos
>>> categories
>>>
>>> Thank you so much !
>>>
>>> Ramón José JIMÉNEZ POMARETA
>>>
>>> ___
>>> 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 <+27%2021%20685%206472>
>>
>> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>>
>> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>>
>> 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
>>
>>
>
>
> --
> Knut Staring
>
> Department of Information, Evidence and Research
> World Health Organization, Geneva, Switzerland
> Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
> <+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
> Skype: knutstar
>
> ___
> 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
>
>


-- 
Jason P. Pickering
email: jason.p.picker...@gmail.com
tel:+46764147049
___
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] modifying the UID of default

2018-02-06 Thread Knut Staring
Thanks Calle and Ramon,

This is also now part of the process we are doing as a collaboration
between WHO and UiO. So far, we have mainly worked on HIV, TB, malaria and
Immunization, but the plan is to bring in all the health programs.

Regards,
Knut

On Tue, Feb 6, 2018 at 10:29 AM, Calle Hedberg 
wrote:

> Hi,
>
> South Africa is using a National Data Dictionary (DHIS2-based) to
> "control" most meta-data, which means we have standardised uids and codes
> for
> - orgunits
> - data elements
> - indicators
> - validation rules
> - categories/options/combos
> etc.
>
> Makes life a lot easier when you have many separate DHIS2 instances.
>
> This is now increasingly also coming up as an international / global
> challenge - since DHIS2 does not have any kind of import matching mechanism
> where the incoming uid/code/name can be matched to internal uid/code/name
> (if different), you end up with a lot of uid fiddling. The need to be able
> to export program indicator data as aggregate values to other systems
> exacerbate this challenge.
>
> Regards
> Calle
>
> On 6 February 2018 at 11:06, Ramón José Jiménez Pomareta <
> dh...@pomareta.ch> wrote:
>
>> Hello,
>>
>> We are thinking about harmonize all *defaults *of our 5 DHIS2 platforms
>> (Particularly, to set to each *default *element the same ID throughout
>> all the databases (4 different IDs in total, no only 1 of course), and to
>> change the UIDs references in all the DB). Do you think that can be useful
>> to avoid import/export issues we currently have? Or the new update on 28
>> about this topic solves this kind of issues?
>>
>> I am thinking about the *defaults *of:
>> categoryOptions
>> categoryOptionsCombos
>> categoryCombos
>> categories
>>
>> Thank you so much !
>>
>> Ramón José JIMÉNEZ POMARETA
>>
>> ___
>> 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 <+27%2021%20685%206472>
>
> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>
> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>
> 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
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
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] modifying the UID of default

2018-02-06 Thread Calle Hedberg
Hi,

South Africa is using a National Data Dictionary (DHIS2-based) to "control"
most meta-data, which means we have standardised uids and codes for
- orgunits
- data elements
- indicators
- validation rules
- categories/options/combos
etc.

Makes life a lot easier when you have many separate DHIS2 instances.

This is now increasingly also coming up as an international / global
challenge - since DHIS2 does not have any kind of import matching mechanism
where the incoming uid/code/name can be matched to internal uid/code/name
(if different), you end up with a lot of uid fiddling. The need to be able
to export program indicator data as aggregate values to other systems
exacerbate this challenge.

Regards
Calle

On 6 February 2018 at 11:06, Ramón José Jiménez Pomareta 
wrote:

> Hello,
>
> We are thinking about harmonize all *defaults *of our 5 DHIS2 platforms
> (Particularly, to set to each *default *element the same ID throughout
> all the databases (4 different IDs in total, no only 1 of course), and to
> change the UIDs references in all the DB). Do you think that can be useful
> to avoid import/export issues we currently have? Or the new update on 28
> about this topic solves this kind of issues?
>
> I am thinking about the *defaults *of:
> categoryOptions
> categoryOptionsCombos
> categoryCombos
> categories
>
> Thank you so much !
>
> Ramón José JIMÉNEZ POMARETA
>
> ___
> 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


[Dhis2-devs] modifying the UID of default

2018-02-06 Thread Ramón José Jiménez Pomareta
Hello,

We are thinking about harmonize all *defaults *of our 5 DHIS2 platforms
(Particularly, to set to each *default *element the same ID throughout all
the databases (4 different IDs in total, no only 1 of course), and to
change the UIDs references in all the DB). Do you think that can be useful
to avoid import/export issues we currently have? Or the new update on 28
about this topic solves this kind of issues?

I am thinking about the *defaults *of:
categoryOptions
categoryOptionsCombos
categoryCombos
categories

Thank you so much !

Ramón José JIMÉNEZ POMARETA
___
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