← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] Data elements assignation

 

Many thanks, will try it.

Diao

On Mon, Jan 29, 2018 at 11:45 AM, Knut Staring <knutst@xxxxxxxxx> 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 <knutst@xxxxxxxxx> 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.mwebaze@xxxxxxxxx> 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 <diao_diallo@xxxxxxxxxx
>>> > 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-users@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> 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

References