dhis2 / dhis2-android-datacapture

Data capture for DHIS 2
BSD 3-Clause "New" or "Revised" License
13 stars 23 forks source link

Option display name is sent to the server instead of code #12

Open sultanahamer opened 8 years ago

sultanahamer commented 8 years ago

We are facing issues with data elements having option sets. Lets take example of Gender being data element and male, female being the options in the option set as follows --male-- label: male code: m

--female-- label: female code: f

When data is entered in dhis instance and we want to see that data in android, we see the code of option(m) instead of the label(male).

When we are entering data, we see the drop down showing the labels male and female, we select one and when we try to sync data, all the other data elements sync up except for the data element with option set. And if we manually enter the code in the android app instead of label, it does sync.

stale[bot] commented 5 years ago

Hi! Due to a lack of activity on this issue over time (7.776*10^9 ms and counting, to be precise) it seems to be stale. If there is no further progress on it, it will be closed automatically.

If this is still relevant, maybe there is something you can do to move it forward? For example provide further information in a comment, or supply a PR? Any activity on this issue will keep it open. Thanks! 🤖