FormEntry Design
This page needs to be renamed/moved.
Numbers
We will ignore the "-" character
Require three typed numbers to give a result list
Given legacy medical record numbers, there are a few potential types of needed behaviors given the way they might be typed in:
Fully Specified
(eg, 123MT-0):* | (1) | (2) | (3) |
*Old Num with check |
(eg, 999-3):* | (4) | (2) | (3) |
*Old Num w/o check |
(eg, PED00001A):* | (3) | (3) | (3) |
*new numbers, with check digits (eg: 123MT-0)
(1) fully specified number, correct check digit: this is the best case scenario, and the circumstance we want to "train" the data entry folks to work towards, so it needs to reward them with less keypresses and choices. Therefore, after typing in the full number, and hitting enter, they get advanced to the face sheet / form selection screen.
(2) fully specified number, incorrect check digit: leave the value in the field, highlighted so that a keypress allows for type-over, create a dialog that notes that it's an incorrect check digit, but do not give them the correct digit. Merely say something like: "Invalid check digit for medical record number, please try again.."
(3) fully specified number, incorrect entry: leave the value in the field, not highlighted so that continued entry allows more typing (this might be confusing?). Create a dialog that notes there are no direct matches, show list if one exists, and ask user to choose from list.
(4) fully specified old number, correct check digit: show all results down in result list below, even if it's a single result, and force them to either the result row number, or highlight it with a mouse. Additionally send a reminder alert which notes the need to ensure that they're selecting the correct MRN, given that it's an old, yet valid number.
(2) fully specified old number, incorrect check digit: same behavior as above
(3) fully specified or incomplete old number, incorrect check digit: same behavior as above