I'm trying to build a form for patients who have multiple diagnoses. There are up to seven diagnoses and they need to be ordered from 1 to however many there are. Numbers must not be repeated or missed out; so it's 1; 1,2,3; 1,2,3,4,5; however many.
I'm trying to think of the best way to design the form.
I have tried seven combo boxes called DIAG_ONE, DIAG_TWO all of which have the seven diagnosis as options. But I then need to add code to control the selection of the content in each of these boxes, depending on what is previously selected - this is really complex, and seems too much.
I also tried creating boxes for each of the conditions; DIAG_DEPRESSION, DIAG_DEMENTIA, etc, and populating them with list values 1, 2, 3, 4 etc. But I need to manage the content in the same way; again really complex.
I'm sure there must be a simple way of doing this but I can't see it right now. Can anyone advise?
I'm trying to think of the best way to design the form.
I have tried seven combo boxes called DIAG_ONE, DIAG_TWO all of which have the seven diagnosis as options. But I then need to add code to control the selection of the content in each of these boxes, depending on what is previously selected - this is really complex, and seems too much.

I also tried creating boxes for each of the conditions; DIAG_DEPRESSION, DIAG_DEMENTIA, etc, and populating them with list values 1, 2, 3, 4 etc. But I need to manage the content in the same way; again really complex.
I'm sure there must be a simple way of doing this but I can't see it right now. Can anyone advise?