dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #15065
Re: [Dhis2-devs] Option sets and data elements
Greetings,
than you for the reply,
I have tried the solution to have various data elements with specific
option sets.
Example:
- Data element province with option set for all provinces
- Data element district A with option set for all districts for province A
- Data element district B with option set for all districts for province B.
- Then i created a program rule to hide or show data element district A or
data element district B based on the value of data element province,
It worked for a while than it was instable. The various data element
district A and data element district B appeared at same time.
So i am searching for more stable solution.
Will it be possible with java script to assign different option sets for
one data element based on another data element?
Sincerely
Nada Ghosn
On Tue, Jan 30, 2018 at 12:54 PM, Calle Hedberg <calle.hedberg@xxxxxxxxx>
wrote:
> Hi,
>
> Cascading option sets have been recognised as a need for quite some time -
> see DHIS2-431. We have so far not managed to get this prioritised high
> enough, but I've had some preliminary discussions with Markus on how to do
> it
>
> Regards
> Calle
>
> On 30 January 2018 at 12:30, Knut Staring <knutst@xxxxxxxxx> wrote:
>
>> Hi Nada,
>>
>> Are you collecting the same data at two levels? Is it a type of survey
>> question regarding the organisational unit?
>>
>> Perhaps you could have two different data elements linked to different
>> data sets, which can then in turn be assigned at different levels?
>>
>> Knut
>>
>> On Mon, Jan 29, 2018 at 12:11 PM, Jason Pickering <
>> jason.p.pickering@xxxxxxxxx> wrote:
>>
>>> Hi Nada,
>>>
>>> This sounds like a "cascading drop down". This is not supported directly
>>> in DHIS2, so you will need to implement your own front-end solution for
>>> this.
>>>
>>> Regards,
>>> Jason
>>>
>>>
>>> On Sat, Jan 27, 2018 at 9:49 AM, Nada Ghosn <esumohleb@xxxxxxxxx> wrote:
>>>
>>>> Good morning,
>>>> Reference is made to tacker/event capture
>>>> Is it possible to have one data element having different option sets
>>>> based on specific criteria?
>>>>
>>>> Example:
>>>> data element_province (text)
>>>> data element_district.
>>>> Based on the value of the data element_province, the data
>>>> element_district will show different option sets.
>>>>
>>>> Sincerely
>>>> NG
>>>>
>>>> --
>>>> Nada Ghosn, MD
>>>> Head, Epidemiology Surveillance Program (Esumoh)
>>>> Ministry of Public Health
>>>> Beirut, Museum square
>>>> Lebanon
>>>> Tel +961.1.614194 <+961%201%20614%20194>
>>>> Fax +961.1.610920 <+961%201%20610%20920>
>>>> Email esumohleb@xxxxxxxxx, esumoh@xxxxxxxxxxx
>>>> Website www.moph.gov.lb
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>> Jason P. Pickering
>>> email: jason.p.pickering@xxxxxxxxx
>>> tel:+46764147049 <+46%2076%20414%2070%2049>
>>>
>>> _______________________________________________
>>> 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
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
>
> *******************************************
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
> <https://maps.google.com/?q=46D+Alma+Road,+7700+Rosebank,+SOUTH+AFRICA&entry=gmail&source=g>
>
> 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.hedberg@xxxxxxxxx
>
> Skype: calle_hedberg
>
> *******************************************
>
>
--
Nada Ghosn, MD
Head, Epidemiology Surveillance Program (Esumoh)
Ministry of Public Health
Beirut, Museum square
Lebanon
Tel +961.1.614194
Fax +961.1.610920
Email esumohleb@xxxxxxxxx, esumoh@xxxxxxxxxxx
Website www.moph.gov.lb
References