dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #35891
Re: Editing the code in the option sets
Following with this thread...
I have tested changing the name of the option sets....
We had the following option '4A03 - Meidy Mazariegos' in the 2.16, when we
upgrade to the 2.17 the name and the code of the option were filled both
with the same text '4A03 - Meidy Mazariegos'. However, we realized that
there were some mistakes in the data entry, so we need to change the text
of the option. As it is not possible to change the code right now, we had
to change just the name value (as showed in the next figure). So first
question, is it going to be possible to edit the code in the coming future?
[image: Inline image 1]
The next figure represents a data entry screen capture.... (please note
that in fact the value of the option appears updated)
[image: Inline image 3]
However, after running the analytics, in the event reports we are getting:
[image: Inline image 4]
So it is taking the code not the text. However, doesn't it make more sense
showing the text instead? (or least let the user choose?)
Any thoughts on this? This is quite urgent for us as we have many cases in
which we have to change the text of different options. Right now it seems
it is not possible to show those changes in the reports.
Many thanks
Jose
On Thu, Feb 19, 2015 at 1:06 PM, Jose Garcia Muñoz <josemp10@xxxxxxxxx>
wrote:
>
> Hi guys,
>
> When update the DHIS2 version to 2.17, the new 'code' field in optionsets
> is filled with the value of the name. However, we find out that sometimes
> the name was wrong introduced by the users, so we would need to change it.
> Right now we can not change the code for optionsets, do you have in mind to
> allow that? (we can certainly change the name, but it is going to be quite
> confused to have the code not synchronized with the name)
>
> In the event reports, the results are being filtered by its name (no with
> the code), right?
>
> Thank you
> Jose
>
Follow ups
References