CategoryOptionCombos not Updating?

Hello DHIS2 Devs,

I’m using DHIS2 2.14, Tomcat 7.0.42, Postgresql 9.3.4-4, Windows Host

I’m trying to adjust a few of my Categories in my development environment and it doesn’t seem to be taking. The way I understand Categories is using the following graphic:

image

So, in our instance of DHIS2:

I had 3 age groups entered in the Category options which I’ve been using without problem for a while now:

  • 0-1 Month
  • 1-12 Months
  • 1-5 Years

These are added to a Category with a name comprising the three options. A category combination of similar name is created, and the category added to it. Then a data element assigns it. This process has worked in the past, so I am just wondering if I’ve forgotten something now that I want to change it:

How would I add two new age groups? (forgive the strange age groups, and that they overlap in a weird way)

  • 0-6 Months
  • 7-12 Months

Trying myself, I created two new Category Options:

image

I added them to the existing Category for “0-1 month / 1-12 months / 1-5 years” and changed its name:

image

This Category is assigned to a “Category Combination” of the same name:

image

If I understand it, and did it correctly, the Category Combination should not need to change anyway.

The data element then is assigns to the proper Category Combination:

image

^^This also did not change, the name updated automatically.

When I go to the dataset editor and try and insert the 2 new age groups, they just won’t appear:

image

If I look it up in the API, it also does not reflect the change:

image

I’ve tried the following to no avail:

  1. Rebooting the Server
  2. Clearing the Cache on the Server
  3. Using a different web browser
    Any ideas?

Timothy Harding
PeaceCorps Volunteer

Republic of Vanuatu

hardingt@gmail.com

+678 5955137

Hi Tim,
You need to update the category option combos. Have a look here

https://www.dhis2.org/doc/snapshot/en/user/html/ch22s03.html

which describes the process. (Last bullet point)

Best regards,

Jason

image

image

image

image

image

image

image

···

On Thu, Aug 21, 2014 at 5:35 AM, Timothy Harding hardingt@gmail.com wrote:

Hello DHIS2 Devs,

I’m using DHIS2 2.14, Tomcat 7.0.42, Postgresql 9.3.4-4, Windows Host

I’m trying to adjust a few of my Categories in my development environment and it doesn’t seem to be taking. The way I understand Categories is using the following graphic:

So, in our instance of DHIS2:

I had 3 age groups entered in the Category options which I’ve been using without problem for a while now:

  • 0-1 Month
  • 1-12 Months
  • 1-5 Years

These are added to a Category with a name comprising the three options. A category combination of similar name is created, and the category added to it. Then a data element assigns it. This process has worked in the past, so I am just wondering if I’ve forgotten something now that I want to change it:

How would I add two new age groups? (forgive the strange age groups, and that they overlap in a weird way)

  • 0-6 Months
  • 7-12 Months

Trying myself, I created two new Category Options:

I added them to the existing Category for “0-1 month / 1-12 months / 1-5 years” and changed its name:

This Category is assigned to a “Category Combination” of the same name:

If I understand it, and did it correctly, the Category Combination should not need to change anyway.

The data element then is assigns to the proper Category Combination:

^^This also did not change, the name updated automatically.

When I go to the dataset editor and try and insert the 2 new age groups, they just won’t appear:

If I look it up in the API, it also does not reflect the change:

I’ve tried the following to no avail:

  1. Rebooting the Server
  2. Clearing the Cache on the Server
  3. Using a different web browser
    Any ideas?

Timothy Harding
PeaceCorps Volunteer

Republic of Vanuatu

hardingt@gmail.com

+678 5955137


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

Thanks Jason! (and DHIS2 dev community),

Wrote out that long graphic email and it was just a few clicks away the whole time. I guess that is the way of things. Happy it works now!

image

image

image

image

image

image

image

image

···

Timothy Harding
PeaceCorps Volunteer

Republic of Vanuatu

hardingt@gmail.com

+678 5955137

On Thu, Aug 21, 2014 at 2:40 PM, Jason Pickering jason.p.pickering@gmail.com wrote:

Hi Tim,
You need to update the category option combos. Have a look here

https://www.dhis2.org/doc/snapshot/en/user/html/ch22s03.html

which describes the process. (Last bullet point)

Best regards,

Jason

On Thu, Aug 21, 2014 at 5:35 AM, Timothy Harding hardingt@gmail.com wrote:

Hello DHIS2 Devs,

I’m using DHIS2 2.14, Tomcat 7.0.42, Postgresql 9.3.4-4, Windows Host

