← Back to team overview

dhis2-users team mailing list archive

Re: Option, option set and dataelement

 

Thank you Lars.

Lise.

From: Lars Helge Øverland [mailto:lars@xxxxxxxxx]
Sent: 23 May 2016 13:36
To: GROUT, Lise
Cc: Prosper BT; dhis2-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Dhis2-users] Option, option set and dataelement

Hi Lise,

at the moment you must create a new "Unknown" option. You can give it the same name and code though as the other Unknowns. The uid will be different.

It is debatable whether this is the right way. We are considering whether to change the design to allow for re-use of options.

regards,

Lars


On Sun, May 22, 2016 at 6:50 PM, GROUT, Lise <groutl@xxxxxxx<mailto:groutl@xxxxxxx>> wrote:
Dear Markus and Prosper,

Thank you for your help!

So if I understand correctly, I have to create different options (with different UID and codes) but I can reuse the same option name?

Thank you!

Lise.

From: Prosper BT [mailto:ptb3000@xxxxxxxxx<mailto:ptb3000@xxxxxxxxx>]
Sent: 22 May 2016 18:11
To: GROUT, Lise; dhis2-users@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Dhis2-users] Option, option set and dataelement

Dear Lise

We don't have uniqueness in options across different option sets. So it's possible to use same options names in different options sets.

Regards
 22, 2016, 6:51 PM GROUT, Lise <groutl@xxxxxxx<mailto:groutl@xxxxxxx>> wrote:
Dear all,

Sorry for this basic question but I prefer to ask for confirmation.

Can we use the same option in different option sets (for example positive/negative in different option Sets) and the same option sets in different dataelements (for example the option sets results for different tests)?

Thanks!

Lise.

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx<mailto: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<mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp



--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@xxxxxxxxx<mailto:lars@xxxxxxxxx>
http://www.dhis2.org<https://www.dhis2.org/>


References