Error checking for patient_info page.