I’m trying to adjust a few of my Categories in my development environment and it doesn’t seem to be taking. The way I understand Categories is using the following graphic:

So, in our instance of DHIS2:

I had 3 age groups entered in the Category options which I’ve been using without problem for a while now:

  • 0-1 Month
  • 1-12 Months
  • 1-5 Years

These are added to a Category with a name comprising the three options. A category combination of similar name is created, and the category added to it. Then a data element assigns it. This process has worked in the past, so I am just wondering if I’ve forgotten something now that I want to change it:

How would I add two new age groups? (forgive the strange age groups, and that they overlap in a weird way)

  • 0-6 Months
  • 7-12 Months

Trying myself, I created two new Category Options:

I added them to the existing Category for “0-1 month / 1-12 months / 1-5 years” and changed its name:

This Category is assigned to a “Category Combination” of the same name:

If I understand it, and did it correctly, the Category Combination should not need to change anyway.

The data element then is assigns to the proper Category Combination:

^^This also did not change, the name updated automatically.

When I go to the dataset editor and try and insert the 2 new age groups, they just won’t appear:

If I look it up in the API, it also does not reflect the change:

I’ve tried the following to no avail:

  1. Rebooting the Server
  2. Clearing the Cache on the Server
  3. Using a different web browser
    Any ideas?

Timothy Harding
PeaceCorps Volunteer

Republic of Vanuatu

hardingt@gmail.com

+678 5955137


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

Good you got it to work.

However, in general, you would not want to design the category option combos this way, unless under very specific circumstances, at least in my opinion.

There is a bit of a limitation (perhaps design?) with the COCs, in that they will always be added up to get the totals. It looks like in your case, you have the same data element, which is (or has) been dis-aggregated different at different points in time. This is a fairly common situation, but DHIS2 does not always handle it so elegantly. The group (Zero-1 month) and (0-6 months) actually intersect. If you are recording these at the same point in time for the same orgunit, the total will thus be to some extent duplicated. If you are recording these at different points in time for the same orgunit, then it should be OK. However, there is nothing in the design of the COCs that restrict this, so you must be careful.

Best regards,

Jason

image

image

image

image

image

image

image

image

···

On Thu, Aug 21, 2014 at 5:45 AM, Timothy Harding hardingt@gmail.com wrote:

Thanks Jason! (and DHIS2 dev community),

Wrote out that long graphic email and it was just a few clicks away the whole time. I guess that is the way of things. Happy it works now!

Timothy Harding
PeaceCorps Volunteer

Republic of Vanuatu

hardingt@gmail.com

+678 5955137

On Thu, Aug 21, 2014 at 2:40 PM, Jason Pickering jason.p.pickering@gmail.com wrote:

Hi Tim,
You need to update the category option combos. Have a look here

https://www.dhis2.org/doc/snapshot/en/user/html/ch22s03.html

which describes the process. (Last bullet point)

Best regards,

Jason

On Thu, Aug 21, 2014 at 5:35 AM, Timothy Harding hardingt@gmail.com wrote:

Hello DHIS2 Devs,

I’m using DHIS2 2.14, Tomcat 7.0.42, Postgresql 9.3.4-4, Windows Host

I’m trying to adjust a few of my Categories in my development environment and it doesn’t seem to be taking. The way I understand Categories is using the following graphic:

So, in our instance of DHIS2:

I had 3 age groups entered in the Category options which I’ve been using without problem for a while now:

  • 0-1 Month
  • 1-12 Months
  • 1-5 Years

These are added to a Category with a name comprising the three options. A category combination of similar name is created, and the category added to it. Then a data element assigns it. This process has worked in the past, so I am just wondering if I’ve forgotten something now that I want to change it:

How would I add two new age groups? (forgive the strange age groups, and that they overlap in a weird way)

  • 0-6 Months
  • 7-12 Months

Trying myself, I created two new Category Options:

I added them to the existing Category for “0-1 month / 1-12 months / 1-5 years” and changed its name:

This Category is assigned to a “Category Combination” of the same name:

If I understand it, and did it correctly, the Category Combination should not need to change anyway.

The data element then is assigns to the proper Category Combination:

^^This also did not change, the name updated automatically.

When I go to the dataset editor and try and insert the 2 new age groups, they just won’t appear:

If I look it up in the API, it also does not reflect the change:

I’ve tried the following to no avail:

  1. Rebooting the Server
  2. Clearing the Cache on the Server
  3. Using a different web browser
    Any ideas?

Timothy Harding
PeaceCorps Volunteer

Republic of Vanuatu

hardingt@gmail.com

+678 5955137


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