Added SQL injection prevention to patientvalidation.