adding categoryoption

The folk in Zanzibar have an interesting problem with linking with iHRIS. iHRIS has data on staffing usually disaggregated by Male/Female but occasionally not. So they need an extra code Male, Female and Unknown.

Now the Zanzibar database has a Sex category with Male and Female defined. But adding a new categoryoption seems difficult. After all there are many categorycombos using Sex as an axis. And catoptcombos would need to be regenerated etc. Is there any sensible way to do this?

The alternative is to make a brand new category, say Gender, and fill this with the three options though that is far from ideal. For one thing we could not reuse the Male/Female codes so would have to use MALE/FEMALE or what have you.

Any thoughts?

Regards
Bob

Hi,

we will implement support for this in 2.4. We don’t support it at the moment but there is nothing wrong with adding a category option to an existing category and generating additional category option combos (besides being slightly complex to implement:)

Lars

···

On Mon, Jun 6, 2011 at 6:11 PM, Bob Jolliffe bobjolliffe@gmail.com wrote:

The folk in Zanzibar have an interesting problem with linking with iHRIS. iHRIS has data on staffing usually disaggregated by Male/Female but occasionally not. So they need an extra code Male, Female and Unknown.

Now the Zanzibar database has a Sex category with Male and Female defined. But adding a new categoryoption seems difficult. After all there are many categorycombos using Sex as an axis. And catoptcombos would need to be regenerated etc. Is there any sensible way to do this?

The alternative is to make a brand new category, say Gender, and fill this with the three options though that is far from ideal. For one thing we could not reuse the Male/Female codes so would have to use MALE/FEMALE or what have you.

Any thoughts?

Regards
Bob


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