Hi all,
Is there a way to view names of category option combinations instead of UIDs of category option combination when I import data from data set using import/export App?
The example below is from child health dataset from DHIS 2 play
Thanks
Hi all,
Is there a way to view names of category option combinations instead of UIDs of category option combination when I import data from data set using import/export App?
The example below is from child health dataset from DHIS 2 play
Thanks
In general, you cannot rely on the name of the category option combo during import. Due to the way in which category combos are created it is totally possible that you will have two category option combinations with the same name but which belong to different category combinations, and have different UIDs. A good example might be age groups:
Coarse: <1, 1-15, 15+
Fine: <1. 1-5, 5-10, 10-15, etc.
In this case, the β<1β category option combination might have the same name, but it would have a different UID. This is why it is usually not a good idea to rely on the name for this dimension.
You can however change the export format to export the βcodeβ of the category option combination.
This is under ID scheme. Note that the βNameβ property is not there. Some implementations do create codes however for category option combos to make them more human readable, but they must also be unique (unlike the names) so it can get tricky and difficult to maintain.
Hope this helps to answer your question.
Best regards,
Jason
Hi @jason,
From your explanation, I now understand why the name property is not there when data import is concerned. One question: what is the difference between fine and coarse?
Thanks
hi @hernandezmachava ,
These were just some arbitrary category combos which I made up to illustrate the point. I just wanted to show that the β<1β category option combo could show up in more than one category combo (and thus, have a different UID).
Best regards,
Jason
Hi @jason,
Thanks for your support.