It looks like it is referring to the wrong field name... it has:
ValidatedField("questionnaire2_147","Has_there_been_any_previous_visual_care_yes")
but that should match the radio field name and be:
ValidatedField("questionnaire2_147","Has_there_been_any_previous_visual_care")