Re: [Dhis2-users] Web API data element category combination option IDs

2012-07-02 Thread Sam Kasozi
Hi Lars, that is spot on, it answers my question. Thanks, On 7/2/12, Lars Helge Øverland wrote: > Hi Sam, > > okay.. What you see is actually correct. The idea is that category > option combos are common and re-used across data elements. So having > the same category option combo identifier for

Re: [Dhis2-users] Web API data element category combination option IDs

2012-07-02 Thread Lars Helge Øverland
Hi Sam, okay.. What you see is actually correct. The idea is that category option combos are common and re-used across data elements. So having the same category option combo identifier for various data elements is intentional. To uniquely identify a data value in a DXF data value set you have to

Re: [Dhis2-users] Web API data element category combination option IDs

2012-07-02 Thread Sam Kasozi
Hi Lars, I think i would need to get this more clearly. If i take a scenario from one of the datasets in the Ug DHIS2 - HMIS 105:2 and we specifically look at the Tetanus Immunization section (2.9) It has a data element category "TT Vaccine (for Preg Women, non-Preg women & Immun in Sch)"; which

Re: [Dhis2-users] Web API data element category combination option IDs

2012-06-29 Thread Lars Helge Øverland
Hi Sam, you can navigate to the categoryOptionCombinations resource from the /api starting point just as anything else. The URL for this on the demo site is this: http://apps.dhis2.org/demo/api/categoryOptionCombos Then click on each item to see the id. best regards, Lars On Wed, Jun 27, 2012

[Dhis2-users] Web API data element category combination option IDs

2012-06-27 Thread Sam Kasozi
Hi Lars, >From the Web API class, the example we did for importing data into the DHIS2 comprised of a data element with a single category combination option (Number). However, I have been looking at importing data for data elements with several category-combination options, i.e Cholera (0-4 years,