Virtual patient design in undergraduate education