Uwe you are correct in your discovery regarding uniqueness. There is a bit of history to the problem which I can't go into all the details here. But I do agree that global uniqueness of catopt codes (and names) shouldn't be required across categories, but currently unfortunately you will have to work around it till we work up a better solution.
On 30 November 2015 at 11:04, Uwe Wahser <u...@wahser.de> wrote: > Dear all, > > > as far as I see CategoryOptions right now, codes and short names of > CategoryOptions must be defined globally unique. If I want to code > gender-male as “M”, I cannot code another “M” for approach-multilateral. In > the same way, numbered codes are also not possible for multiple categories, > unless I include a code for the Category into the Option-code. > > > I would have expected uniqueness within one category, which would allow for > short codes or names to be displayed in result tables and charts and would > have allowed me to import the original codes from our source-system without > additional mappings. > > > Is there any way for me to define CategoryOptions codes and short names > unique per Category, e.g. is there some hidden setting to allow that? > > > Grateful for ideas ... > > > Uwe > > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-users@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-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp