i think this is a bug, first i entered the order numbers 1,2,3,4,5 then tried with 111,22,33,44,55 etc, but it is sorting the list not as it should.
How to fix it pl.
regards
How to fix it pl.
regards
looks like the field values are being treated as ascii rather than numeric? In any case they should be displayed in the order according to the ‘order’ column in the list definition. The fragment of the eho_rvid list that you have shown does not contain the numbers being displayed in the RVID field? - do you have the way the Echo form has been defined? (I’m clutching at straws here!)
Hi Ruth,
its sorting all the 1’s first be it 1 or 11 ot 1113, and then the 2*** , i am at a loss here why its not sorting plain as per the numbers 1,2,3,4
you probably know this but: numbers can be represented internally in two different ways - either as binary numbers, in which case they would sort in numerical order - or they can be represented as printable (displayable) characters, aka ascii, in which case they sort in alphabetical order, which is what you are seeing. However the list configuration can overirde this ascii order by using the ‘Order’ field.
so the big question is why is this happening!! - can you possibly send your complete echo_rvid list definition - i did a little test on my system - i made an echo_rvid list, and used them in a demographics field, and the numbers were being displayed in the ‘Order’ number - e.g. in the image you sent it would display 5,6,7,8,9,10,11 etc. i.e. working as required.
so, first thing is to check the list is correctly configured on your system.
the next is to double check the echo form item RVID is using that list
is it possible to send the form ?
and if these two things are correct, and i can reproduce what you are seeing on my system, then i can look at debugging/reporting a bug… btw which version of OpenEMR are you using?