Re: [Dhis2-devs] [Dhis2-users] Data elements assignation

2018-01-29 Thread Mamadou Diao Diallo
Many thanks, will try it.

Diao

On Mon, Jan 29, 2018 at 11:45 AM, Knut Staring  wrote:

> Oops, you cannot select by group anymore. However, you can skip step 3)
> and 4) and rather do the filtering of data elements directly in 5)
>
> On Mon, Jan 29, 2018 at 12:43 PM, Knut Staring  wrote:
>
>> Hi Mamadou,
>>
>> I agree with Michael that the most flexible way is to use the web API and
>> create a JSON structure (e.g. with MS Excel), in particular
>> https://docs.dhis2.org/master/en/developer/html/webapi_metad
>> ata_crud.html#webapi_adding_removing_objects_collections
>>
>> However, if you find this too cumbersome, you could do something like
>> this:
>>
>> 1) Give your dataelements a unique PREFIX to enable you to filter them out
>> 2) Import them as CSV
>> 3) Create a group for them
>> 4) Go to the group editor, filter and select:
>> https://play.dhis2.org/2.28/dhis-web-maintenance/#/group-editor
>> 5) Create your dataset and filter by the group
>>
>> The problem with this method is the PREFIX which you may not want to
>> keep..
>>
>>  Knut
>>
>>
>>
>>
>>
>>
>>
>> On Sun, Jan 28, 2018 at 1:45 AM, Michael Mwebaze <
>> michael.mweb...@gmail.com> wrote:
>>
>>> Hi Diao,
>>>
>>> Are you able to use the web api? The section in the developer's manual
>>> 'Metadata create, read, update, delete, validate' should be helpful.
>>>
>>> Regards,
>>>
>>> Michael
>>>
>>> On 27 January 2018 at 15:30, Mamadou Diao Diallo >> > wrote:
>>>
 Hi dhis2 devs,
 I have to assign many data elements to a data set, so I would like to
 automatically do it.

 Is there any possibility to do it, like a csv importation?

 Thank you in advance.

 Best

 Diao

 --
 *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
 Health Information Software )*


 *Projet de Renforcement du Système d'Information Sanitaire en Guinée*
 *Phone : 623909413 | 662256106*
 *Skype : diawwdiallo*
 www.jsi.com

 ___
 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-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> 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
>>
>
>
>
> --
> 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
>



-- 
*DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
Health Information Software )*


*Projet de Renforcement du Système d'Information Sanitaire en Guinée*
*Phone : 623909413 | 662256106*
*Skype : diawwdiallo*
www.jsi.com
___
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] Data elements assignation

2018-01-29 Thread Knut Staring
Oops, you cannot select by group anymore. However, you can skip step 3) and
4) and rather do the filtering of data elements directly in 5)

On Mon, Jan 29, 2018 at 12:43 PM, Knut Staring  wrote:

> Hi Mamadou,
>
> I agree with Michael that the most flexible way is to use the web API and
> create a JSON structure (e.g. with MS Excel), in particular
> https://docs.dhis2.org/master/en/developer/html/webapi_
> metadata_crud.html#webapi_adding_removing_objects_collections
>
> However, if you find this too cumbersome, you could do something like this:
>
> 1) Give your dataelements a unique PREFIX to enable you to filter them out
> 2) Import them as CSV
> 3) Create a group for them
> 4) Go to the group editor, filter and select:
> https://play.dhis2.org/2.28/dhis-web-maintenance/#/group-editor
> 5) Create your dataset and filter by the group
>
> The problem with this method is the PREFIX which you may not want to keep..
>
>  Knut
>
>
>
>
>
>
>
> On Sun, Jan 28, 2018 at 1:45 AM, Michael Mwebaze <
> michael.mweb...@gmail.com> wrote:
>
>> Hi Diao,
>>
>> Are you able to use the web api? The section in the developer's manual
>> 'Metadata create, read, update, delete, validate' should be helpful.
>>
>> Regards,
>>
>> Michael
>>
>> On 27 January 2018 at 15:30, Mamadou Diao Diallo 
>> wrote:
>>
>>> Hi dhis2 devs,
>>> I have to assign many data elements to a data set, so I would like to
>>> automatically do it.
>>>
>>> Is there any possibility to do it, like a csv importation?
>>>
>>> Thank you in advance.
>>>
>>> Best
>>>
>>> Diao
>>>
>>> --
>>> *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
>>> Health Information Software )*
>>>
>>>
>>> *Projet de Renforcement du Système d'Information Sanitaire en Guinée*
>>> *Phone : 623909413 | 662256106*
>>> *Skype : diawwdiallo*
>>> www.jsi.com
>>>
>>> ___
>>> 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-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> 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
>



-- 
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] [Dhis2-users] Data elements assignation

2018-01-29 Thread Knut Staring
Hi Mamadou,

I agree with Michael that the most flexible way is to use the web API and
create a JSON structure (e.g. with MS Excel), in particular
https://docs.dhis2.org/master/en/developer/html/webapi_metadata_crud.html#webapi_adding_removing_objects_collections

However, if you find this too cumbersome, you could do something like this:

1) Give your dataelements a unique PREFIX to enable you to filter them out
2) Import them as CSV
3) Create a group for them
4) Go to the group editor, filter and select:
https://play.dhis2.org/2.28/dhis-web-maintenance/#/group-editor
5) Create your dataset and filter by the group

The problem with this method is the PREFIX which you may not want to keep..

 Knut







On Sun, Jan 28, 2018 at 1:45 AM, Michael Mwebaze 
wrote:

> Hi Diao,
>
> Are you able to use the web api? The section in the developer's manual
> 'Metadata create, read, update, delete, validate' should be helpful.
>
> Regards,
>
> Michael
>
> On 27 January 2018 at 15:30, Mamadou Diao Diallo 
> wrote:
>
>> Hi dhis2 devs,
>> I have to assign many data elements to a data set, so I would like to
>> automatically do it.
>>
>> Is there any possibility to do it, like a csv importation?
>>
>> Thank you in advance.
>>
>> Best
>>
>> Diao
>>
>> --
>> *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
>> Health Information Software )*
>>
>>
>> *Projet de Renforcement du Système d'Information Sanitaire en Guinée*
>> *Phone : 623909413 | 662256106*
>> *Skype : diawwdiallo*
>> www.jsi.com
>>
>> ___
>> 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-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> 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] [Dhis2-users] Data elements assignation

2018-01-27 Thread Michael Mwebaze
Hi Diao,

Are you able to use the web api? The section in the developer's manual
'Metadata create, read, update, delete, validate' should be helpful.

Regards,

Michael

On 27 January 2018 at 15:30, Mamadou Diao Diallo 
wrote:

> Hi dhis2 devs,
> I have to assign many data elements to a data set, so I would like to
> automatically do it.
>
> Is there any possibility to do it, like a csv importation?
>
> Thank you in advance.
>
> Best
>
> Diao
>
> --
> *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
> Health Information Software )*
>
>
> *Projet de Renforcement du Système d'Information Sanitaire en Guinée*
> *Phone : 623909413 | 662256106*
> *Skype : diawwdiallo*
> www.jsi.com
>
> ___
> 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